+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GeomGraph</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GeomGraph</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>SetStudyID__theStudyID</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theX1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theY1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theZ1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theX2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theY2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theZ2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDZ</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__theX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__theY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__theZ</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__theRadius</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>MakeFuse_1__return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>29/10/2004 - 10:52:34</creation-date>
- <lastmodification-date>6/6/2005 - 10:39:55</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>SetStudyID</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SetStudyID</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>theStudyID</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 10:39:55</creation-date>
- <lastmodification-date>6/6/2005 - 10:39:55</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>SetStudyID from GEOM_Superv</comment>
- <x-position>14</x-position>
- <y-position>241</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeBox</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeBox</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theX1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theY1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theZ1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theX2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theY2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theZ2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 10:39:55</creation-date>
- <lastmodification-date>6/6/2005 - 10:39:55</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeBox from GEOM_Superv</comment>
- <x-position>198</x-position>
- <y-position>46</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeCopy</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeCopy</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theOriginal</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 10:39:55</creation-date>
- <lastmodification-date>6/6/2005 - 10:39:55</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeCopy from GEOM_Superv</comment>
- <x-position>383</x-position>
- <y-position>46</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>TranslateDXDYDZ</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>TranslateDXDYDZ</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theObject</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theDX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theDY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theDZ</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 10:39:55</creation-date>
- <lastmodification-date>6/6/2005 - 10:39:55</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>TranslateDXDYDZ from GEOM_Superv</comment>
- <x-position>579</x-position>
- <y-position>46</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeCopy_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeCopy</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theOriginal</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 10:39:55</creation-date>
- <lastmodification-date>6/6/2005 - 10:39:55</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeCopy from GEOM_Superv</comment>
- <x-position>384</x-position>
- <y-position>168</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeSphere_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeSphere</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theZ</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theRadius</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 10:39:55</creation-date>
- <lastmodification-date>6/6/2005 - 10:39:55</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeSphere from GEOM_Superv</comment>
- <x-position>201</x-position>
- <y-position>332</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeFuse</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeFuse</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 10:39:55</creation-date>
- <lastmodification-date>6/6/2005 - 10:39:55</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeFuse from GEOM_Superv</comment>
- <x-position>790</x-position>
- <y-position>148</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeFuse_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeFuse</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 10:39:55</creation-date>
- <lastmodification-date>6/6/2005 - 10:39:55</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeFuse from GEOM_Superv</comment>
- <x-position>993</x-position>
- <y-position>312</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>SetStudyID</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SetStudyID</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeBox</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeCopy</tonode-name>
- <toserviceparameter-name>theOriginal</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeBox</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>theOriginal</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeCopy</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theObject</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>TranslateDXDYDZ</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>theShape2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeFuse</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>theShape1</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>SetStudyID__theStudyID</fromserviceparameter-name>
- <tonode-name>SetStudyID</tonode-name>
- <toserviceparameter-name>theStudyID</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeBox__theX1</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theX1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeBox__theY1</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theY1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeBox__theZ1</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theZ1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeBox__theX2</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theX2</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>50</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeBox__theY2</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theY2</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>50</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeBox__theZ2</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theZ2</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>50</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDX</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDX</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDY</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDY</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDZ</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDZ</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__theX</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>theX</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__theY</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>theY</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__theZ</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>theZ</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__theRadius</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>theRadius</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>12</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GeomGraph</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GeomGraph</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>SetStudyID__theStudyID</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theX1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theY1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theZ1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theX2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theY2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theZ2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDZ</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__theX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__theY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__theZ</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__theRadius</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>MakeFuse_1__return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>29/10/2004 - 10:52:34</creation-date>
- <lastmodification-date>14/12/2005 - 14:40:22</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>SetStudyID</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>SetStudyID</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>theStudyID</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list/>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/12/2005 - 14:39:18</creation-date>
- <lastmodification-date>14/12/2005 - 14:39:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>SetStudyID from GEOM_Superv</comment>
- <x-position>14</x-position>
- <y-position>241</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeBox</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeBox</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theX1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theY1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theZ1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theX2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theY2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theZ2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/12/2005 - 14:39:18</creation-date>
- <lastmodification-date>14/12/2005 - 14:39:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeBox from GEOM_Superv</comment>
- <x-position>198</x-position>
- <y-position>46</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeCopy</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeCopy</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theOriginal</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/12/2005 - 14:39:18</creation-date>
- <lastmodification-date>14/12/2005 - 14:39:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeCopy from GEOM_Superv</comment>
- <x-position>383</x-position>
- <y-position>46</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>TranslateDXDYDZ</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>TranslateDXDYDZ</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theObject</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theDX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theDY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theDZ</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/12/2005 - 14:39:18</creation-date>
- <lastmodification-date>14/12/2005 - 14:39:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>TranslateDXDYDZ from GEOM_Superv</comment>
- <x-position>579</x-position>
- <y-position>46</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeCopy_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeCopy</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theOriginal</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/12/2005 - 14:39:18</creation-date>
- <lastmodification-date>14/12/2005 - 14:39:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeCopy from GEOM_Superv</comment>
- <x-position>384</x-position>
- <y-position>168</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeSphere_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeSphere</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theZ</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theRadius</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/12/2005 - 14:39:18</creation-date>
- <lastmodification-date>14/12/2005 - 14:39:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeSphere from GEOM_Superv</comment>
- <x-position>604</x-position>
- <y-position>348</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeFuse</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeFuse</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/12/2005 - 14:39:18</creation-date>
- <lastmodification-date>14/12/2005 - 14:39:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeFuse from GEOM_Superv</comment>
- <x-position>790</x-position>
- <y-position>148</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeFuse_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeFuse</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/12/2005 - 14:39:18</creation-date>
- <lastmodification-date>14/12/2005 - 14:39:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeFuse from GEOM_Superv</comment>
- <x-position>993</x-position>
- <y-position>312</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>SetStudyID</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeBox</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeCopy</tonode-name>
- <toserviceparameter-name>theOriginal</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeBox</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>theOriginal</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeBox</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeCopy</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theObject</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>363</x>
- <y>263</y>
- </coord>
- <coord>
- <x>564</x>
- <y>141</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>TranslateDXDYDZ</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>TranslateDXDYDZ</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape2</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>572</x>
- <y>503</y>
- </coord>
- <coord>
- <x>572</x>
- <y>263</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>theShape2</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeFuse</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>theShape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeFuse</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>SetStudyID__theStudyID</fromserviceparameter-name>
- <tonode-name>SetStudyID</tonode-name>
- <toserviceparameter-name>theStudyID</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>1</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeBox__theX1</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theX1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeBox__theY1</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theY1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeBox__theZ1</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theZ1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeBox__theX2</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theX2</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>50</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeBox__theY2</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theY2</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>50</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeBox__theZ2</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theZ2</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>50</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDX</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDX</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>10</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDY</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDY</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>10</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDZ</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDZ</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>10</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__theX</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>theX</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__theY</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>theY</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__theZ</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>theZ</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GeomGraph</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__theRadius</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>theRadius</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>12</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__z1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__x2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__y2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__z2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__z1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__radius</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__z1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>MakeFuse_2__shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/8/2004 - 16:28:50</creation-date>
- <lastmodification-date>14/12/2005 - 14:41:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>gag</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>gag</service-name>
- <inParameter-list/>
- <outParameter-list/>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>gag</FuncName>
- <PyFunc><![CDATA[from batchmode_geompy import * ]]></PyFunc>
- <PyFunc><![CDATA[def gag(): ]]></PyFunc>
- <PyFunc><![CDATA[ # This is a gag ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:41:8</creation-date>
- <lastmodification-date>14/12/2005 - 14:41:8</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>0</x-position>
- <y-position>123</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeBox1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeBox1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>z2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeBox1</FuncName>
- <PyFunc><![CDATA[def MakeBox1(x1,y1,z1,x2,y2,z2): ]]></PyFunc>
- <PyFunc><![CDATA[ aBox = MakeBox(x1,y1,z1,x2,y2,z2) ]]></PyFunc>
- <PyFunc><![CDATA[ return aBox ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:41:8</creation-date>
- <lastmodification-date>14/12/2005 - 14:41:8</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>3</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeCopy_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeCopy_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeCopy_1</FuncName>
- <PyFunc><![CDATA[def MakeCopy_1(shape1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeCopy(shape1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:41:8</creation-date>
- <lastmodification-date>14/12/2005 - 14:41:8</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>389</x-position>
- <y-position>3</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeCopy_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeCopy_2</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeCopy_2</FuncName>
- <PyFunc><![CDATA[def MakeCopy_2(shape1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeCopy(shape1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:41:8</creation-date>
- <lastmodification-date>14/12/2005 - 14:41:8</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>389</x-position>
- <y-position>136</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeSphere_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeSphere_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>radius</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeSphere_1</FuncName>
- <PyFunc><![CDATA[def MakeSphere_1(x1,y1,z1,radius): ]]></PyFunc>
- <PyFunc><![CDATA[ apoint=MakeVertex(x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeSpherePntR(apoint,radius) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:41:8</creation-date>
- <lastmodification-date>14/12/2005 - 14:41:8</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>609</x-position>
- <y-position>313</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeTranslation_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeTranslation_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeTranslation_1</FuncName>
- <PyFunc><![CDATA[def MakeTranslation_1(shape1,x1,y1,z1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeTranslation(shape1,x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:41:8</creation-date>
- <lastmodification-date>14/12/2005 - 14:41:8</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>596</x-position>
- <y-position>3</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeFuse_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeFuse_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeFuse_1</FuncName>
- <PyFunc><![CDATA[def MakeFuse_1(shape1,shape2): ]]></PyFunc>
- <PyFunc><![CDATA[ # fuse operation 3 ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeBoolean(shape1,shape2,3) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:41:8</creation-date>
- <lastmodification-date>14/12/2005 - 14:41:8</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>823</x-position>
- <y-position>116</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeFuse_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeFuse_2</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeFuse_2</FuncName>
- <PyFunc><![CDATA[def MakeFuse_2(shape1,shape2): ]]></PyFunc>
- <PyFunc><![CDATA[ # fuse operation 3 ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeBoolean(shape1,shape2,3) ]]></PyFunc>
- <PyFunc><![CDATA[ from SALOME_NamingServicePy import SALOME_NamingServicePy_i ]]></PyFunc>
- <PyFunc><![CDATA[ myNamingService = SALOME_NamingServicePy_i(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ aSession = myNamingService.Resolve('/Kernel/Session') ]]></PyFunc>
- <PyFunc><![CDATA[ aStudyId = aSession.GetActiveStudyId() ]]></PyFunc>
- <PyFunc><![CDATA[ myStudyManager = myNamingService.Resolve('/myStudyManager') ]]></PyFunc>
- <PyFunc><![CDATA[ aStudy = myStudyManager.GetStudyByID(aStudyId) ]]></PyFunc>
- <PyFunc><![CDATA[ aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:41:8</creation-date>
- <lastmodification-date>14/12/2005 - 14:41:8</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1049</x-position>
- <y-position>295</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>gag</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeBox1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeBox1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeCopy_2</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>384</x>
- <y>207</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeBox1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeCopy_2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>366</x>
- <y>231</y>
- </coord>
- <coord>
- <x>570</x>
- <y>98</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeCopy_2</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape2</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>674</x>
- <y>207</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeCopy_2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>554</x>
- <y>468</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_2</tonode-name>
- <toserviceparameter-name>shape2</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>573</x>
- <y>158</y>
- </coord>
- <coord>
- <x>796</x>
- <y>468</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeTranslation_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeTranslation_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeFuse_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_2</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>1017</x>
- <y>366</y>
- </coord>
- <coord>
- <x>1017</x>
- <y>187</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeFuse_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeFuse_2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>987</x>
- <y>410</y>
- </coord>
- </coord-list>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__x1</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__y1</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__z1</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__x2</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>x2</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>50</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__y2</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>y2</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>50</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__z2</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>z2</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>50</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__x1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__y1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__z1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__radius</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>radius</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>12</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__x1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>25</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__y1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>25</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__z1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>25</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__z1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__x2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__y2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__z2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__z1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__radius</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__z1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>MakeFuse_2__shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/8/2004 - 16:28:50</creation-date>
- <lastmodification-date>29/10/2004 - 10:50:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>gag</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>gag</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>gag</FuncName>
- <PyFunc><![CDATA[from batchmode_geompy import * ]]></PyFunc>
- <PyFunc><![CDATA[def gag(): ]]></PyFunc>
- <PyFunc><![CDATA[ # This is a gag ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 10:50:25</creation-date>
- <lastmodification-date>29/10/2004 - 10:50:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>0</x-position>
- <y-position>123</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeBox1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeBox1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeBox1</FuncName>
- <PyFunc><![CDATA[def MakeBox1(x1,y1,z1,x2,y2,z2): ]]></PyFunc>
- <PyFunc><![CDATA[ aBox = MakeBox(x1,y1,z1,x2,y2,z2) ]]></PyFunc>
- <PyFunc><![CDATA[ return aBox ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 10:50:25</creation-date>
- <lastmodification-date>29/10/2004 - 10:50:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>3</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeCopy_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeCopy_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeCopy_1</FuncName>
- <PyFunc><![CDATA[def MakeCopy_1(shape1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeCopy(shape1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 10:50:25</creation-date>
- <lastmodification-date>29/10/2004 - 10:50:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>389</x-position>
- <y-position>3</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeCopy_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeCopy_2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeCopy_2</FuncName>
- <PyFunc><![CDATA[def MakeCopy_2(shape1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeCopy(shape1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 10:50:25</creation-date>
- <lastmodification-date>29/10/2004 - 10:50:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>389</x-position>
- <y-position>136</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeSphere_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeSphere_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>radius</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeSphere_1</FuncName>
- <PyFunc><![CDATA[def MakeSphere_1(x1,y1,z1,radius): ]]></PyFunc>
- <PyFunc><![CDATA[ apoint=MakeVertex(x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeSpherePntR(apoint,radius) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 10:50:25</creation-date>
- <lastmodification-date>29/10/2004 - 10:50:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>203</x-position>
- <y-position>315</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeTranslation_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeTranslation_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeTranslation_1</FuncName>
- <PyFunc><![CDATA[def MakeTranslation_1(shape1,x1,y1,z1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeTranslation(shape1,x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 10:50:25</creation-date>
- <lastmodification-date>29/10/2004 - 10:50:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>596</x-position>
- <y-position>3</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeFuse_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeFuse_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeFuse_1</FuncName>
- <PyFunc><![CDATA[def MakeFuse_1(shape1,shape2): ]]></PyFunc>
- <PyFunc><![CDATA[ # fuse operation 3 ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeBoolean(shape1,shape2,3) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 10:50:25</creation-date>
- <lastmodification-date>29/10/2004 - 10:50:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>823</x-position>
- <y-position>116</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeFuse_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeFuse_2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeFuse_2</FuncName>
- <PyFunc><![CDATA[def MakeFuse_2(shape1,shape2): ]]></PyFunc>
- <PyFunc><![CDATA[ # fuse operation 3 ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeBoolean(shape1,shape2,3) ]]></PyFunc>
- <PyFunc><![CDATA[ from SALOME_NamingServicePy import SALOME_NamingServicePy_i ]]></PyFunc>
- <PyFunc><![CDATA[ myNamingService = SALOME_NamingServicePy_i(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ aSession = myNamingService.Resolve('/Kernel/Session') ]]></PyFunc>
- <PyFunc><![CDATA[ if aSession == None : ]]></PyFunc>
- <PyFunc><![CDATA[ aStudyId = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ aStudyId = aSession.GetActiveStudyId() ]]></PyFunc>
- <PyFunc><![CDATA[ myStudyManager = myNamingService.Resolve('/myStudyManager') ]]></PyFunc>
- <PyFunc><![CDATA[ aStudy = myStudyManager.GetStudyByID(aStudyId) ]]></PyFunc>
- <PyFunc><![CDATA[ aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 10:50:25</creation-date>
- <lastmodification-date>29/10/2004 - 10:50:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1049</x-position>
- <y-position>295</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>gag</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>gag</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>164</x>
- <y>470</y> </coord>
- <coord>
-<x>164</x>
- <y>265</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>MakeBox1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeBox1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeCopy_2</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>384</x>
- <y>207</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeCopy_2</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape2</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>674</x>
- <y>207</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_2</tonode-name>
- <toserviceparameter-name>shape2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeTranslation_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeFuse_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_2</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1017</x>
- <y>366</y> </coord>
- <coord>
-<x>1017</x>
- <y>187</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__x1</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__y1</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__z1</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__x2</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>x2</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>50</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__y2</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>y2</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>50</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__z2</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>z2</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>50</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__x1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__y1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__z1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__radius</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>radius</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>12</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__x1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>25</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__y1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>25</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1_1_2_2_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__z1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>25</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphAdd</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>aNewDataFlow</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:2:26</creation-date>
- <lastmodification-date>28/9/2005 - 16:2:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Add</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:2:39</creation-date>
- <lastmodification-date>28/9/2005 - 16:2:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>55</x-position>
- <y-position>61</y-position>
- </node>
- </node-list>
- <link-list/>
- <data-list/>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphBadInputInLoop_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphBadInputInLoop_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Switch__Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>17/6/2005 - 15:31:43</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/6/2005 - 15:25:34</creation-date>
- <lastmodification-date>17/6/2005 - 15:25:34</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>1</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/6/2005 - 15:25:34</creation-date>
- <lastmodification-date>17/6/2005 - 15:25:34</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/6/2005 - 15:25:34</creation-date>
- <lastmodification-date>17/6/2005 - 15:25:34</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>767</x-position>
- <y-position>102</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InputInLoop</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>17/6/2005 - 15:25:34</creation-date>
- <lastmodification-date>17/6/2005 - 15:25:34</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/6/2005 - 15:25:34</creation-date>
- <lastmodification-date>17/6/2005 - 15:25:34</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>103</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>BadInputOfLoop</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BadInputOfLoop</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>InputInLoop</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>BadInputOfLoop</FuncName>
- <PyFunc><![CDATA[def BadInputOfLoop() : ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/6/2005 - 15:25:34</creation-date>
- <lastmodification-date>17/6/2005 - 15:25:34</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>15</x-position>
- <y-position>307</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>BadInputOfLoop</fromnode-name>
- <fromserviceparameter-name>InputInLoop</fromserviceparameter-name>
- <tonode-name>Switch</tonode-name>
- <toserviceparameter-name>InputInLoop</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphBadInputInLoop_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>GraphBadInputInLoop_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>GraphBadInputInLoop_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></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphBadInputInLoop1_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphBadInputInLoop1_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>17/6/2005 - 16:4:48</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/6/2005 - 16:4:37</creation-date>
- <lastmodification-date>17/6/2005 - 16:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>1</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/6/2005 - 16:4:37</creation-date>
- <lastmodification-date>17/6/2005 - 16:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/6/2005 - 16:4:37</creation-date>
- <lastmodification-date>17/6/2005 - 16:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>767</x-position>
- <y-position>102</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>17/6/2005 - 16:4:37</creation-date>
- <lastmodification-date>17/6/2005 - 16:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/6/2005 - 16:4:37</creation-date>
- <lastmodification-date>17/6/2005 - 16:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>103</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>BadInputOfLoop</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BadInputOfLoop</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>InputInLoop</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>BadInputOfLoop</FuncName>
- <PyFunc><![CDATA[def BadInputOfLoop() : ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/6/2005 - 16:4:37</creation-date>
- <lastmodification-date>17/6/2005 - 16:4:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>15</x-position>
- <y-position>307</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>EndSwitch</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/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>BadInputOfLoop</fromnode-name>
- <fromserviceparameter-name>InputInLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphBadInputInLoop1_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>GraphBadInputInLoop1_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>GraphBadInputInLoop1_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></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphBadInputInLoop2</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphBadInputInLoop2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>6/6/2005 - 11:9:55</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InputInLoop</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a,InputInLoop) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:9:7</creation-date>
- <lastmodification-date>6/6/2005 - 11:9:7</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>1</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:9:7</creation-date>
- <lastmodification-date>6/6/2005 - 11:9:7</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:9:7</creation-date>
- <lastmodification-date>6/6/2005 - 11:9:7</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>767</x-position>
- <y-position>102</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>6/6/2005 - 11:9:7</creation-date>
- <lastmodification-date>6/6/2005 - 11:9:7</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:9:7</creation-date>
- <lastmodification-date>6/6/2005 - 11:9:7</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>103</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>BadInputOfLoop</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BadInputOfLoop</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>InputInLoop</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>BadInputOfLoop</FuncName>
- <PyFunc><![CDATA[def BadInputOfLoop() : ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:9:7</creation-date>
- <lastmodification-date>6/6/2005 - 11:9:7</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>15</x-position>
- <y-position>307</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>EndSwitch</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/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>BadInputOfLoop</fromnode-name>
- <fromserviceparameter-name>InputInLoop</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>InputInLoop</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphBadInputInLoop2</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>GraphBadInputInLoop2</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>GraphBadInputInLoop2</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></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphBadInputInLoop3</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphBadInputInLoop3</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>IsOdd__InputInLoop</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>BadInputOfLoop__InputInLoop</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>6/6/2005 - 11:13:36</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InputInLoop</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a,InputInLoop) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:11:59</creation-date>
- <lastmodification-date>6/6/2005 - 11:11:59</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>1</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:11:59</creation-date>
- <lastmodification-date>6/6/2005 - 11:11:59</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:11:59</creation-date>
- <lastmodification-date>6/6/2005 - 11:11:59</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>767</x-position>
- <y-position>102</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>6/6/2005 - 11:11:59</creation-date>
- <lastmodification-date>6/6/2005 - 11:11:59</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:11:59</creation-date>
- <lastmodification-date>6/6/2005 - 11:11:59</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>103</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>BadInputOfLoop</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BadInputOfLoop</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>InputInLoop</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>BadInputOfLoop</FuncName>
- <PyFunc><![CDATA[def BadInputOfLoop() : ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:11:59</creation-date>
- <lastmodification-date>6/6/2005 - 11:11:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>359</x-position>
- <y-position>318</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>EndSwitch</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/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>BadInputOfLoop</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphBadInputInLoop3</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>GraphBadInputInLoop3</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>GraphBadInputInLoop3</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></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphBadOutputOfLoop</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphBadOutputOfLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>IsOdd__InputInLoop</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>6/6/2005 - 11:19: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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InputInLoop</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a,InputInLoop) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:18:37</creation-date>
- <lastmodification-date>6/6/2005 - 11:18:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>1</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:18:37</creation-date>
- <lastmodification-date>6/6/2005 - 11:18:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:18:37</creation-date>
- <lastmodification-date>6/6/2005 - 11:18:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>767</x-position>
- <y-position>102</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>6/6/2005 - 11:18:37</creation-date>
- <lastmodification-date>6/6/2005 - 11:18:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:18:37</creation-date>
- <lastmodification-date>6/6/2005 - 11:18:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>103</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>BadOutputOfLoop</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BadOutputOfLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>OutputOfLoop</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>BadOutputOfLoop</FuncName>
- <PyFunc><![CDATA[def BadOutputOfLoop() : ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:18:37</creation-date>
- <lastmodification-date>6/6/2005 - 11:18:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>768</x-position>
- <y-position>323</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>EndSwitch</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/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>BadOutputOfLoop</tonode-name>
- <toserviceparameter-name>OutputOfLoop</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphBadOutputOfLoop</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>GraphBadOutputOfLoop</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>GraphBadOutputOfLoop</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></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphBadOutputOfLoop1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphBadOutputOfLoop1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>6/6/2005 - 11:25:16</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:23:48</creation-date>
- <lastmodification-date>6/6/2005 - 11:23:48</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>1</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:23:48</creation-date>
- <lastmodification-date>6/6/2005 - 11:23:48</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:23:48</creation-date>
- <lastmodification-date>6/6/2005 - 11:23:48</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>767</x-position>
- <y-position>102</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>6/6/2005 - 11:23:48</creation-date>
- <lastmodification-date>6/6/2005 - 11:23:48</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:23:48</creation-date>
- <lastmodification-date>6/6/2005 - 11:23:48</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>103</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>BadOutputOfLoop</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BadOutputOfLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>OutputOfLoop</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>BadOutputOfLoop</FuncName>
- <PyFunc><![CDATA[def BadOutputOfLoop() : ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:23:48</creation-date>
- <lastmodification-date>6/6/2005 - 11:23:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>287</x-position>
- <y-position>349</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>BadOutputOfLoop</tonode-name>
- <toserviceparameter-name>OutputOfLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>EndSwitch</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/> </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>
-<data>
-<fromnode-name>GraphBadOutputOfLoop1</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>GraphBadOutputOfLoop1</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>GraphBadOutputOfLoop1</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></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphBadOutputOfLoop2</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphBadOutputOfLoop2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>6/6/2005 - 11:27:14</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:26:44</creation-date>
- <lastmodification-date>6/6/2005 - 11:26:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>1</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:26:44</creation-date>
- <lastmodification-date>6/6/2005 - 11:26:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:26:44</creation-date>
- <lastmodification-date>6/6/2005 - 11:26:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>767</x-position>
- <y-position>102</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>6/6/2005 - 11:26:44</creation-date>
- <lastmodification-date>6/6/2005 - 11:26:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:26:44</creation-date>
- <lastmodification-date>6/6/2005 - 11:26:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>103</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>BadOutputOfLoop</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BadOutputOfLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>OutputOfLoop</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>BadOutputOfLoop</FuncName>
- <PyFunc><![CDATA[def BadOutputOfLoop() : ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 11:26:44</creation-date>
- <lastmodification-date>6/6/2005 - 11:26:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>503</x-position>
- <y-position>338</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>BadOutputOfLoop</tonode-name>
- <toserviceparameter-name>OutputOfLoop</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/> </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>
-<data>
-<fromnode-name>GraphBadOutputOfLoop2</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>GraphBadOutputOfLoop2</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>GraphBadOutputOfLoop2</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></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphBugEditor</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphBugEditor</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>Loop__it</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>Loop__itMax</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>compute_power_1__nitermax</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>compute_power_1__epsflux</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>compute_power_1__espeigenval</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>EndLoop__it</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>EndLoop__itMax</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>compute_power_1__return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>10/6/2005 - 11:33:49</creation-date>
- <lastmodification-date>7/7/2005 - 11:39:27</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>Nicolas Crouzet & JR</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>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>it</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>itMax</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>it</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>itMax</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Loop</FuncName>
- <PyFunc><![CDATA[def Loop(it,itMax): ]]></PyFunc>
- <PyFunc><![CDATA[ return it,itMax ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(it,itMax): ]]></PyFunc>
- <PyFunc><![CDATA[ if it<=itMax : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop=1 ]]></PyFunc>
- <PyFunc><![CDATA[ else: ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop=0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,it,itMax ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(it,itMax): ]]></PyFunc>
- <PyFunc><![CDATA[ it+=1 ]]></PyFunc>
- <PyFunc><![CDATA[ return it,itMax ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>7/7/2005 - 11:37:23</creation-date>
- <lastmodification-date>7/7/2005 - 11:37:23</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>21</x-position>
- <y-position>161</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>it</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>itMax</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>it</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>itMax</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoop</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>7/7/2005 - 11:37:23</creation-date>
- <lastmodification-date>7/7/2005 - 11:37:23</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>426</x-position>
- <y-position>161</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>compute_power_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>compute_power_1</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>compute_power</FuncName>
- <PyFunc><![CDATA[def compute_power(nitermax,eosflux,espeigenval) : ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>7/7/2005 - 11:38:24</creation-date>
- <lastmodification-date>7/7/2005 - 11:38:24</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>226</x-position>
- <y-position>103</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>it</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>it</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>itMax</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>itMax</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>compute_power_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphBugEditor</fromnode-name>
- <fromserviceparameter-name>Loop__it</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>it</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphBugEditor</fromnode-name>
- <fromserviceparameter-name>Loop__itMax</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>itMax</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphContainer</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphContainer</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add\x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add\y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub\y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Mul\y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Div\z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AddAndCompare\FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AddAndCompare\z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 10:59:37</creation-date>
- <lastmodification-date>13/11/2003 - 14:33:24</lastmodification-date>
- <editor-release>1.04</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>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>13/11/2003 - 14:29:5</creation-date>
- <lastmodification-date>13/11/2003 - 14:29:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>SuperVisionContainer</container>
- <comment>Add from AddComponent</comment>
- <x-position>1</x-position>
- <y-position>152</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>13/11/2003 - 14:29:5</creation-date>
- <lastmodification-date>13/11/2003 - 14:29:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>412</x-position>
- <y-position>377</y-position> </node>
- <node>
-<component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>13/11/2003 - 14:29:5</creation-date>
- <lastmodification-date>13/11/2003 - 14:29:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>412</x-position>
- <y-position>152</y-position> </node>
- <node>
-<component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Div</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>13/11/2003 - 14:29:5</creation-date>
- <lastmodification-date>13/11/2003 - 14:29:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Div from DivComponent</comment>
- <x-position>622</x-position>
- <y-position>124</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>Adder</outParameter-type>
- <outParameter-name>Adder</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>13/11/2003 - 14:29:5</creation-date>
- <lastmodification-date>13/11/2003 - 14:29:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>SuperVisionContainer</container>
- <comment>Addition from AddComponent</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>Adder</outParameter-type>
- <outParameter-name>Adder</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>13/11/2003 - 14:29:5</creation-date>
- <lastmodification-date>13/11/2003 - 14:29:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>SuperVisionContainer</container>
- <comment>Addition from AddComponent</comment>
- <x-position>4</x-position>
- <y-position>327</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>AddAndCompare</node-name>
- <kind>2</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>AddAndCompare</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>Adder</inParameter-type>
- <inParameter-name>Adder</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>Adder</inParameter-type>
- <inParameter-name>anOtherAdder</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>13/11/2003 - 14:29:5</creation-date>
- <lastmodification-date>13/11/2003 - 14:29:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>233</x-position>
- <y-position>0</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>195</x>
- <y>108</y> </coord>
- <coord>
-<x>195</x>
- <y>233</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>187</x>
- <y>459</y> </coord>
- <coord>
-<x>186</x>
- <y>262</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>187</x>
- <y>139</y> </coord>
- <coord>
-<x>186</x>
- <y>261</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>598</x>
- <y>203</y> </coord>
- <coord>
-<x>598</x>
- <y>457</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Addition</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>Adder</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Addition_1</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>anOtherAdder</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>215</x>
- <y>168</y> </coord>
- <coord>
-<x>214</x>
- <y>407</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphContainer</fromnode-name>
- <fromserviceparameter-name>Add\x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphContainer</fromnode-name>
- <fromserviceparameter-name>Add\y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>2</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphContainer</fromnode-name>
- <fromserviceparameter-name>Sub\y</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphContainer</fromnode-name>
- <fromserviceparameter-name>Mul\y</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>4</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertBoolCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertStringCheck</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>11/9/2003 - 17:12:56</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of Bool</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>Bool</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>StringString</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Bool</FuncName>
- <PyFunc><![CDATA[def Bool() : ]]></PyFunc>
- <PyFunc><![CDATA[ aBool = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return aBool ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 17:10:57</creation-date>
- <lastmodification-date>11/9/2003 - 17:10:57</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 17:10:57</creation-date>
- <lastmodification-date>11/9/2003 - 17:10:57</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Bool</fromnode-name>
- <fromserviceparameter-name>OutBool</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Bool</fromnode-name>
- <fromserviceparameter-name>OutBool</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Bool</fromnode-name>
- <fromserviceparameter-name>OutBool</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Bool</fromnode-name>
- <fromserviceparameter-name>OutBool</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Bool</fromnode-name>
- <fromserviceparameter-name>OutBool</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Bool</fromnode-name>
- <fromserviceparameter-name>OutBool</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Bool</fromnode-name>
- <fromserviceparameter-name>OutBool</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Bool</fromnode-name>
- <fromserviceparameter-name>OutBool</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertBoolStringCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertBoolStringCheck</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>11/9/2003 - 16:51:13</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of String</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>BoolString</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>StringString</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>StringString</FuncName>
- <PyFunc><![CDATA[def StringString() : ]]></PyFunc>
- <PyFunc><![CDATA[ string = "1" ]]></PyFunc>
- <PyFunc><![CDATA[ return string ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 16:49:52</creation-date>
- <lastmodification-date>11/9/2003 - 16:49:52</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 16:49:52</creation-date>
- <lastmodification-date>11/9/2003 - 16:49:52</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>BoolString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>BoolString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>BoolString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>BoolString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>BoolString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>BoolString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>BoolString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>BoolString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertCharCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertCharCheck</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>11/9/2003 - 17:20:24</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of Char</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>Char</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Char</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Char</FuncName>
- <PyFunc><![CDATA[def Char() : ]]></PyFunc>
- <PyFunc><![CDATA[ aChar = 255 ]]></PyFunc>
- <PyFunc><![CDATA[ return aChar ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 17:20:24</creation-date>
- <lastmodification-date>11/9/2003 - 17:20:24</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 17:20:24</creation-date>
- <lastmodification-date>11/9/2003 - 17:20:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Char</fromnode-name>
- <fromserviceparameter-name>OutChar</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Char</fromnode-name>
- <fromserviceparameter-name>OutChar</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Char</fromnode-name>
- <fromserviceparameter-name>OutChar</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Char</fromnode-name>
- <fromserviceparameter-name>OutChar</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Char</fromnode-name>
- <fromserviceparameter-name>OutChar</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Char</fromnode-name>
- <fromserviceparameter-name>OutChar</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Char</fromnode-name>
- <fromserviceparameter-name>OutChar</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Char</fromnode-name>
- <fromserviceparameter-name>OutChar</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertCharStringCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertStringCheck</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>11/9/2003 - 16:52:50</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of String</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>CharString</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>StringString</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>StringString</FuncName>
- <PyFunc><![CDATA[def StringString() : ]]></PyFunc>
- <PyFunc><![CDATA[ string = "255" ]]></PyFunc>
- <PyFunc><![CDATA[ return string ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 16:52:29</creation-date>
- <lastmodification-date>11/9/2003 - 16:52:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 16:52:29</creation-date>
- <lastmodification-date>11/9/2003 - 16:52:29</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>CharString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>CharString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>CharString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>CharString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>CharString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>CharString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>CharString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>CharString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertDoubleCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertDoubleCheck</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes_1\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes_1\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes_1\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes_1\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes_1\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes_1\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes_1\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes_1\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>12/9/2003 - 17:49:39</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of Double</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>Double</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Double</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Double</FuncName>
- <PyFunc><![CDATA[def Double() : ]]></PyFunc>
- <PyFunc><![CDATA[ aDouble = 3.1415926535 ]]></PyFunc>
- <PyFunc><![CDATA[ print type(aDouble),"aDouble",aDouble,"NO double in python !!! Use Strings ?" ]]></PyFunc>
- <PyFunc><![CDATA[ return aDouble ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>12/9/2003 - 17:49:39</creation-date>
- <lastmodification-date>12/9/2003 - 17:49:39</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>9</x-position>
- <y-position>87</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>12/9/2003 - 17:49:39</creation-date>
- <lastmodification-date>12/9/2003 - 17:49:39</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>217</x-position>
- <y-position>0</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>DoubleString</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>DoubleString</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutDoubleString</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>DoubleString</FuncName>
- <PyFunc><![CDATA[def DoubleString() : ]]></PyFunc>
- <PyFunc><![CDATA[ aDouble = 3.1415926535 ]]></PyFunc>
- <PyFunc><![CDATA[ print type(aDouble),"aDouble",aDouble,"NO double in python !!! Use Strings ?" ]]></PyFunc>
- <PyFunc><![CDATA[ aDoubleString = str( aDouble ) ]]></PyFunc>
- <PyFunc><![CDATA[ print type(aDoubleString),"aDoubleString",aDoubleString ]]></PyFunc>
- <PyFunc><![CDATA[ return aDoubleString ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>12/9/2003 - 17:49:39</creation-date>
- <lastmodification-date>12/9/2003 - 17:49:39</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>217</x-position>
- <y-position>334</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>12/9/2003 - 17:49:39</creation-date>
- <lastmodification-date>12/9/2003 - 17:49:39</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>433</x-position>
- <y-position>131</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Double</fromnode-name>
- <fromserviceparameter-name>OutDouble</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Double</fromnode-name>
- <fromserviceparameter-name>OutDouble</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Double</fromnode-name>
- <fromserviceparameter-name>OutDouble</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Double</fromnode-name>
- <fromserviceparameter-name>OutDouble</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Double</fromnode-name>
- <fromserviceparameter-name>OutDouble</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Double</fromnode-name>
- <fromserviceparameter-name>OutDouble</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Double</fromnode-name>
- <fromserviceparameter-name>OutDouble</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Double</fromnode-name>
- <fromserviceparameter-name>OutDouble</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutDoubleString</fromserviceparameter-name>
- <tonode-name>MiscTypes_1</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutDoubleString</fromserviceparameter-name>
- <tonode-name>MiscTypes_1</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutDoubleString</fromserviceparameter-name>
- <tonode-name>MiscTypes_1</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutDoubleString</fromserviceparameter-name>
- <tonode-name>MiscTypes_1</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutDoubleString</fromserviceparameter-name>
- <tonode-name>MiscTypes_1</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutDoubleString</fromserviceparameter-name>
- <tonode-name>MiscTypes_1</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutDoubleString</fromserviceparameter-name>
- <tonode-name>MiscTypes_1</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutDoubleString</fromserviceparameter-name>
- <tonode-name>MiscTypes_1</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertDoubleStringCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertDoubleStringCheck</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>12/9/2003 - 15:10:45</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of String</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>DoubleString</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>StringString</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>DoubleString</FuncName>
- <PyFunc><![CDATA[def DoubleString() : ]]></PyFunc>
- <PyFunc><![CDATA[ string = "3.1415926535" ]]></PyFunc>
- <PyFunc><![CDATA[ return string ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>12/9/2003 - 15:9:48</creation-date>
- <lastmodification-date>12/9/2003 - 15:9:48</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>12/9/2003 - 15:9:48</creation-date>
- <lastmodification-date>12/9/2003 - 15:9:48</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DoubleString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertFloatCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertFloatCheck</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>12/9/2003 - 15:12:6</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of Float</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>Float</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Float</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Float</FuncName>
- <PyFunc><![CDATA[def Float() : ]]></PyFunc>
- <PyFunc><![CDATA[ aFloat = 3.1415926535 ]]></PyFunc>
- <PyFunc><![CDATA[ print type(aFloat),"aFloat",aFloat ]]></PyFunc>
- <PyFunc><![CDATA[ return aFloat ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>12/9/2003 - 15:12:6</creation-date>
- <lastmodification-date>12/9/2003 - 15:12:6</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>12/9/2003 - 15:12:6</creation-date>
- <lastmodification-date>12/9/2003 - 15:12:6</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Float</fromnode-name>
- <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Float</fromnode-name>
- <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Float</fromnode-name>
- <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Float</fromnode-name>
- <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Float</fromnode-name>
- <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Float</fromnode-name>
- <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Float</fromnode-name>
- <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Float</fromnode-name>
- <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertFloatStringCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertFloatStringCheck</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>11/9/2003 - 17:7:31</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of String</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>FloatString</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>StringString</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>FloatString</FuncName>
- <PyFunc><![CDATA[def FloatString() : ]]></PyFunc>
- <PyFunc><![CDATA[ string = "3.1415926535" ]]></PyFunc>
- <PyFunc><![CDATA[ return string ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 17:7:14</creation-date>
- <lastmodification-date>11/9/2003 - 17:7:14</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 17:7:14</creation-date>
- <lastmodification-date>11/9/2003 - 17:7:14</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>FloatString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>FloatString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>FloatString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>FloatString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>FloatString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>FloatString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>FloatString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>FloatString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertIORCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertIORCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent\aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent\aComponent</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>11/9/2003 - 15:45:18</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of IOR</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>SyrComponent</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SyrComponent</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>aComponent</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>anIOR</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SyrComponent</FuncName>
- <PyFunc><![CDATA[from LifeCycleCORBA import * ]]></PyFunc>
- <PyFunc><![CDATA[def SyrComponent( aContainer , aComponent ) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,")" ]]></PyFunc>
- <PyFunc><![CDATA[ orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent orb",orb ]]></PyFunc>
- <PyFunc><![CDATA[ lcc = LifeCycleCORBA(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent lcc",lcc ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,")" ]]></PyFunc>
- <PyFunc><![CDATA[ ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,") --> ",ComponentRef ]]></PyFunc>
- <PyFunc><![CDATA[ IOR = orb.object_to_string( ComponentRef ) ]]></PyFunc>
- <PyFunc><![CDATA[ return IOR ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 15:45:18</creation-date>
- <lastmodification-date>11/9/2003 - 15:45:18</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 15:45:18</creation-date>
- <lastmodification-date>11/9/2003 - 15:45:18</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anIOR</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anIOR</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anIOR</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anIOR</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anIOR</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anIOR</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anIOR</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anIOR</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphConvertIORCheck</fromnode-name>
- <fromserviceparameter-name>SyrComponent\aContainer</fromserviceparameter-name>
- <tonode-name>SyrComponent</tonode-name>
- <toserviceparameter-name>aContainer</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value>FactoryServerPy</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphConvertIORCheck</fromnode-name>
- <fromserviceparameter-name>SyrComponent\aComponent</fromserviceparameter-name>
- <tonode-name>SyrComponent</tonode-name>
- <toserviceparameter-name>aComponent</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value>SyrControlComponent</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertLongCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertLongCheck</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>12/9/2003 - 10:31:19</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of Long</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>Long</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Long</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Long</FuncName>
- <PyFunc><![CDATA[def Long() : ]]></PyFunc>
- <PyFunc><![CDATA[ aLong = 2147483647 ]]></PyFunc>
- <PyFunc><![CDATA[ print type( aLong ),"aLong",aLong ]]></PyFunc>
- <PyFunc><![CDATA[ return aLong ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>12/9/2003 - 10:31:19</creation-date>
- <lastmodification-date>12/9/2003 - 10:31:19</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>12/9/2003 - 10:31:19</creation-date>
- <lastmodification-date>12/9/2003 - 10:31:19</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Long</fromnode-name>
- <fromserviceparameter-name>OutLong</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Long</fromnode-name>
- <fromserviceparameter-name>OutLong</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Long</fromnode-name>
- <fromserviceparameter-name>OutLong</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Long</fromnode-name>
- <fromserviceparameter-name>OutLong</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Long</fromnode-name>
- <fromserviceparameter-name>OutLong</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Long</fromnode-name>
- <fromserviceparameter-name>OutLong</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Long</fromnode-name>
- <fromserviceparameter-name>OutLong</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Long</fromnode-name>
- <fromserviceparameter-name>OutLong</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertLongStringCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertLongStringCheck</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>12/9/2003 - 10:51:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of String</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>LongString</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>LongString</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>LongString</FuncName>
- <PyFunc><![CDATA[def LongString() : ]]></PyFunc>
- <PyFunc><![CDATA[ string = "9223372036854775807" ]]></PyFunc>
- <PyFunc><![CDATA[ return string ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>12/9/2003 - 10:51:28</creation-date>
- <lastmodification-date>12/9/2003 - 10:51:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>12/9/2003 - 10:51:28</creation-date>
- <lastmodification-date>12/9/2003 - 10:51:28</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>LongString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LongString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LongString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LongString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LongString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LongString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LongString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LongString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/></dataflow>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertObjRefCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertObjRefCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>MiscTypes__InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>MiscTypes__InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>MiscTypes__InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MiscTypes__InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>MiscTypes__InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MiscTypes__InDouble</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes__OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes__OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes__OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes__OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes__OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes__OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes__OutDouble</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>29/12/2004 - 16:1:50</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of ObjRef</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>SyrComponent</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SyrComponent</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>aComponent</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>anObjRef</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[ print "SyrComponent(",aContainer,",",aComponent,")" ]]></PyFunc>
- <PyFunc><![CDATA[ orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent orb",orb ]]></PyFunc>
- <PyFunc><![CDATA[ lcc = LifeCycleCORBA(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent lcc",lcc ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,")" ]]></PyFunc>
- <PyFunc><![CDATA[ ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,") --> ",ComponentRef ]]></PyFunc>
- <PyFunc><![CDATA[ return ComponentRef ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/12/2004 - 15:57:21</creation-date>
- <lastmodification-date>29/12/2004 - 15:57:21</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>29/12/2004 - 15:57:21</creation-date>
- <lastmodification-date>29/12/2004 - 15:57:21</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>ObjRefToInline</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>ObjRefToInline</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>toInLine</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>ObjRefToInline</FuncName>
- <PyFunc><![CDATA[def ObjRefToInline(objRef): ]]></PyFunc>
- <PyFunc><![CDATA[ return objRef ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/12/2004 - 15:58:56</creation-date>
- <lastmodification-date>29/12/2004 - 15:58:56</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>496</x-position>
- <y-position>168</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MiscTypes</fromnode-name>
- <fromserviceparameter-name>OutObjRef</fromserviceparameter-name>
- <tonode-name>ObjRefToInline</tonode-name>
- <toserviceparameter-name>toInLine</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphConvertObjRefCheck</fromnode-name>
- <fromserviceparameter-name>SyrComponent__aContainer</fromserviceparameter-name>
- <tonode-name>SyrComponent</tonode-name>
- <toserviceparameter-name>aContainer</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value>FactoryServerPy</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphConvertObjRefCheck</fromnode-name>
- <fromserviceparameter-name>SyrComponent__aComponent</fromserviceparameter-name>
- <tonode-name>SyrComponent</tonode-name>
- <toserviceparameter-name>aComponent</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value>SyrControlComponent</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphConvertObjRefCheck</fromnode-name>
- <fromserviceparameter-name>MiscTypes__InBool</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>138492744</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphConvertObjRefCheck</fromnode-name>
- <fromserviceparameter-name>MiscTypes__InChar</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>135402800</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphConvertObjRefCheck</fromnode-name>
- <fromserviceparameter-name>MiscTypes__InShort</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>135448464</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphConvertObjRefCheck</fromnode-name>
- <fromserviceparameter-name>MiscTypes__InLong</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>135469224</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphConvertObjRefCheck</fromnode-name>
- <fromserviceparameter-name>MiscTypes__InFloat</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>65.6954</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphConvertObjRefCheck</fromnode-name>
- <fromserviceparameter-name>MiscTypes__InDouble</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>65.6954</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertObjRefCheckNotCompatible</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertObjRefCheckNotCompatible</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aComponent</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes__OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes__OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes__OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes__OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes__OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes__OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes__OutDouble</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>20/6/2005 - 11:34:50</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of ObjRef</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>SyrComponent</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SyrComponent</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>aComponent</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>anObjRef</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[ print "SyrComponent(",aContainer,",",aComponent,")" ]]></PyFunc>
- <PyFunc><![CDATA[ orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent orb",orb ]]></PyFunc>
- <PyFunc><![CDATA[ lcc = LifeCycleCORBA(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent lcc",lcc ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,")" ]]></PyFunc>
- <PyFunc><![CDATA[ ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,") --> ",ComponentRef ]]></PyFunc>
- <PyFunc><![CDATA[ return ComponentRef ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/6/2005 - 11:31:43</creation-date>
- <lastmodification-date>20/6/2005 - 11:31:43</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>20/6/2005 - 11:31:43</creation-date>
- <lastmodification-date>20/6/2005 - 11:31:43</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>ObjRefToInline</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>ObjRefToInline</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>toInLine</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>ObjRefToInline</FuncName>
- <PyFunc><![CDATA[def ObjRefToInline(objRef): ]]></PyFunc>
- <PyFunc><![CDATA[ return objRef ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/6/2005 - 11:31:43</creation-date>
- <lastmodification-date>20/6/2005 - 11:31:43</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>496</x-position>
- <y-position>168</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MiscTypes</fromnode-name>
- <fromserviceparameter-name>OutObjRef</fromserviceparameter-name>
- <tonode-name>ObjRefToInline</tonode-name>
- <toserviceparameter-name>toInLine</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphConvertObjRefCheckNotCompatible</fromnode-name>
- <fromserviceparameter-name>SyrComponent__aContainer</fromserviceparameter-name>
- <tonode-name>SyrComponent</tonode-name>
- <toserviceparameter-name>aContainer</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value><![CDATA[FactoryServerPy]]></value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphConvertObjRefCheckNotCompatible</fromnode-name>
- <fromserviceparameter-name>SyrComponent__aComponent</fromserviceparameter-name>
- <tonode-name>SyrComponent</tonode-name>
- <toserviceparameter-name>aComponent</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value><![CDATA[SyrControlComponent]]></value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertShortCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertShortCheck</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>12/9/2003 - 10:35:33</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of Short</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>Short</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Short</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Short</FuncName>
- <PyFunc><![CDATA[def Short() : ]]></PyFunc>
- <PyFunc><![CDATA[ aShort = 32767 ]]></PyFunc>
- <PyFunc><![CDATA[ print type( aShort ),"aShort",aShort ]]></PyFunc>
- <PyFunc><![CDATA[ return aShort ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>12/9/2003 - 10:35:33</creation-date>
- <lastmodification-date>12/9/2003 - 10:35:33</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>12/9/2003 - 10:35:33</creation-date>
- <lastmodification-date>12/9/2003 - 10:35:33</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Short</fromnode-name>
- <fromserviceparameter-name>OutShort</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Short</fromnode-name>
- <fromserviceparameter-name>OutShort</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Short</fromnode-name>
- <fromserviceparameter-name>OutShort</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Short</fromnode-name>
- <fromserviceparameter-name>OutShort</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Short</fromnode-name>
- <fromserviceparameter-name>OutShort</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Short</fromnode-name>
- <fromserviceparameter-name>OutShort</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Short</fromnode-name>
- <fromserviceparameter-name>OutShort</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Short</fromnode-name>
- <fromserviceparameter-name>OutShort</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertShortStringCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertShortStringCheck</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>12/9/2003 - 10:37:59</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of String</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>ShortString</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>ShortString</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>ShortString</FuncName>
- <PyFunc><![CDATA[def ShortString() : ]]></PyFunc>
- <PyFunc><![CDATA[ string = "32767" ]]></PyFunc>
- <PyFunc><![CDATA[ return string ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>12/9/2003 - 10:37:59</creation-date>
- <lastmodification-date>12/9/2003 - 10:37:59</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>12/9/2003 - 10:37:59</creation-date>
- <lastmodification-date>12/9/2003 - 10:37:59</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>ShortString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>ShortString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>ShortString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>ShortString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>ShortString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>ShortString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>ShortString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>ShortString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphConvertStringStringCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphConvertStringCheck</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>30/7/2003 - 14:23:52</creation-date>
- <lastmodification-date>11/9/2003 - 16:43:51</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Check conversions of String</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>StringString</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>StringString</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>StringString</FuncName>
- <PyFunc><![CDATA[def StringString() : ]]></PyFunc>
- <PyFunc><![CDATA[ string = "The sentence that you are reading cannot be demonstrated" ]]></PyFunc>
- <PyFunc><![CDATA[ return string ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 16:43:51</creation-date>
- <lastmodification-date>11/9/2003 - 16:43:51</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>14</x-position>
- <y-position>114</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 16:43:51</creation-date>
- <lastmodification-date>11/9/2003 - 16:43:51</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>284</x-position>
- <y-position>28</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>StringString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>StringString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>StringString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>StringString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>StringString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>StringString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>StringString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>StringString</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphCpuUsed</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphCpuUsed</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Add\a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Sub\a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Sub\b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Compare\Result</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>24/3/2003 - 10:58:41</creation-date>
- <lastmodification-date>6/8/2003 - 11:44:4</lastmodification-date>
- <editor-release>1.04</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>Add</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>f</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Add</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Add(a,b) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Add will wait 5 seconds" ]]></PyFunc>
- <PyFunc><![CDATA[ d = dir() ]]></PyFunc>
- <PyFunc><![CDATA[ print "Add",d ]]></PyFunc>
- <PyFunc><![CDATA[ d = dir(sleep) ]]></PyFunc>
- <PyFunc><![CDATA[ print "Add",d ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(5) ]]></PyFunc>
- <PyFunc><![CDATA[ print "Add waited" ]]></PyFunc>
- <PyFunc><![CDATA[ n = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ while n < 10000 : ]]></PyFunc>
- <PyFunc><![CDATA[ i = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ s = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ while i <= b : ]]></PyFunc>
- <PyFunc><![CDATA[ s = s + i ]]></PyFunc>
- <PyFunc><![CDATA[ i = i + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ n = n + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return s ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/8/2003 - 11:44:4</creation-date>
- <lastmodification-date>6/8/2003 - 11:44:4</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>214</x-position>
- <y-position>0</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Sub</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>f</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Sub</FuncName>
- <PyFunc><![CDATA[def Sub(a,b) : ]]></PyFunc>
- <PyFunc><![CDATA[ return a-b ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/8/2003 - 11:44:4</creation-date>
- <lastmodification-date>6/8/2003 - 11:44:4</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>0</x-position>
- <y-position>139</y-position> </node>
- <node>
-<component-name>FactorialComponent</component-name>
- <interface-name>FactorialComponent</interface-name>
- <node-name>sigma</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>sigma</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>n</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>f</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>6/8/2003 - 11:44:4</creation-date>
- <lastmodification-date>6/8/2003 - 11:44:4</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>localhost/FactoryServerPy</container>
- <comment>sigma from FactorialComponent</comment>
- <x-position>214</x-position>
- <y-position>172</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Sigma</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sigma</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>n</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>f</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>6/8/2003 - 11:44:4</creation-date>
- <lastmodification-date>6/8/2003 - 11:44:4</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sigma from AddComponent</comment>
- <x-position>418</x-position>
- <y-position>21</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Compare</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Compare</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Add</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Sigma</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>sigma</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Result</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Compare</FuncName>
- <PyFunc><![CDATA[def Compare( Add , sigma , Sigma ) : ]]></PyFunc>
- <PyFunc><![CDATA[ Result = "Good" ]]></PyFunc>
- <PyFunc><![CDATA[ if Add != sigma : ]]></PyFunc>
- <PyFunc><![CDATA[ Result = "Bad" ]]></PyFunc>
- <PyFunc><![CDATA[ if Add != Sigma : ]]></PyFunc>
- <PyFunc><![CDATA[ Result = "Bad" ]]></PyFunc>
- <PyFunc><![CDATA[ return Result ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/8/2003 - 11:44:4</creation-date>
- <lastmodification-date>6/8/2003 - 11:44:4</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>419</x-position>
- <y-position>184</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>Compare</tonode-name>
- <toserviceparameter-name>Add</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>411</x>
- <y>265</y> </coord>
- <coord>
-<x>411</x>
- <y>169</y> </coord>
- <coord>
-<x>617</x>
- <y>169</y> </coord>
- <coord>
-<x>618</x>
- <y>8</y> </coord>
- <coord>
-<x>401</x>
- <y>8</y> </coord>
- <coord>
-<x>400</x>
- <y>80</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>189</x>
- <y>108</y> </coord>
- <coord>
-<x>191</x>
- <y>220</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>sigma</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>206</x>
- <y>254</y> </coord>
- <coord>
-<x>206</x>
- <y>220</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>Sigma</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>389</x>
- <y>101</y> </coord>
- <coord>
-<x>390</x>
- <y>160</y> </coord>
- <coord>
-<x>190</x>
- <y>161</y> </coord>
- <coord>
-<x>190</x>
- <y>220</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>sigma</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>Compare</tonode-name>
- <toserviceparameter-name>sigma</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>386</x>
- <y>323</y> </coord>
- <coord>
-<x>385</x>
- <y>253</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sigma</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>Compare</tonode-name>
- <toserviceparameter-name>Sigma</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>400</x>
- <y>295</y> </coord>
- <coord>
-<x>400</x>
- <y>153</y> </coord>
- <coord>
-<x>595</x>
- <y>153</y> </coord>
- <coord>
-<x>595</x>
- <y>102</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphCpuUsed</fromnode-name>
- <fromserviceparameter-name>Add\a</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphCpuUsed</fromnode-name>
- <fromserviceparameter-name>Sub\a</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1000</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphCpuUsed</fromnode-name>
- <fromserviceparameter-name>Sub\b</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphEditSwitchs</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphEditSwitchs</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Switch__a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Switch__Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfSwitch__a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:11</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>388</x-position>
- <y-position>50</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>InitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</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</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>186</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>126</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch_1</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>3/2/2005 - 16:14:11</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:11</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>3/2/2005 - 16:14:11</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:11</lastmodification-date>
- <editor-release>2.0</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>
-<coord>
-<x>573</x>
- <y>160</y> </coord>
- <coord>
-<x>572</x>
- <y>130</y> </coord> </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>
-<coord>
-<x>599</x>
- <y>416</y> </coord>
- <coord>
-<x>598</x>
- <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>
-<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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>365</x>
- <y>129</y> </coord>
- <coord>
-<x>365</x>
- <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>
-<coord>
-<x>572</x>
- <y>194</y> </coord>
- <coord>
-<x>571</x>
- <y>257</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <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>
-<fromnode-name>Switch_1</fromnode-name>
- <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>
-<x>378</x>
- <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>
-<data>
-<fromnode-name>GraphEditSwitchs</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>GraphEditSwitchs</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>GraphEditSwitchs</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>20</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphEditSwitchs</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphEditSwitchs</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>EndOfInitLoop__Index</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Switch__Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfSwitch__a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch__a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:12</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>388</x-position>
- <y-position>50</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>InitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</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</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>186</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>126</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch_1</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>3/2/2005 - 16:14:11</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:11</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>3/2/2005 - 16:14:11</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:11</lastmodification-date>
- <editor-release>2.0</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>
-<coord>
-<x>573</x>
- <y>160</y> </coord>
- <coord>
-<x>572</x>
- <y>130</y> </coord> </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>
-<coord>
-<x>599</x>
- <y>416</y> </coord>
- <coord>
-<x>598</x>
- <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>
-<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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>
-<coord>
-<x>365</x>
- <y>129</y> </coord>
- <coord>
-<x>365</x>
- <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>
-<coord>
-<x>572</x>
- <y>194</y> </coord>
- <coord>
-<x>571</x>
- <y>257</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <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>
-<fromnode-name>Switch_1</fromnode-name>
- <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>
-<x>378</x>
- <y>481</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphEditSwitchs</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>GraphEditSwitchs</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>GraphEditSwitchs</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>20</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphEditSwitchs</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphEditSwitchs</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Switch__Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch__a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:12</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>388</x-position>
- <y-position>50</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>InitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</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</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>186</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>126</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch_1</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>3/2/2005 - 16:14:11</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:11</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>3/2/2005 - 16:14:11</creation-date>
- <lastmodification-date>3/2/2005 - 16:14:11</lastmodification-date>
- <editor-release>2.0</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>
-<coord>
-<x>573</x>
- <y>160</y> </coord>
- <coord>
-<x>572</x>
- <y>130</y> </coord> </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>
-<coord>
-<x>599</x>
- <y>416</y> </coord>
- <coord>
-<x>598</x>
- <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>
-<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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>
-<coord>
-<x>365</x>
- <y>129</y> </coord>
- <coord>
-<x>365</x>
- <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>
-<coord>
-<x>572</x>
- <y>194</y> </coord>
- <coord>
-<x>571</x>
- <y>257</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>EndOfSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd_1</tonode-name>
- <toserviceparameter-name>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>
-<fromnode-name>Switch_1</fromnode-name>
- <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>
-<x>378</x>
- <y>481</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphEditSwitchs</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>GraphEditSwitchs</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>GraphEditSwitchs</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>20</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphEditSwitchs</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphEditSwitchs</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>IsEven__a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Switch__Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Switch_1__Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Switch_1__a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch__a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>3/2/2005 - 16:56:34</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>3/2/2005 - 16:54:2</creation-date>
- <lastmodification-date>3/2/2005 - 16:54:2</lastmodification-date>
- <editor-release>2.0</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>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>3/2/2005 - 16:54:2</creation-date>
- <lastmodification-date>3/2/2005 - 16:54:2</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>InitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>3/2/2005 - 16:54:2</creation-date>
- <lastmodification-date>3/2/2005 - 16:54:2</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>3/2/2005 - 16:54:2</creation-date>
- <lastmodification-date>3/2/2005 - 16:54:2</lastmodification-date>
- <editor-release>2.0</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</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>3/2/2005 - 16:54:2</creation-date>
- <lastmodification-date>3/2/2005 - 16:54:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>186</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>3/2/2005 - 16:54:2</creation-date>
- <lastmodification-date>3/2/2005 - 16:54:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>126</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch_1</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>3/2/2005 - 16:54:2</creation-date>
- <lastmodification-date>3/2/2005 - 16:54:2</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>3/2/2005 - 16:54:2</creation-date>
- <lastmodification-date>3/2/2005 - 16:54:2</lastmodification-date>
- <editor-release>2.0</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>
-<coord>
-<x>573</x>
- <y>160</y> </coord>
- <coord>
-<x>572</x>
- <y>130</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>599</x>
- <y>416</y> </coord>
- <coord>
-<x>598</x>
- <y>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>
-<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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>
-<coord>
-<x>365</x>
- <y>129</y> </coord>
- <coord>
-<x>365</x>
- <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>
-<coord>
-<x>572</x>
- <y>194</y> </coord>
- <coord>
-<x>571</x>
- <y>257</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>EndOfSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>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>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphEditSwitchs</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>GraphEditSwitchs</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>GraphEditSwitchs</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>20</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphEditSwitchs_5</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphEditSwitchs_5</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Switch__Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Switch_1__Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch__a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/2/2005 - 16:14:10</creation-date>
- <lastmodification-date>24/2/2005 - 14:34:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>24/2/2005 - 14:34:28</creation-date>
- <lastmodification-date>24/2/2005 - 14:34:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>393</x-position>
- <y-position>67</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsEven" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>24/2/2005 - 14:34:28</creation-date>
- <lastmodification-date>24/2/2005 - 14:34:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>408</x-position>
- <y-position>343</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>
-<service-name>InitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>24/2/2005 - 14:34:28</creation-date>
- <lastmodification-date>24/2/2005 - 14:34:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>248</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>24/2/2005 - 14:34:28</creation-date>
- <lastmodification-date>24/2/2005 - 14:34:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>823</x-position>
- <y-position>259</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>24/2/2005 - 14:34:28</creation-date>
- <lastmodification-date>24/2/2005 - 14:34:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>199</x-position>
- <y-position>132</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>24/2/2005 - 14:34:28</creation-date>
- <lastmodification-date>24/2/2005 - 14:34:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>584</x-position>
- <y-position>172</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>
-<service-name>Switch_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>24/2/2005 - 14:34:28</creation-date>
- <lastmodification-date>24/2/2005 - 14:34:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>201</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>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>24/2/2005 - 14:34:28</creation-date>
- <lastmodification-date>24/2/2005 - 14:34:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>608</x-position>
- <y-position>430</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/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <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>
-<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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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/> </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>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphEditSwitchs_5</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>GraphEditSwitchs_5</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>GraphEditSwitchs_5</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>20</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphEmbeddedComponents</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphEmbeddedComponents</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__y</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Mul__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Div__z</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>AddAndCompare__FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>AddAndCompare__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 10:59:37</creation-date>
- <lastmodification-date>2/9/2005 - 16:17:8</lastmodification-date>
- <editor-release>1.04</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>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Add</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>2/9/2005 - 16:16:1</creation-date>
- <lastmodification-date>2/9/2005 - 16:16:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/SuperVisionContainer</container>
- <comment>Add from AddComponent</comment>
- <x-position>1</x-position>
- <y-position>152</y-position>
- </node>
- <node>
- <component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Sub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>2/9/2005 - 16:16:1</creation-date>
- <lastmodification-date>2/9/2005 - 16:16:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/SuperVisionContainer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>412</x-position>
- <y-position>377</y-position>
- </node>
- <node>
- <component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Mul</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>2/9/2005 - 16:16:1</creation-date>
- <lastmodification-date>2/9/2005 - 16:16:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/SuperVisionContainer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>412</x-position>
- <y-position>152</y-position>
- </node>
- <node>
- <component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Div</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>2/9/2005 - 16:16:1</creation-date>
- <lastmodification-date>2/9/2005 - 16:16:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/SuperVisionContainer</container>
- <comment>Div from DivComponent</comment>
- <x-position>622</x-position>
- <y-position>124</y-position>
- </node>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>Adder</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>2/9/2005 - 16:16:1</creation-date>
- <lastmodification-date>2/9/2005 - 16:16:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/AdditionServer</container>
- <comment>Addition from AddComponent</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>Adder</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>2/9/2005 - 16:16:1</creation-date>
- <lastmodification-date>2/9/2005 - 16:16:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/Addition_1Server</container>
- <comment>Addition from AddComponent</comment>
- <x-position>4</x-position>
- <y-position>327</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>AddAndCompare</node-name>
- <kind>2</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>AddAndCompare</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>Adder</inParameter-type>
- <inParameter-name>Adder</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>Adder</inParameter-type>
- <inParameter-name>anOtherAdder</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>2/9/2005 - 16:16:1</creation-date>
- <lastmodification-date>2/9/2005 - 16:16:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>233</x-position>
- <y-position>0</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>195</x>
- <y>108</y>
- </coord>
- <coord>
- <x>195</x>
- <y>233</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>187</x>
- <y>459</y>
- </coord>
- <coord>
- <x>186</x>
- <y>262</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>187</x>
- <y>139</y>
- </coord>
- <coord>
- <x>186</x>
- <y>261</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>598</x>
- <y>203</y>
- </coord>
- <coord>
- <x>598</x>
- <y>457</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Addition</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>Adder</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Addition_1</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>anOtherAdder</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>215</x>
- <y>168</y>
- </coord>
- <coord>
- <x>214</x>
- <y>407</y>
- </coord>
- </coord-list>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>GraphEmbeddedComponents</fromnode-name>
- <fromserviceparameter-name>Add__x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>1</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphEmbeddedComponents</fromnode-name>
- <fromserviceparameter-name>Add__y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>2</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphEmbeddedComponents</fromnode-name>
- <fromserviceparameter-name>Sub__y</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>3</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphEmbeddedComponents</fromnode-name>
- <fromserviceparameter-name>Mul__y</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>4</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphEmbeddedComponentsCrash</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphEmbeddedComponentsCrash</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__y</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Mul__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Div__z</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>AddAndCompare__FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>AddAndCompare__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 10:59:37</creation-date>
- <lastmodification-date>3/8/2005 - 15:53:13</lastmodification-date>
- <editor-release>1.04</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>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Add</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/8/2005 - 15:52:50</creation-date>
- <lastmodification-date>3/8/2005 - 15:52:50</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>1</x-position>
- <y-position>152</y-position>
- </node>
- <node>
- <component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Sub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/8/2005 - 15:52:50</creation-date>
- <lastmodification-date>3/8/2005 - 15:52:50</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>477</x-position>
- <y-position>381</y-position>
- </node>
- <node>
- <component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Mul</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/8/2005 - 15:52:50</creation-date>
- <lastmodification-date>3/8/2005 - 15:52:50</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>480</x-position>
- <y-position>152</y-position>
- </node>
- <node>
- <component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Div</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/8/2005 - 15:52:50</creation-date>
- <lastmodification-date>3/8/2005 - 15:52:50</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Div from DivComponent</comment>
- <x-position>714</x-position>
- <y-position>136</y-position>
- </node>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>Adder</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/8/2005 - 15:52:50</creation-date>
- <lastmodification-date>3/8/2005 - 15:52:50</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/AdditionServer</container>
- <comment>Addition from AddComponent</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>Adder</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/8/2005 - 15:52:50</creation-date>
- <lastmodification-date>3/8/2005 - 15:52:50</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/Addition_1Server</container>
- <comment>Addition from AddComponent</comment>
- <x-position>4</x-position>
- <y-position>327</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>AddAndCompare</node-name>
- <kind>2</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>AddAndCompare</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>Adder</inParameter-type>
- <inParameter-name>Adder</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>Adder</inParameter-type>
- <inParameter-name>anOtherAdder</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/8/2005 - 15:52:50</creation-date>
- <lastmodification-date>3/8/2005 - 15:52:50</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>233</x-position>
- <y-position>0</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>195</x>
- <y>108</y>
- </coord>
- <coord>
- <x>195</x>
- <y>233</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>187</x>
- <y>459</y>
- </coord>
- <coord>
- <x>186</x>
- <y>262</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>187</x>
- <y>139</y>
- </coord>
- <coord>
- <x>186</x>
- <y>261</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>670</x>
- <y>206</y>
- </coord>
- <coord>
- <x>680</x>
- <y>447</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Addition</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>Adder</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Addition_1</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>anOtherAdder</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>215</x>
- <y>168</y>
- </coord>
- <coord>
- <x>214</x>
- <y>407</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>AddAndCompare</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>AddAndCompare</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>GraphEmbeddedComponentsCrash</fromnode-name>
- <fromserviceparameter-name>Add__x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>1</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphEmbeddedComponentsCrash</fromnode-name>
- <fromserviceparameter-name>Add__y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>2</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphEmbeddedComponentsCrash</fromnode-name>
- <fromserviceparameter-name>Sub__y</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>3</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphEmbeddedComponentsCrash</fromnode-name>
- <fromserviceparameter-name>Mul__y</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>4</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphEmbeddedComponentsCrash1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphEmbeddedComponentsCrash1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__y</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Mul__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Div__z</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>AddAndCompare__FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>AddAndCompare__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 10:59:37</creation-date>
- <lastmodification-date>5/8/2005 - 11:41:6</lastmodification-date>
- <editor-release>1.04</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>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Add</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>5/8/2005 - 11:40:48</creation-date>
- <lastmodification-date>5/8/2005 - 11:40:48</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/SuperVisionContainer</container>
- <comment>Add from AddComponent</comment>
- <x-position>1</x-position>
- <y-position>152</y-position>
- </node>
- <node>
- <component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Sub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>5/8/2005 - 11:40:48</creation-date>
- <lastmodification-date>5/8/2005 - 11:40:48</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/SuperVisionContainer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>477</x-position>
- <y-position>381</y-position>
- </node>
- <node>
- <component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Mul</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>5/8/2005 - 11:40:48</creation-date>
- <lastmodification-date>5/8/2005 - 11:40:48</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/SuperVisionContainer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>480</x-position>
- <y-position>152</y-position>
- </node>
- <node>
- <component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Div</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>5/8/2005 - 11:40:48</creation-date>
- <lastmodification-date>5/8/2005 - 11:40:48</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/SuperVisionContainer</container>
- <comment>Div from DivComponent</comment>
- <x-position>714</x-position>
- <y-position>136</y-position>
- </node>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>Adder</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>5/8/2005 - 11:40:48</creation-date>
- <lastmodification-date>5/8/2005 - 11:40:48</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/SuperVisionContainer</container>
- <comment>Addition from AddComponent</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>Adder</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>5/8/2005 - 11:40:48</creation-date>
- <lastmodification-date>5/8/2005 - 11:40:48</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/SuperVisionContainer</container>
- <comment>Addition from AddComponent</comment>
- <x-position>4</x-position>
- <y-position>327</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>AddAndCompare</node-name>
- <kind>2</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>AddAndCompare</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>Adder</inParameter-type>
- <inParameter-name>Adder</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>Adder</inParameter-type>
- <inParameter-name>anOtherAdder</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>5/8/2005 - 11:40:48</creation-date>
- <lastmodification-date>5/8/2005 - 11:40:48</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>233</x-position>
- <y-position>0</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>195</x>
- <y>108</y>
- </coord>
- <coord>
- <x>195</x>
- <y>233</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>187</x>
- <y>459</y>
- </coord>
- <coord>
- <x>186</x>
- <y>262</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>187</x>
- <y>139</y>
- </coord>
- <coord>
- <x>186</x>
- <y>261</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>670</x>
- <y>206</y>
- </coord>
- <coord>
- <x>680</x>
- <y>447</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Addition</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>Adder</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Addition_1</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>anOtherAdder</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>215</x>
- <y>168</y>
- </coord>
- <coord>
- <x>214</x>
- <y>407</y>
- </coord>
- </coord-list>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>GraphEmbeddedComponentsCrash1</fromnode-name>
- <fromserviceparameter-name>Add__x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>1</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphEmbeddedComponentsCrash1</fromnode-name>
- <fromserviceparameter-name>Add__y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>2</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphEmbeddedComponentsCrash1</fromnode-name>
- <fromserviceparameter-name>Sub__y</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>3</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphEmbeddedComponentsCrash1</fromnode-name>
- <fromserviceparameter-name>Mul__y</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>4</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphEmptyInLinesConvertCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphInLinesConvertCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>BoolCheck\InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>CharCheck\InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>ShortCheck\InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>FloatCheck\InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LongCheck\InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>StringCheck\InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>DoubleCheck\InDouble</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Addre</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>1/9/2003 - 17:28:48</creation-date>
- <lastmodification-date>11/9/2003 - 14:24:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</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>BoolCheck</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BoolCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:21:42</creation-date>
- <lastmodification-date>11/9/2003 - 14:21:42</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Empty InLine Node</comment>
- <x-position>234</x-position>
- <y-position>92</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>CharCheck</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>CharCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:21:42</creation-date>
- <lastmodification-date>11/9/2003 - 14:21:42</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Empty InLine Node</comment>
- <x-position>30</x-position>
- <y-position>142</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>ShortCheck</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>ShortCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:21:42</creation-date>
- <lastmodification-date>11/9/2003 - 14:21:42</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Empty InLine Node</comment>
- <x-position>234</x-position>
- <y-position>230</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>FloatCheck</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>FloatCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:21:42</creation-date>
- <lastmodification-date>11/9/2003 - 14:21:42</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Empty InLine Node</comment>
- <x-position>230</x-position>
- <y-position>375</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>Adder</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 14:21:42</creation-date>
- <lastmodification-date>11/9/2003 - 14:21:42</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Addition from AddComponent</comment>
- <x-position>232</x-position>
- <y-position>514</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>LongCheck</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>LongCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:21:42</creation-date>
- <lastmodification-date>11/9/2003 - 14:21:42</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Empty InLine Node</comment>
- <x-position>30</x-position>
- <y-position>282</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>StringCheck</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>StringCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:21:42</creation-date>
- <lastmodification-date>11/9/2003 - 14:21:42</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Empty InLine Node</comment>
- <x-position>30</x-position>
- <y-position>6</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>DoubleCheck</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>DoubleCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:21:42</creation-date>
- <lastmodification-date>11/9/2003 - 14:21:42</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Empty InLine Node</comment>
- <x-position>29</x-position>
- <y-position>428</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVision::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Addre</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:21:42</creation-date>
- <lastmodification-date>11/9/2003 - 14:21:42</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Empty InLine Node</comment>
- <x-position>477</x-position>
- <y-position>231</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>BoolCheck</fromnode-name>
- <fromserviceparameter-name>OutBool</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>446</x>
- <y>341</y> </coord>
- <coord>
-<x>446</x>
- <y>172</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>CharCheck</fromnode-name>
- <fromserviceparameter-name>OutChar</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>431</x>
- <y>368</y> </coord>
- <coord>
-<x>431</x>
- <y>223</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>ShortCheck</fromnode-name>
- <fromserviceparameter-name>OutShort</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>415</x>
- <y>397</y> </coord>
- <coord>
-<x>414</x>
- <y>310</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>FloatCheck</fromnode-name>
- <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Addition</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>462</x>
- <y>514</y> </coord>
- <coord>
-<x>461</x>
- <y>593</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>LongCheck</fromnode-name>
- <fromserviceparameter-name>OutLong</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>406</x>
- <y>426</y> </coord>
- <coord>
-<x>405</x>
- <y>363</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>StringCheck</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>462</x>
- <y>312</y> </coord>
- <coord>
-<x>461</x>
- <y>87</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>DoubleCheck</fromnode-name>
- <fromserviceparameter-name>OutDouble</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>445</x>
- <y>485</y> </coord>
- <coord>
-<x>445</x>
- <y>508</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphEmptyInLinesConvertCheck</fromnode-name>
- <fromserviceparameter-name>BoolCheck\InBool</fromserviceparameter-name>
- <tonode-name>BoolCheck</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEmptyInLinesConvertCheck</fromnode-name>
- <fromserviceparameter-name>CharCheck\InChar</fromserviceparameter-name>
- <tonode-name>CharCheck</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>255</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEmptyInLinesConvertCheck</fromnode-name>
- <fromserviceparameter-name>ShortCheck\InShort</fromserviceparameter-name>
- <tonode-name>ShortCheck</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>16383</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEmptyInLinesConvertCheck</fromnode-name>
- <fromserviceparameter-name>FloatCheck\InFloat</fromserviceparameter-name>
- <tonode-name>FloatCheck</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3.14159</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEmptyInLinesConvertCheck</fromnode-name>
- <fromserviceparameter-name>LongCheck\InLong</fromserviceparameter-name>
- <tonode-name>LongCheck</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1234567890</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEmptyInLinesConvertCheck</fromnode-name>
- <fromserviceparameter-name>StringCheck\InString</fromserviceparameter-name>
- <tonode-name>StringCheck</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value>aString</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEmptyInLinesConvertCheck</fromnode-name>
- <fromserviceparameter-name>DoubleCheck\InDouble</fromserviceparameter-name>
- <tonode-name>DoubleCheck</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1.23457</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<?xml version='1.0' encoding='us-ascii' ?>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-
-<!-- XML Dataflow -->
-
-<!-- Dataflow information -->
-<dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphEssai</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphEssai</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add\x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add\y</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub\x</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add\FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Div\z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <Parameter-list>
- </Parameter-list>
- <PyFunction-list>
- </PyFunction-list>
- <creation-date>11/3/2003 - 9:58:58</creation-date>
- <lastmodification-date>11/3/2003 - 9:58:59</lastmodification-date>
- <editor-release>1.04</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>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Add</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <Parameter-list>
- </Parameter-list>
- <PyFunction-list>
- </PyFunction-list>
- <creation-date>11/3/2003 - 9:58:58</creation-date>
- <lastmodification-date>11/3/2003 - 9:58:58</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>15</x-position>
- <y-position>241</y-position>
- </node>
- <node>
- <component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Sub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <Parameter-list>
- </Parameter-list>
- <PyFunction-list>
- </PyFunction-list>
- <creation-date>11/3/2003 - 9:58:58</creation-date>
- <lastmodification-date>11/3/2003 - 9:58:58</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>227</x-position>
- <y-position>99</y-position>
- </node>
- <node>
- <component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Mul</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <Parameter-list>
- </Parameter-list>
- <PyFunction-list>
- </PyFunction-list>
- <creation-date>11/3/2003 - 9:58:58</creation-date>
- <lastmodification-date>11/3/2003 - 9:58:58</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>443</x-position>
- <y-position>278</y-position>
- </node>
- <node>
- <component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Div</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <Parameter-list>
- </Parameter-list>
- <PyFunction-list>
- </PyFunction-list>
- <creation-date>11/3/2003 - 9:58:58</creation-date>
- <lastmodification-date>11/3/2003 - 9:58:58</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>634</x-position>
- <y-position>97</y-position>
- </node>
- </node-list>
-
- <link-list>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
- </coord-list>
- </link>
- </link-list>
-
- <data-list>
- <data>
- <fromnode-name>GraphEssai</fromnode-name>
- <fromserviceparameter-name>Add\x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>3</value>
- </data-value>
- <coord-list>
- </coord-list>
- </data>
- <data>
- <fromnode-name>GraphEssai</fromnode-name>
- <fromserviceparameter-name>Add\y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>4.5</value>
- </data-value>
- <coord-list>
- </coord-list>
- </data>
- <data>
- <fromnode-name>GraphEssai</fromnode-name>
- <fromserviceparameter-name>Sub\x</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>1.5</value>
- </data-value>
- <coord-list>
- </coord-list>
- </data>
- </data-list>
-
-</dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphEssai1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphEssai1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add\x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add\y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub\y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Mul\y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add\FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Div\z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 10:3:19</creation-date>
- <lastmodification-date>18/9/2003 - 17:14:2</lastmodification-date>
- <editor-release>1.04</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>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>18/9/2003 - 17:14:2</creation-date>
- <lastmodification-date>18/9/2003 - 17:14:2</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>16</x-position>
- <y-position>262</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>18/9/2003 - 17:14:2</creation-date>
- <lastmodification-date>18/9/2003 - 17:14:2</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>219</x-position>
- <y-position>54</y-position> </node>
- <node>
-<component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>18/9/2003 - 17:14:2</creation-date>
- <lastmodification-date>18/9/2003 - 17:14:2</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>419</x-position>
- <y-position>262</y-position> </node>
- <node>
-<component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Div</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>18/9/2003 - 17:14:2</creation-date>
- <lastmodification-date>18/9/2003 - 17:14:2</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Div from DivComponent</comment>
- <x-position>623</x-position>
- <y-position>55</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>193</x>
- <y>135</y> </coord>
- <coord>
-<x>193</x>
- <y>372</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>396</x>
- <y>343</y> </coord>
- <coord>
-<x>397</x>
- <y>136</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>598</x>
- <y>163</y> </coord>
- <coord>
-<x>598</x>
- <y>343</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphEssai1</fromnode-name>
- <fromserviceparameter-name>Add\x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEssai1</fromnode-name>
- <fromserviceparameter-name>Add\y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEssai1</fromnode-name>
- <fromserviceparameter-name>Sub\y</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>7</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEssai1</fromnode-name>
- <fromserviceparameter-name>Mul\y</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>11</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphEssai2</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphEssai2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add\x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add\y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub\y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Mul\y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Div\z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 10:6:28</creation-date>
- <lastmodification-date>23/10/2003 - 16:11:44</lastmodification-date>
- <editor-release>1.04</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>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>23/10/2003 - 16:11:44</creation-date>
- <lastmodification-date>23/10/2003 - 16:11:44</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>18</x-position>
- <y-position>239</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>23/10/2003 - 16:11:44</creation-date>
- <lastmodification-date>23/10/2003 - 16:11:44</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>232</x-position>
- <y-position>269</y-position> </node>
- <node>
-<component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>23/10/2003 - 16:11:44</creation-date>
- <lastmodification-date>23/10/2003 - 16:11:44</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>431</x-position>
- <y-position>22</y-position> </node>
- <node>
-<component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Div</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>23/10/2003 - 16:11:44</creation-date>
- <lastmodification-date>23/10/2003 - 16:11:44</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Div from DivComponent</comment>
- <x-position>645</x-position>
- <y-position>268</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>199</x>
- <y>102</y> </coord>
- <coord>
-<x>198</x>
- <y>319</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>OutGate</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>InGate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>405</x>
- <y>165</y> </coord>
- <coord>
-<x>405</x>
- <y>412</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>612</x>
- <y>377</y> </coord>
- <coord>
-<x>612</x>
- <y>103</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphEssai2</fromnode-name>
- <fromserviceparameter-name>Add\x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEssai2</fromnode-name>
- <fromserviceparameter-name>Add\y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>2</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEssai2</fromnode-name>
- <fromserviceparameter-name>Sub\y</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEssai2</fromnode-name>
- <fromserviceparameter-name>Mul\y</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>4</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphEssai3</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphEssai3</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add\x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add\y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub\y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Mul\y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Div\z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AddAndCompare\FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AddAndCompare\z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 10:59:37</creation-date>
- <lastmodification-date>18/9/2003 - 17:23:8</lastmodification-date>
- <editor-release>1.04</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>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>18/9/2003 - 17:23:8</creation-date>
- <lastmodification-date>18/9/2003 - 17:23:8</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>1</x-position>
- <y-position>152</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>18/9/2003 - 17:23:8</creation-date>
- <lastmodification-date>18/9/2003 - 17:23:8</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>412</x-position>
- <y-position>377</y-position> </node>
- <node>
-<component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>18/9/2003 - 17:23:8</creation-date>
- <lastmodification-date>18/9/2003 - 17:23:8</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>412</x-position>
- <y-position>152</y-position> </node>
- <node>
-<component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Div</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>18/9/2003 - 17:23:8</creation-date>
- <lastmodification-date>18/9/2003 - 17:23:8</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Div from DivComponent</comment>
- <x-position>622</x-position>
- <y-position>124</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>Adder</outParameter-type>
- <outParameter-name>Adder</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>18/9/2003 - 17:23:8</creation-date>
- <lastmodification-date>18/9/2003 - 17:23:8</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/AdditionServer</container>
- <comment>Addition from AddComponent</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>Adder</outParameter-type>
- <outParameter-name>Adder</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>18/9/2003 - 17:23:8</creation-date>
- <lastmodification-date>18/9/2003 - 17:23:8</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/Addition_1Server</container>
- <comment>Addition from AddComponent</comment>
- <x-position>4</x-position>
- <y-position>327</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>AddAndCompare</node-name>
- <kind>2</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>AddAndCompare</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>Adder</inParameter-type>
- <inParameter-name>Adder</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>Adder</inParameter-type>
- <inParameter-name>anOtherAdder</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>18/9/2003 - 17:23:8</creation-date>
- <lastmodification-date>18/9/2003 - 17:23:8</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>233</x-position>
- <y-position>0</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>195</x>
- <y>108</y> </coord>
- <coord>
-<x>195</x>
- <y>233</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>187</x>
- <y>459</y> </coord>
- <coord>
-<x>186</x>
- <y>262</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>187</x>
- <y>139</y> </coord>
- <coord>
-<x>186</x>
- <y>261</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>598</x>
- <y>203</y> </coord>
- <coord>
-<x>598</x>
- <y>457</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Addition</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>Adder</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Addition_1</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>AddAndCompare</tonode-name>
- <toserviceparameter-name>anOtherAdder</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>215</x>
- <y>168</y> </coord>
- <coord>
-<x>214</x>
- <y>407</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphEssai3</fromnode-name>
- <fromserviceparameter-name>Add\x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEssai3</fromnode-name>
- <fromserviceparameter-name>Add\y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>2</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEssai3</fromnode-name>
- <fromserviceparameter-name>Sub\y</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphEssai3</fromnode-name>
- <fromserviceparameter-name>Mul\y</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>4</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<?xml version='1.0' encoding='us-ascii' ?>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-
-<!-- XML Dataflow -->
-
-<!-- Dataflow information -->
-<dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphFactorial</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphFactorial</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>eval\n</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>eval\f</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <Parameter-list>
- </Parameter-list>
- <PyFunction-list>
- </PyFunction-list>
- <creation-date>11/3/2003 - 11:3:56</creation-date>
- <lastmodification-date>11/3/2003 - 11:3:56</lastmodification-date>
- <editor-release>1.04</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>FactorialComponent</component-name>
- <interface-name>FactorialComponent</interface-name>
- <node-name>eval</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>eval</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>n</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>f</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <Parameter-list>
- </Parameter-list>
- <PyFunction-list>
- </PyFunction-list>
- <creation-date>11/3/2003 - 11:3:56</creation-date>
- <lastmodification-date>11/3/2003 - 11:3:56</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>ServerPy</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </node-list>
-
- <link-list>
- </link-list>
-
- <data-list>
- <data>
- <fromnode-name>GraphFactorial</fromnode-name>
- <fromserviceparameter-name>eval\n</fromserviceparameter-name>
- <tonode-name>eval</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>5</value>
- </data-value>
- <coord-list>
- </coord-list>
- </data>
- </data-list>
-
-</dataflow>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphGOTO_2</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphGOTO_2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__KB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>test__Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch_OneEven__Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch_OneEven__K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>17/1/2005 - 13:44:46</creation-date>
- <lastmodification-date>18/1/2005 - 16:11:13</lastmodification-date>
- <editor-release>2.0</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>test_ISEVEN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISEVEN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <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>204</x-position>
- <y-position>420</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>test_ISONE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISONE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolOne</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <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>208</x-position>
- <y-position>155</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>m3p1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_M3P1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>anEvenInteger</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <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_M3P1 from SyrComponent</comment>
- <x-position>861</x-position>
- <y-position>46</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>
-<service-name>C_DIV2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <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_DIV2 from SyrComponent</comment>
- <x-position>858</x-position>
- <y-position>466</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>incr</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <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_INCR from SyrComponent</comment>
- <x-position>865</x-position>
- <y-position>169</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>incr_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <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_INCR from SyrComponent</comment>
- <x-position>859</x-position>
- <y-position>338</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_begin</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_begin</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_begin</FuncName>
- <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>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>10</x-position>
- <y-position>260</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_test</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_test</FuncName>
- <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>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>400</x-position>
- <y-position>220</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>test</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch_OneEven</coupled-node>
- <service>
-<service-name>test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Switch_OneEven</FuncName>
- <PyFunc><![CDATA[def Switch_OneEven( ValOne , ValEven , NT , KT ) :]]></PyFunc>
- <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
- <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0]]></PyFunc>
- <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>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>596</x-position>
- <y-position>260</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch_OneEven</node-name>
- <kind>7</kind>
- <coupled-node>test</coupled-node>
- <service>
-<service-name>EndSwitch_OneEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Finished</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch_OneEven</FuncName>
- <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>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>1331</x-position>
- <y-position>310</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_m3p1</node-name>
- <kind>8</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>control_m3p1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<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>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>86</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_div2</node-name>
- <kind>8</kind>
- <coupled-node>label_begin</coupled-node>
- <service>
-<service-name>control_div2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KB</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>control_div2</FuncName>
- <PyFunc><![CDATA[def control_div2( N , NB ) :]]></PyFunc>
- <PyFunc><![CDATA[ return N,NB]]></PyFunc> </PyFunction> </PyFunction-list>
- <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>1128</x-position>
- <y-position>453</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>test_ISEVEN</fromnode-name>
- <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>374</x>
- <y>290</y> </coord>
- <coord>
-<x>374</x>
- <y>491</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test_ISONE</fromnode-name>
- <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValOne</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>385</x>
- <y>311</y> </coord>
- <coord>
-<x>385</x>
- <y>226</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>m3p1</fromnode-name>
- <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>div2</fromnode-name>
- <fromserviceparameter-name>anInteger</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1048</x>
- <y>135</y> </coord>
- <coord>
-<x>1048</x>
- <y>241</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr_1</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISONE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>191</x>
- <y>225</y> </coord>
- <coord>
-<x>191</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISEVEN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>190</x>
- <y>491</y> </coord>
- <coord>
-<x>190</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>ValEven</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <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/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Finished</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>Finished</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>incr_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>incr</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>808</x>
- <y>116</y> </coord>
- <coord>
-<x>806</x>
- <y>372</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>806</x>
- <y>537</y> </coord>
- <coord>
-<x>806</x>
- <y>373</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>incr</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <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/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1319</x>
- <y>385</y> </coord>
- <coord>
-<x>1319</x>
- <y>577</y> </coord>
- <coord>
-<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>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>389</x>
- <y>375</y> </coord>
- <coord>
-<x>389</x>
- <y>597</y> </coord>
- <coord>
-<x>1519</x>
- <y>602</y> </coord>
- <coord>
-<x>1508</x>
- <y>201</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_div2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>3</x>
- <y>373</y> </coord>
- <coord>
-<x>3</x>
- <y>587</y> </coord>
- <coord>
-<x>1307</x>
- <y>586</y> </coord>
- <coord>
-<x>1307</x>
- <y>528</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphGOTO_2</fromnode-name>
- <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>NB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>7</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphGOTO_2</fromnode-name>
- <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>KB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphGOTO1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphGOTO_2_2_3</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__KB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>test__Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch_OneEven__Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch_OneEven__K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>17/1/2005 - 13:44:46</creation-date>
- <lastmodification-date>6/6/2005 - 14:54:25</lastmodification-date>
- <editor-release>2.0</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>test_ISEVEN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISEVEN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 14:54:25</creation-date>
- <lastmodification-date>6/6/2005 - 14:54:25</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>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>test_ISONE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISONE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolOne</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 14:54:25</creation-date>
- <lastmodification-date>6/6/2005 - 14:54:25</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>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>m3p1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_M3P1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>anEvenInteger</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 14:54:25</creation-date>
- <lastmodification-date>6/6/2005 - 14:54:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_M3P1 from SyrComponent</comment>
- <x-position>861</x-position>
- <y-position>46</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>
-<service-name>C_DIV2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 14:54:25</creation-date>
- <lastmodification-date>6/6/2005 - 14:54:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_DIV2 from SyrComponent</comment>
- <x-position>858</x-position>
- <y-position>466</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>incr</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 14:54:25</creation-date>
- <lastmodification-date>6/6/2005 - 14:54:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_INCR from SyrComponent</comment>
- <x-position>865</x-position>
- <y-position>169</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_begin</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_begin</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_begin</FuncName>
- <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>6/6/2005 - 14:54:25</creation-date>
- <lastmodification-date>6/6/2005 - 14:54:25</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>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_test</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_test</FuncName>
- <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>6/6/2005 - 14:54:25</creation-date>
- <lastmodification-date>6/6/2005 - 14:54:25</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>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>test</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch_OneEven</coupled-node>
- <service>
-<service-name>test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Switch_OneEven</FuncName>
- <PyFunc><![CDATA[def Switch_OneEven( ValOne , ValEven , NT , KT ) :]]></PyFunc>
- <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
- <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0]]></PyFunc>
- <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>6/6/2005 - 14:54:25</creation-date>
- <lastmodification-date>6/6/2005 - 14:54:25</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>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch_OneEven</node-name>
- <kind>7</kind>
- <coupled-node>test</coupled-node>
- <service>
-<service-name>EndSwitch_OneEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Finished</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch_OneEven</FuncName>
- <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>6/6/2005 - 14:54:25</creation-date>
- <lastmodification-date>6/6/2005 - 14:54:25</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>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_m3p1</node-name>
- <kind>8</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>control_m3p1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<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>6/6/2005 - 14:54:25</creation-date>
- <lastmodification-date>6/6/2005 - 14:54:25</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>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_div2</node-name>
- <kind>8</kind>
- <coupled-node>label_begin</coupled-node>
- <service>
-<service-name>control_div2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KB</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>control_div2</FuncName>
- <PyFunc><![CDATA[def control_div2( N , NB ) :]]></PyFunc>
- <PyFunc><![CDATA[ return N,NB]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 14:54:25</creation-date>
- <lastmodification-date>6/6/2005 - 14:54:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1128</x-position>
- <y-position>453</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>test_ISEVEN</fromnode-name>
- <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>369</x>
- <y>273</y> </coord>
- <coord>
-<x>370</x>
- <y>498</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test_ISONE</fromnode-name>
- <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValOne</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>384</x>
- <y>281</y> </coord>
- <coord>
-<x>384</x>
- <y>225</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>m3p1</fromnode-name>
- <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>div2</fromnode-name>
- <fromserviceparameter-name>anInteger</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1048</x>
- <y>139</y> </coord>
- <coord>
-<x>1048</x>
- <y>241</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1052</x>
- <y>504</y> </coord>
- <coord>
-<x>1049</x>
- <y>239</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISONE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>192</x>
- <y>226</y> </coord>
- <coord>
-<x>191</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISEVEN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>191</x>
- <y>494</y> </coord>
- <coord>
-<x>192</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>ValEven</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <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/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Finished</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>Finished</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-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>
- <link>
-<fromnode-name>test</fromnode-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>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>808</x>
- <y>113</y> </coord>
- <coord>
-<x>807</x>
- <y>352</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>806</x>
- <y>537</y> </coord>
- <coord>
-<x>807</x>
- <y>351</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-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>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>840</x>
- <y>381</y> </coord>
- <coord>
-<x>839</x>
- <y>394</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_m3p1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>388</x>
- <y>388</y> </coord>
- <coord>
-<x>389</x>
- <y>597</y> </coord>
- <coord>
-<x>1441</x>
- <y>604</y> </coord>
- <coord>
-<x>1441</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_div2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>4</x>
- <y>388</y> </coord>
- <coord>
-<x>3</x>
- <y>587</y> </coord>
- <coord>
-<x>1307</x>
- <y>586</y> </coord>
- <coord>
-<x>1307</x>
- <y>528</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphGOTO1</fromnode-name>
- <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>NB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>7</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphGOTO1</fromnode-name>
- <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>KB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphGOTOAborted</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphGOTO_2_2_2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__KB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch_OneEven__Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch_OneEven__K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>17/1/2005 - 13:44:46</creation-date>
- <lastmodification-date>6/6/2005 - 14:53:29</lastmodification-date>
- <editor-release>2.0</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>test_ISEVEN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISEVEN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 14:53:29</creation-date>
- <lastmodification-date>6/6/2005 - 14:53:29</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>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>test_ISONE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISONE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolOne</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 14:53:29</creation-date>
- <lastmodification-date>6/6/2005 - 14:53:29</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>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>m3p1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_M3P1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>anEvenInteger</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 14:53:29</creation-date>
- <lastmodification-date>6/6/2005 - 14:53:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_M3P1 from SyrComponent</comment>
- <x-position>861</x-position>
- <y-position>46</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>
-<service-name>C_DIV2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 14:53:29</creation-date>
- <lastmodification-date>6/6/2005 - 14:53:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_DIV2 from SyrComponent</comment>
- <x-position>858</x-position>
- <y-position>466</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>incr</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/6/2005 - 14:53:29</creation-date>
- <lastmodification-date>6/6/2005 - 14:53:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_INCR from SyrComponent</comment>
- <x-position>865</x-position>
- <y-position>169</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_begin</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_begin</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_begin</FuncName>
- <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>6/6/2005 - 14:53:29</creation-date>
- <lastmodification-date>6/6/2005 - 14:53:29</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>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_test</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_test</FuncName>
- <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>6/6/2005 - 14:53:29</creation-date>
- <lastmodification-date>6/6/2005 - 14:53:29</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>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>test</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch_OneEven</coupled-node>
- <service>
-<service-name>test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Switch_OneEven</FuncName>
- <PyFunc><![CDATA[def Switch_OneEven( ValOne , ValEven , NT , KT ) :]]></PyFunc>
- <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
- <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0]]></PyFunc>
- <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>6/6/2005 - 14:53:29</creation-date>
- <lastmodification-date>6/6/2005 - 14:53:29</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>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch_OneEven</node-name>
- <kind>7</kind>
- <coupled-node>test</coupled-node>
- <service>
-<service-name>EndSwitch_OneEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Finished</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch_OneEven</FuncName>
- <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>6/6/2005 - 14:53:29</creation-date>
- <lastmodification-date>6/6/2005 - 14:53:29</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>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_m3p1</node-name>
- <kind>8</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>control_m3p1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<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>6/6/2005 - 14:53:29</creation-date>
- <lastmodification-date>6/6/2005 - 14:53:29</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>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_div2</node-name>
- <kind>8</kind>
- <coupled-node>label_begin</coupled-node>
- <service>
-<service-name>control_div2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KB</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>control_div2</FuncName>
- <PyFunc><![CDATA[def control_div2( N , NB ) :]]></PyFunc>
- <PyFunc><![CDATA[ return N,NB]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 14:53:29</creation-date>
- <lastmodification-date>6/6/2005 - 14:53:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1128</x-position>
- <y-position>453</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>test_ISEVEN</fromnode-name>
- <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>369</x>
- <y>273</y> </coord>
- <coord>
-<x>370</x>
- <y>498</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test_ISONE</fromnode-name>
- <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValOne</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>384</x>
- <y>281</y> </coord>
- <coord>
-<x>384</x>
- <y>225</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>m3p1</fromnode-name>
- <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>div2</fromnode-name>
- <fromserviceparameter-name>anInteger</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1048</x>
- <y>139</y> </coord>
- <coord>
-<x>1048</x>
- <y>241</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1052</x>
- <y>504</y> </coord>
- <coord>
-<x>1049</x>
- <y>239</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISONE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>192</x>
- <y>226</y> </coord>
- <coord>
-<x>191</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISEVEN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>191</x>
- <y>494</y> </coord>
- <coord>
-<x>192</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>ValEven</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <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/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Finished</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>Finished</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>incr</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-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>
- <link>
-<fromnode-name>test</fromnode-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>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>808</x>
- <y>113</y> </coord>
- <coord>
-<x>807</x>
- <y>352</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>806</x>
- <y>537</y> </coord>
- <coord>
-<x>807</x>
- <y>351</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-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>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>840</x>
- <y>381</y> </coord>
- <coord>
-<x>839</x>
- <y>394</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_m3p1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>388</x>
- <y>388</y> </coord>
- <coord>
-<x>389</x>
- <y>597</y> </coord>
- <coord>
-<x>1441</x>
- <y>604</y> </coord>
- <coord>
-<x>1441</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_div2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>4</x>
- <y>388</y> </coord>
- <coord>
-<x>3</x>
- <y>587</y> </coord>
- <coord>
-<x>1307</x>
- <y>586</y> </coord>
- <coord>
-<x>1307</x>
- <y>528</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphGOTOAborted</fromnode-name>
- <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>NB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>7</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphGOTOAborted</fromnode-name>
- <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>KB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphGOTOAddMemory</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphGOTOAddMemory_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AddWithoutSleep__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AddWithoutSleep__y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AddWithoutSleep__FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AddWithoutSleep__z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>17/2/2005 - 14:8:55</creation-date>
- <lastmodification-date>21/2/2005 - 10:9:51</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>To study memory leaks</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>InLine</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>InLine</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/2/2005 - 10:9:51</creation-date>
- <lastmodification-date>21/2/2005 - 10:9:51</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>74</x-position>
- <y-position>178</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GoTo</node-name>
- <kind>8</kind>
- <coupled-node>InLine</coupled-node>
- <service>
-<service-name>GoTo</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/2/2005 - 10:9:51</creation-date>
- <lastmodification-date>21/2/2005 - 10:9:51</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>533</x-position>
- <y-position>218</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>AddWithoutSleep</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>AddWithoutSleep</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>21/2/2005 - 10:9:51</creation-date>
- <lastmodification-date>21/2/2005 - 10:9:51</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>AddWithoutSleep from AddComponent</comment>
- <x-position>297</x-position>
- <y-position>138</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>InLine</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>AddWithoutSleep</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>GoTo</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>InLine</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>69</x>
- <y>420</y> </coord>
- <coord>
-<x>700</x>
- <y>420</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>AddWithoutSleep</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>GoTo</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphGOTOAddMemory</fromnode-name>
- <fromserviceparameter-name>AddWithoutSleep__x</fromserviceparameter-name>
- <tonode-name>AddWithoutSleep</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphGOTOAddMemory</fromnode-name>
- <fromserviceparameter-name>AddWithoutSleep__y</fromserviceparameter-name>
- <tonode-name>AddWithoutSleep</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>2</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphGOTOMemory</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphGOTOAddMemory_2</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>17/2/2005 - 14:8:55</creation-date>
- <lastmodification-date>21/2/2005 - 10:10:15</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>To study memory leaks</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>InLine</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>InLine</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/2/2005 - 10:10:15</creation-date>
- <lastmodification-date>21/2/2005 - 10:10:15</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>74</x-position>
- <y-position>178</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GoTo</node-name>
- <kind>8</kind>
- <coupled-node>InLine</coupled-node>
- <service>
-<service-name>GoTo</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/2/2005 - 10:10:15</creation-date>
- <lastmodification-date>21/2/2005 - 10:10:15</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>533</x-position>
- <y-position>218</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>InLine</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>GoTo</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>GoTo</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>InLine</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>69</x>
- <y>420</y> </coord>
- <coord>
-<x>700</x>
- <y>420</y> </coord> </coord-list> </link> </link-list>
- <data-list/> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>aNewDataFlow</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>SetStudyID__theStudyID</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theZ</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theRadius</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDZ</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>MakeFuse__return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>29/10/2004 - 11:8:11</creation-date>
- <lastmodification-date>11/11/2004 - 12:53:24</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>SetStudyID</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SetStudyID</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>theStudyID</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 12:50:30</creation-date>
- <lastmodification-date>11/11/2004 - 12:50:30</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>SetStudyID from GEOM_Superv</comment>
- <x-position>13</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeSphere</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeSphere</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theZ</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theRadius</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 12:51:22</creation-date>
- <lastmodification-date>11/11/2004 - 12:51:22</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeSphere from GEOM_Superv</comment>
- <x-position>210</x-position>
- <y-position>49</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeCopy</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeCopy</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theOriginal</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 12:52:16</creation-date>
- <lastmodification-date>11/11/2004 - 12:52:16</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeCopy from GEOM_Superv</comment>
- <x-position>412</x-position>
- <y-position>12</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeCopy_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeCopy</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theOriginal</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 12:52:31</creation-date>
- <lastmodification-date>11/11/2004 - 12:52:31</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeCopy from GEOM_Superv</comment>
- <x-position>414</x-position>
- <y-position>183</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>TranslateDXDYDZ</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>TranslateDXDYDZ</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theObject</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theDX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theDY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theDZ</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 12:52:54</creation-date>
- <lastmodification-date>11/11/2004 - 12:52:54</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>TranslateDXDYDZ from GEOM_Superv</comment>
- <x-position>606</x-position>
- <y-position>12</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeFuse</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeFuse</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 12:53:16</creation-date>
- <lastmodification-date>11/11/2004 - 12:53:16</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeFuse from GEOM_Superv</comment>
- <x-position>801</x-position>
- <y-position>163</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>SetStudyID</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeSphere</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeCopy</tonode-name>
- <toserviceparameter-name>theOriginal</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeSphere</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>theOriginal</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeCopy</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theObject</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>TranslateDXDYDZ</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape1</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>SetStudyID__theStudyID</fromserviceparameter-name>
- <tonode-name>SetStudyID</tonode-name>
- <toserviceparameter-name>theStudyID</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theX</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theX</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theY</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theY</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theZ</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theZ</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theRadius</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theRadius</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>20</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDX</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDX</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDY</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDY</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDZ</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDZ</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>aNewDataFlow</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>SetStudyID__theStudyID</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theZ</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theRadius</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDZ</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>MakeFuse__return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>29/10/2004 - 11:8:11</creation-date>
- <lastmodification-date>7/12/2005 - 16:43:30</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>SetStudyID</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>SetStudyID</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>theStudyID</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list/>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>7/12/2005 - 16:43:30</creation-date>
- <lastmodification-date>7/12/2005 - 16:43:30</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>SetStudyID from GEOM_Superv</comment>
- <x-position>14</x-position>
- <y-position>104</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeSphere</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeSphere</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theZ</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theRadius</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>7/12/2005 - 16:43:30</creation-date>
- <lastmodification-date>7/12/2005 - 16:43:30</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeSphere from GEOM_Superv</comment>
- <x-position>198</x-position>
- <y-position>32</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeCopy</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeCopy</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theOriginal</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>7/12/2005 - 16:43:30</creation-date>
- <lastmodification-date>7/12/2005 - 16:43:30</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeCopy from GEOM_Superv</comment>
- <x-position>390</x-position>
- <y-position>11</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeCopy_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeCopy</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theOriginal</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>7/12/2005 - 16:43:30</creation-date>
- <lastmodification-date>7/12/2005 - 16:43:30</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeCopy from GEOM_Superv</comment>
- <x-position>429</x-position>
- <y-position>177</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>TranslateDXDYDZ</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>TranslateDXDYDZ</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theObject</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theDX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theDY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theDZ</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>7/12/2005 - 16:43:30</creation-date>
- <lastmodification-date>7/12/2005 - 16:43:30</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>TranslateDXDYDZ from GEOM_Superv</comment>
- <x-position>615</x-position>
- <y-position>11</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeFuse</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeFuse</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>7/12/2005 - 16:43:30</creation-date>
- <lastmodification-date>7/12/2005 - 16:43:30</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeFuse from GEOM_Superv</comment>
- <x-position>806</x-position>
- <y-position>33</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>SetStudyID</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeCopy</tonode-name>
- <toserviceparameter-name>theOriginal</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>theOriginal</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theObject</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>382</x>
- <y>174</y>
- </coord>
- <coord>
- <x>552</x>
- <y>147</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape2</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>784</x>
- <y>199</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>TranslateDXDYDZ</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>TranslateDXDYDZ</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>SetStudyID__theStudyID</fromserviceparameter-name>
- <tonode-name>SetStudyID</tonode-name>
- <toserviceparameter-name>theStudyID</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>1</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theX</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theX</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theY</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theY</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theZ</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theZ</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theRadius</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theRadius</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>20</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDX</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDX</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>10</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDY</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDY</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>10</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDZ</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDZ</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>10</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphGeomEssai_1_1_1_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphGeomEssai_1_1_1_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__z1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__radius</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__z1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>MakeFuse_1__shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>10/7/2002 - 14:53:2</creation-date>
- <lastmodification-date>14/12/2005 - 14:43:56</lastmodification-date>
- <editor-release>1.03</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>gag</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>gag</service-name>
- <inParameter-list/>
- <outParameter-list/>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>gag</FuncName>
- <PyFunc><![CDATA[from batchmode_geompy import * ]]></PyFunc>
- <PyFunc><![CDATA[def gag(): ]]></PyFunc>
- <PyFunc><![CDATA[ # This is a gag ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:43:22</creation-date>
- <lastmodification-date>14/12/2005 - 14:43:22</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>0</x-position>
- <y-position>166</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeSphere_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeSphere_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>radius</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeSphere_1</FuncName>
- <PyFunc><![CDATA[def MakeSphere_1(x1,y1,z1,radius): ]]></PyFunc>
- <PyFunc><![CDATA[ apoint=MakeVertex(x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeSpherePntR(apoint,radius) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:43:22</creation-date>
- <lastmodification-date>14/12/2005 - 14:43:22</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>181</x-position>
- <y-position>86</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeCopy_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeCopy_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeCopy_1</FuncName>
- <PyFunc><![CDATA[def MakeCopy_1(shape1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeCopy(shape1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:43:22</creation-date>
- <lastmodification-date>14/12/2005 - 14:43:22</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>386</x-position>
- <y-position>2</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeCopy_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeCopy_2</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeCopy_2</FuncName>
- <PyFunc><![CDATA[def MakeCopy_2(shape1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeCopy(shape1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:43:22</creation-date>
- <lastmodification-date>14/12/2005 - 14:43:22</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>388</x-position>
- <y-position>181</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeFuse_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeFuse_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeFuse_1</FuncName>
- <PyFunc><![CDATA[def MakeFuse_1(shape1,shape2): ]]></PyFunc>
- <PyFunc><![CDATA[ # fuse operation 3 ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeBoolean(shape1,shape2,3) ]]></PyFunc>
- <PyFunc><![CDATA[ from SALOME_NamingServicePy import SALOME_NamingServicePy_i ]]></PyFunc>
- <PyFunc><![CDATA[ myNamingService = SALOME_NamingServicePy_i(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ aSession = myNamingService.Resolve('/Kernel/Session') ]]></PyFunc>
- <PyFunc><![CDATA[ aStudyId = aSession.GetActiveStudyId() ]]></PyFunc>
- <PyFunc><![CDATA[ myStudyManager = myNamingService.Resolve('/myStudyManager') ]]></PyFunc>
- <PyFunc><![CDATA[ aStudy = myStudyManager.GetStudyByID(aStudyId) ]]></PyFunc>
- <PyFunc><![CDATA[ aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:43:22</creation-date>
- <lastmodification-date>14/12/2005 - 14:43:22</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>779</x-position>
- <y-position>161</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeTranslation_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeTranslation_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeTranslation_1</FuncName>
- <PyFunc><![CDATA[def MakeTranslation_1(shape1,x1,y1,z1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeTranslation(shape1,x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:43:22</creation-date>
- <lastmodification-date>14/12/2005 - 14:43:22</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>580</x-position>
- <y-position>2</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>gag</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeCopy_2</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeCopy_2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>369</x>
- <y>276</y>
- </coord>
- <coord>
- <x>560</x>
- <y>97</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeCopy_2</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape2</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy_2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeTranslation_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeTranslation_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>GraphGeomEssai_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__x1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphGeomEssai_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__y1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphGeomEssai_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__z1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphGeomEssai_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__radius</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>radius</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>20</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphGeomEssai_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__x1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>10</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphGeomEssai_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__y1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>10</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphGeomEssai_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__z1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>10</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphGeomEssai_1_1_1_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphGeomEssai_1_1_1_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__z1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__radius</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__z1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>MakeFuse_1__shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>10/7/2002 - 14:53:2</creation-date>
- <lastmodification-date>29/10/2004 - 15:7:37</lastmodification-date>
- <editor-release>1.03</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>gag</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>gag</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>gag</FuncName>
- <PyFunc><![CDATA[from batchmode_geompy import * ]]></PyFunc>
- <PyFunc><![CDATA[def gag(): ]]></PyFunc>
- <PyFunc><![CDATA[ # This is a gag ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 14:58:4</creation-date>
- <lastmodification-date>29/10/2004 - 14:58:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>0</x-position>
- <y-position>166</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeSphere_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeSphere_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>radius</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeSphere_1</FuncName>
- <PyFunc><![CDATA[def MakeSphere_1(x1,y1,z1,radius): ]]></PyFunc>
- <PyFunc><![CDATA[ apoint=MakeVertex(x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeSpherePntR(apoint,radius) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 14:58:4</creation-date>
- <lastmodification-date>29/10/2004 - 14:58:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>181</x-position>
- <y-position>86</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeCopy_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeCopy_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeCopy_1</FuncName>
- <PyFunc><![CDATA[def MakeCopy_1(shape1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeCopy(shape1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 14:58:4</creation-date>
- <lastmodification-date>29/10/2004 - 14:58:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>386</x-position>
- <y-position>2</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeCopy_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeCopy_2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeCopy_2</FuncName>
- <PyFunc><![CDATA[def MakeCopy_2(shape1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeCopy(shape1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 14:58:4</creation-date>
- <lastmodification-date>29/10/2004 - 14:58:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>388</x-position>
- <y-position>181</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeFuse_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeFuse_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeFuse_1</FuncName>
- <PyFunc><![CDATA[def MakeFuse_1(shape1,shape2): ]]></PyFunc>
- <PyFunc><![CDATA[ # fuse operation 3 ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeBoolean(shape1,shape2,3) ]]></PyFunc>
- <PyFunc><![CDATA[ from SALOME_NamingServicePy import SALOME_NamingServicePy_i ]]></PyFunc>
- <PyFunc><![CDATA[ myNamingService = SALOME_NamingServicePy_i(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ aSession = myNamingService.Resolve('/Kernel/Session') ]]></PyFunc>
- <PyFunc><![CDATA[ if aSession == None : ]]></PyFunc>
- <PyFunc><![CDATA[ aStudyId = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ aStudyId = aSession.GetActiveStudyId() ]]></PyFunc>
- <PyFunc><![CDATA[ myStudyManager = myNamingService.Resolve('/myStudyManager') ]]></PyFunc>
- <PyFunc><![CDATA[ aStudy = myStudyManager.GetStudyByID(aStudyId) ]]></PyFunc>
- <PyFunc><![CDATA[ aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 14:58:4</creation-date>
- <lastmodification-date>29/10/2004 - 14:58:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>779</x-position>
- <y-position>161</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeTranslation_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeTranslation_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeTranslation_1</FuncName>
- <PyFunc><![CDATA[def MakeTranslation_1(shape1,x1,y1,z1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeTranslation(shape1,x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:1:27</creation-date>
- <lastmodification-date>29/10/2004 - 15:1:27</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>580</x-position>
- <y-position>2</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>gag</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeCopy_2</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeCopy_2</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeTranslation_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphGeomEssai_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__x1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphGeomEssai_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__y1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphGeomEssai_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__z1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphGeomEssai_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__radius</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>radius</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>20</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphGeomEssai_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__x1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphGeomEssai_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__y1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphGeomEssai_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__z1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>aNewDataFlow</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>VoidFunction__Done</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>8/12/2004 - 12:52:44</creation-date>
- <lastmodification-date>8/12/2004 - 16:0:49</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>VoidFunction</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>VoidFunction</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Done</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>VoidFunction</FuncName>
- <PyFunc><![CDATA[import salome ]]></PyFunc>
- <PyFunc><![CDATA[def VoidFunction() : ]]></PyFunc>
- <PyFunc><![CDATA[ print 'VoidFunction()' ]]></PyFunc>
- <PyFunc><![CDATA[ return 'Done' ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/12/2004 - 16:0:49</creation-date>
- <lastmodification-date>8/12/2004 - 16:0:49</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>60</x-position>
- <y-position>58</y-position> </node> </node-list>
- <link-list/>
- <data-list/> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphInLines</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphInLines</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Add\a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Sub\a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Sub\b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Mul\Result</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>24/3/2003 - 10:58:41</creation-date>
- <lastmodification-date>18/9/2003 - 17:30:7</lastmodification-date>
- <editor-release>1.04</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>Add</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>f</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Add</FuncName>
- <PyFunc><![CDATA[def Add(a,b) : ]]></PyFunc>
- <PyFunc><![CDATA[ return a+b ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>18/9/2003 - 17:30:7</creation-date>
- <lastmodification-date>18/9/2003 - 17:30:7</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>351</x-position>
- <y-position>77</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Sub</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>f</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Sub</FuncName>
- <PyFunc><![CDATA[def Sub(a,b) : ]]></PyFunc>
- <PyFunc><![CDATA[ return a-b ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>18/9/2003 - 17:30:7</creation-date>
- <lastmodification-date>18/9/2003 - 17:30:7</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>86</x-position>
- <y-position>333</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Mul</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Result</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Mul</FuncName>
- <PyFunc><![CDATA[def Mul(a,b) : ]]></PyFunc>
- <PyFunc><![CDATA[ return a*b ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>18/9/2003 - 17:30:7</creation-date>
- <lastmodification-date>18/9/2003 - 17:30:7</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>616</x-position>
- <y-position>247</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>569</x>
- <y>326</y> </coord>
- <coord>
-<x>569</x>
- <y>158</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>283</x>
- <y>358</y> </coord>
- <coord>
-<x>281</x>
- <y>413</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>283</x>
- <y>187</y> </coord>
- <coord>
-<x>282</x>
- <y>356</y> </coord>
- <coord>
-<x>281</x>
- <y>414</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphInLines</fromnode-name>
- <fromserviceparameter-name>Add\a</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphInLines</fromnode-name>
- <fromserviceparameter-name>Sub\a</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphInLines</fromnode-name>
- <fromserviceparameter-name>Sub\b</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>4</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphInLinesParall</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphInLinesParall</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Add\a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Sub\a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Sub\b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Add\f</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Mul\Result</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>24/3/2003 - 10:58:41</creation-date>
- <lastmodification-date>18/9/2003 - 17:31:28</lastmodification-date>
- <editor-release>1.04</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>Add</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>f</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Add</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def Add(a,b) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Add will wait 5 seconds" ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(5) ]]></PyFunc>
- <PyFunc><![CDATA[ print "Add waited" ]]></PyFunc>
- <PyFunc><![CDATA[ return a+b ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>18/9/2003 - 17:31:28</creation-date>
- <lastmodification-date>18/9/2003 - 17:31:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>351</x-position>
- <y-position>77</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Sub</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>f</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Sub</FuncName>
- <PyFunc><![CDATA[def Sub(a,b) : ]]></PyFunc>
- <PyFunc><![CDATA[ return a-b ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>18/9/2003 - 17:31:28</creation-date>
- <lastmodification-date>18/9/2003 - 17:31:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>86</x-position>
- <y-position>333</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Mul</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Result</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Mul</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def Mul(a,b) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Mul will wait 5 seconds" ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(5) ]]></PyFunc>
- <PyFunc><![CDATA[ print "Mul waited" ]]></PyFunc>
- <PyFunc><![CDATA[ return a*b ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>18/9/2003 - 17:31:28</creation-date>
- <lastmodification-date>18/9/2003 - 17:31:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>616</x-position>
- <y-position>247</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>583</x>
- <y>357</y> </coord>
- <coord>
-<x>583</x>
- <y>413</y> </coord>
- <coord>
-<x>282</x>
- <y>413</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>282</x>
- <y>186</y> </coord>
- <coord>
-<x>283</x>
- <y>413</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>583</x>
- <y>328</y> </coord>
- <coord>
-<x>583</x>
- <y>412</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphInLinesParall</fromnode-name>
- <fromserviceparameter-name>Add\a</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphInLinesParall</fromnode-name>
- <fromserviceparameter-name>Sub\a</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphInLinesParall</fromnode-name>
- <fromserviceparameter-name>Sub\b</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>4</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphInLinesConvertCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphInLinesConvertCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>BoolCheck\InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>CharCheck\InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>ShortCheck\InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>FloatCheck\InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LongCheck\InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>StringCheck\InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>DoubleCheck\InDouble</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Addre</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>1/9/2003 - 17:28:48</creation-date>
- <lastmodification-date>11/9/2003 - 14:10:54</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</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>BoolCheck</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BoolCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>BoolCheck</FuncName>
- <PyFunc><![CDATA[def BoolCheck( InBool ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return InBool ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:10:54</creation-date>
- <lastmodification-date>11/9/2003 - 14:10:54</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>234</x-position>
- <y-position>92</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>CharCheck</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>CharCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>CharCheck</FuncName>
- <PyFunc><![CDATA[def CharCheck( InChar ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return InChar ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:10:54</creation-date>
- <lastmodification-date>11/9/2003 - 14:10:54</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>30</x-position>
- <y-position>142</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>ShortCheck</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>ShortCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>ShortCheck</FuncName>
- <PyFunc><![CDATA[def ShortCheck( InShort ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return InShort ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:10:54</creation-date>
- <lastmodification-date>11/9/2003 - 14:10:54</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>234</x-position>
- <y-position>230</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>FloatCheck</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>FloatCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>FloatCheck</FuncName>
- <PyFunc><![CDATA[def FloatCheck( InFloat ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return InFloat ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:10:54</creation-date>
- <lastmodification-date>11/9/2003 - 14:10:54</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>230</x-position>
- <y-position>375</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>Adder</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 14:10:54</creation-date>
- <lastmodification-date>11/9/2003 - 14:10:54</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Addition from AddComponent</comment>
- <x-position>232</x-position>
- <y-position>514</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>LongCheck</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>LongCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>LongCheck</FuncName>
- <PyFunc><![CDATA[def LongCheck( InLong ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return InLong ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:10:54</creation-date>
- <lastmodification-date>11/9/2003 - 14:10:54</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>30</x-position>
- <y-position>282</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>StringCheck</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>StringCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>StringCheck</FuncName>
- <PyFunc><![CDATA[def StringCheck( aString ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return aString ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:10:54</creation-date>
- <lastmodification-date>11/9/2003 - 14:10:54</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>30</x-position>
- <y-position>6</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>DoubleCheck</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>DoubleCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>DoubleCheck</FuncName>
- <PyFunc><![CDATA[def DoubleCheck( InDouble ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return InDouble ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:10:54</creation-date>
- <lastmodification-date>11/9/2003 - 14:10:54</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>23</x-position>
- <y-position>427</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVision::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Addre</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MiscTypes</FuncName>
- <PyFunc><![CDATA[def MiscTypes( InString , InBool , InChar , InShort , InLong , InFloat , InDouble , InObjRef ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return InString,InBool,InChar,InShort,InLong,InFloat,InDouble,InObjRef ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/9/2003 - 14:10:54</creation-date>
- <lastmodification-date>11/9/2003 - 14:10:54</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>InLine Node</comment>
- <x-position>477</x-position>
- <y-position>231</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>BoolCheck</fromnode-name>
- <fromserviceparameter-name>OutBool</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>446</x>
- <y>341</y> </coord>
- <coord>
-<x>446</x>
- <y>172</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>CharCheck</fromnode-name>
- <fromserviceparameter-name>OutChar</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>431</x>
- <y>368</y> </coord>
- <coord>
-<x>431</x>
- <y>223</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>ShortCheck</fromnode-name>
- <fromserviceparameter-name>OutShort</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>415</x>
- <y>397</y> </coord>
- <coord>
-<x>414</x>
- <y>310</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>FloatCheck</fromnode-name>
- <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Addition</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>462</x>
- <y>514</y> </coord>
- <coord>
-<x>461</x>
- <y>593</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>LongCheck</fromnode-name>
- <fromserviceparameter-name>OutLong</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>406</x>
- <y>426</y> </coord>
- <coord>
-<x>405</x>
- <y>363</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>StringCheck</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>462</x>
- <y>312</y> </coord>
- <coord>
-<x>461</x>
- <y>87</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>DoubleCheck</fromnode-name>
- <fromserviceparameter-name>OutDouble</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>445</x>
- <y>485</y> </coord>
- <coord>
-<x>445</x>
- <y>508</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphInLinesConvertCheck</fromnode-name>
- <fromserviceparameter-name>BoolCheck\InBool</fromserviceparameter-name>
- <tonode-name>BoolCheck</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphInLinesConvertCheck</fromnode-name>
- <fromserviceparameter-name>CharCheck\InChar</fromserviceparameter-name>
- <tonode-name>CharCheck</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>255</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphInLinesConvertCheck</fromnode-name>
- <fromserviceparameter-name>ShortCheck\InShort</fromserviceparameter-name>
- <tonode-name>ShortCheck</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>16383</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphInLinesConvertCheck</fromnode-name>
- <fromserviceparameter-name>FloatCheck\InFloat</fromserviceparameter-name>
- <tonode-name>FloatCheck</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3.14159</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphInLinesConvertCheck</fromnode-name>
- <fromserviceparameter-name>LongCheck\InLong</fromserviceparameter-name>
- <tonode-name>LongCheck</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1234567890</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphInLinesConvertCheck</fromnode-name>
- <fromserviceparameter-name>StringCheck\InString</fromserviceparameter-name>
- <tonode-name>StringCheck</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value>aString</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphInLinesConvertCheck</fromnode-name>
- <fromserviceparameter-name>DoubleCheck\InDouble</fromserviceparameter-name>
- <tonode-name>DoubleCheck</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1.23457</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphInLinesUnValid</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphInLinesUnValid</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Sub\a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Sub\b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>24/3/2003 - 10:58:41</creation-date>
- <lastmodification-date>8/8/2003 - 15:31:37</lastmodification-date>
- <editor-release>1.04</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>Add</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>f</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Add</FuncName>
- <PyFunc><![CDATA[def Add(a,b) : ]]></PyFunc>
- <PyFunc><![CDATA[ return a+b ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/8/2003 - 15:30:23</creation-date>
- <lastmodification-date>8/8/2003 - 15:30:23</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>257</x-position>
- <y-position>13</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Sub</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>f</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Sub</FuncName>
- <PyFunc><![CDATA[def Sub(a,b) : ]]></PyFunc>
- <PyFunc><![CDATA[ return a-b ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/8/2003 - 15:30:23</creation-date>
- <lastmodification-date>8/8/2003 - 15:30:23</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>20</x-position>
- <y-position>152</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Mul</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Result</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Mul</FuncName>
- <PyFunc><![CDATA[def Mul(a,b) : ]]></PyFunc>
- <PyFunc><![CDATA[ return a*b ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/8/2003 - 15:30:23</creation-date>
- <lastmodification-date>8/8/2003 - 15:30:23</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>469</x-position>
- <y-position>125</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>451</x>
- <y>205</y> </coord>
- <coord>
-<x>450</x>
- <y>93</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>f</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>235</x>
- <y>122</y> </coord>
- <coord>
-<x>236</x>
- <y>232</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>Result</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>8</x>
- <y>92</y> </coord>
- <coord>
-<x>7</x>
- <y>332</y> </coord>
- <coord>
-<x>645</x>
- <y>334</y> </coord>
- <coord>
-<x>645</x>
- <y>204</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphInLinesUnValid</fromnode-name>
- <fromserviceparameter-name>Sub\a</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphInLinesUnValid</fromnode-name>
- <fromserviceparameter-name>Sub\b</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>4</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_4</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>aNewDataFlow_4</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MulNode__a</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MulNode__b</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>MulNode__c</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/4/2006 - 15:16:9</creation-date>
- <lastmodification-date>14/4/2006 - 15:16:12</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MulNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MulNode</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>b</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>c</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MulNode</FuncName>
- <PyFunc><![CDATA[def MulNode(a,b): ]]></PyFunc>
- <PyFunc><![CDATA[ c = a*b ]]></PyFunc>
- <PyFunc><![CDATA[ return c ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/4/2006 - 15:16:12</creation-date>
- <lastmodification-date>14/4/2006 - 15:16:12</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </node-list>
- <link-list/>
- <data-list>
- <data>
- <fromnode-name>aNewDataFlow_4</fromnode-name>
- <fromserviceparameter-name>MulNode__a</fromserviceparameter-name>
- <tonode-name>MulNode</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>10.5</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_4</fromnode-name>
- <fromserviceparameter-name>MulNode__b</fromserviceparameter-name>
- <tonode-name>MulNode</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>2</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphInputInLoop_2_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphInputInLoop_2_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>IsOdd__Const</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>IsOdd__Const</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>8/3/2005 - 15:2:42</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Const</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Const</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a,Even,Const) : ]]></PyFunc>
- <PyFunc><![CDATA[ print 'IsOdd',a,Even,Const ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Const ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:2:42</creation-date>
- <lastmodification-date>8/3/2005 - 15:2:42</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>5</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>
-<service-name>InitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:2:42</creation-date>
- <lastmodification-date>8/3/2005 - 15:2:42</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:2:42</creation-date>
- <lastmodification-date>8/3/2005 - 15:2:42</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>770</x-position>
- <y-position>147</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>8/3/2005 - 15:2:42</creation-date>
- <lastmodification-date>8/3/2005 - 15:2:42</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:2:42</creation-date>
- <lastmodification-date>8/3/2005 - 15:2:42</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>588</x-position>
- <y-position>147</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>573</x>
- <y>178</y> </coord>
- <coord>
-<x>573</x>
- <y>76</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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>366</x>
- <y>71</y> </coord>
- <coord>
-<x>366</x>
- <y>182</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphInputInLoop_2_1</fromnode-name>
- <fromserviceparameter-name>IsOdd__Const</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Const</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value>Const Input Value</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphInputInLoop_2_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>GraphInputInLoop_2_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>GraphInputInLoop_2_1</fromnode-name>
- <fromserviceparameter-name>InitLoop__Max</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>23</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoop</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>24/3/2003 - 14:44:35</creation-date>
- <lastmodification-date>16/12/2004 - 11:8:15</lastmodification-date>
- <editor-release>1.04</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>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ if Min <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def More(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(2) ]]></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,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + Incr ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/12/2004 - 11:8:15</creation-date>
- <lastmodification-date>16/12/2004 - 11:8:15</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>17</x-position>
- <y-position>257</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/12/2004 - 11:8:15</creation-date>
- <lastmodification-date>16/12/2004 - 11:8:15</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>366</x-position>
- <y-position>262</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoop</fromnode-name>
- <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
- <tonode-name>Init</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>GraphLoop</fromnode-name>
- <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoop</fromnode-name>
- <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoop</fromnode-name>
- <fromserviceparameter-name>Init__Incr</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoop1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoop_2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>24/3/2003 - 14:44:35</creation-date>
- <lastmodification-date>6/6/2005 - 15:13:52</lastmodification-date>
- <editor-release>1.04</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>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ if Min <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def More(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(2) ]]></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,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + Incr ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 15:13:52</creation-date>
- <lastmodification-date>6/6/2005 - 15:13:52</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>17</x-position>
- <y-position>257</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 15:13:52</creation-date>
- <lastmodification-date>6/6/2005 - 15:13:52</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>555</x-position>
- <y-position>255</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>NodeIndex</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>NodeIndex</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 15:13:52</creation-date>
- <lastmodification-date>6/6/2005 - 15:13:52</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>281</x-position>
- <y-position>215</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>NodeIncr</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>NodeIncr</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 15:13:52</creation-date>
- <lastmodification-date>6/6/2005 - 15:13:52</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>278</x-position>
- <y-position>372</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>NodeIndex</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>NodeIncr</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>NodeIndex</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>NodeIncr</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoop1</fromnode-name>
- <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
- <tonode-name>Init</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>GraphLoop1</fromnode-name>
- <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoop1</fromnode-name>
- <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoop1</fromnode-name>
- <fromserviceparameter-name>Init__Incr</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoop2</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoop1_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Incr</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>NodeIncr__aString</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>NodeIncr__aString</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>24/3/2003 - 14:44:35</creation-date>
- <lastmodification-date>6/6/2005 - 16:24:36</lastmodification-date>
- <editor-release>1.04</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>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ if Min <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def More(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(2) ]]></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,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + Incr ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 16:24:36</creation-date>
- <lastmodification-date>6/6/2005 - 16:24:36</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>17</x-position>
- <y-position>257</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 16:24:36</creation-date>
- <lastmodification-date>6/6/2005 - 16:24:36</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>555</x-position>
- <y-position>255</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>NodeIndex</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>NodeIndex</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 16:24:36</creation-date>
- <lastmodification-date>6/6/2005 - 16:24:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>281</x-position>
- <y-position>215</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>NodeIncr</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>NodeIncr</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>aString</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>aString</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/6/2005 - 16:24:36</creation-date>
- <lastmodification-date>6/6/2005 - 16:24:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>278</x-position>
- <y-position>372</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>NodeIndex</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>NodeIncr</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>NodeIndex</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>NodeIncr</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoop2</fromnode-name>
- <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
- <tonode-name>Init</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>GraphLoop2</fromnode-name>
- <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoop2</fromnode-name>
- <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoop2</fromnode-name>
- <fromserviceparameter-name>Init__Incr</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoop2</fromnode-name>
- <fromserviceparameter-name>NodeIncr__aString</fromserviceparameter-name>
- <tonode-name>NodeIncr</tonode-name>
- <toserviceparameter-name>aString</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value>NodeToDelete</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopAddMemory</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopMemory_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AddWithoutSleep__FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AddWithoutSleep__z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>24/3/2003 - 14:44:35</creation-date>
- <lastmodification-date>14/4/2005 - 16:44:51</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>For solving of memory leaks</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>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ if Min <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(Index,Min,Max,Incr) : ]]></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,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + Incr ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/4/2005 - 16:43:41</creation-date>
- <lastmodification-date>14/4/2005 - 16:43:41</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>17</x-position>
- <y-position>257</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/4/2005 - 16:43:41</creation-date>
- <lastmodification-date>14/4/2005 - 16:43:41</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>495</x-position>
- <y-position>262</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>AddWithoutSleep</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>AddWithoutSleep</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/4/2005 - 16:44:22</creation-date>
- <lastmodification-date>14/4/2005 - 16:44:22</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>AddWithoutSleep from AddComponent</comment>
- <x-position>246</x-position>
- <y-position>262</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>AddWithoutSleep</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>AddWithoutSleep</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>AddWithoutSleep</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopAddMemory</fromnode-name>
- <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
- <tonode-name>Init</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>GraphLoopAddMemory</fromnode-name>
- <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopAddMemory</fromnode-name>
- <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>100000</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopAddMemory</fromnode-name>
- <fromserviceparameter-name>Init__Incr</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopDoWhile</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopDoWhile</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>16/12/2004 - 15:39:50</creation-date>
- <lastmodification-date>16/12/2004 - 18:44:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>LoopWhileNext</FuncName>
- <PyFunc><![CDATA[def LoopWhileNext(Index,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/12/2004 - 18:44:10</creation-date>
- <lastmodification-date>16/12/2004 - 18:44:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>105</x-position>
- <y-position>226</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>DoWhile</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def DoWhile(DoLoop,Index,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ print 'DoWhile',DoLoop,Index,Max ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index == Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ print 'DoWhile',DoLoop,Index,Max ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/12/2004 - 18:44:10</creation-date>
- <lastmodification-date>16/12/2004 - 18:44:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>414</x-position>
- <y-position>232</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopDoWhile</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopDoWhile</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopGates</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopGates1_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add_1__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add_1__y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub_1__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub_1__y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add__FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add__z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add_1__FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add_1__z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Sub__z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Gate__G</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>7/1/2005 - 16:57:1</creation-date>
- <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Init(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(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>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/7/2005 - 10:26:6</creation-date>
- <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>181</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndInit</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/7/2005 - 10:26:6</creation-date>
- <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>847</x-position>
- <y-position>247</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/7/2005 - 10:26:6</creation-date>
- <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>248</x-position>
- <y-position>70</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/7/2005 - 10:26:6</creation-date>
- <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>249</x-position>
- <y-position>305</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/7/2005 - 10:26:6</creation-date>
- <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>453</x-position>
- <y-position>72</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/7/2005 - 10:26:6</creation-date>
- <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>455</x-position>
- <y-position>304</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Gate</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Gate</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>G1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>G2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>G</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Gate</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Gate(G1,G2) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return G1&G2 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/7/2005 - 10:26:6</creation-date>
- <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>650</x-position>
- <y-position>227</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Gate</tonode-name>
- <toserviceparameter-name>G1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub_1</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Gate</tonode-name>
- <toserviceparameter-name>G2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Gate</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Gate</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopGates</fromnode-name>
- <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
- <tonode-name>Init</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>GraphLoopGates</fromnode-name>
- <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGates</fromnode-name>
- <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>13</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGates</fromnode-name>
- <fromserviceparameter-name>Add__x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGates</fromnode-name>
- <fromserviceparameter-name>Add__y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>2</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGates</fromnode-name>
- <fromserviceparameter-name>Add_1__x</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGates</fromnode-name>
- <fromserviceparameter-name>Add_1__y</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>4</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGates</fromnode-name>
- <fromserviceparameter-name>Sub__x</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGates</fromnode-name>
- <fromserviceparameter-name>Sub__y</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>6</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGates</fromnode-name>
- <fromserviceparameter-name>Sub_1__x</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>7</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGates</fromnode-name>
- <fromserviceparameter-name>Sub_1__y</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>8</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopGatesNOTValid</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopsGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add_1__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add_1__y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub_1__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub_1__y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add__FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add__z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add_1__FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add_1__z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Sub__z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Sub_1__z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>7/1/2005 - 16:57:1</creation-date>
- <lastmodification-date>7/1/2005 - 17:8:8</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Init(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(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>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>7/1/2005 - 16:59:3</creation-date>
- <lastmodification-date>7/1/2005 - 16:59:3</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>181</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndInit</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>7/1/2005 - 16:59:3</creation-date>
- <lastmodification-date>7/1/2005 - 16:59:3</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>840</x-position>
- <y-position>204</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>7/1/2005 - 17:3:59</creation-date>
- <lastmodification-date>7/1/2005 - 17:3:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>248</x-position>
- <y-position>70</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>7/1/2005 - 17:4:5</creation-date>
- <lastmodification-date>7/1/2005 - 17:4:5</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>249</x-position>
- <y-position>305</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>7/1/2005 - 17:4:31</creation-date>
- <lastmodification-date>7/1/2005 - 17:4:31</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>453</x-position>
- <y-position>72</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>7/1/2005 - 17:4:32</creation-date>
- <lastmodification-date>7/1/2005 - 17:4:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>455</x-position>
- <y-position>304</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Gate</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Gate</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>G1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>G2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>G</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Gate</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Gate(G1,G2) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return G1&G2 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>7/1/2005 - 17:7:9</creation-date>
- <lastmodification-date>7/1/2005 - 17:7:9</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>650</x-position>
- <y-position>227</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Gate</tonode-name>
- <toserviceparameter-name>G1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Gate</tonode-name>
- <toserviceparameter-name>G2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Gate</fromnode-name>
- <fromserviceparameter-name>G</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopGatesNOTValid</fromnode-name>
- <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
- <tonode-name>Init</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>GraphLoopGatesNOTValid</fromnode-name>
- <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGatesNOTValid</fromnode-name>
- <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>13</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGatesNOTValid</fromnode-name>
- <fromserviceparameter-name>Add__x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGatesNOTValid</fromnode-name>
- <fromserviceparameter-name>Add__y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>2</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGatesNOTValid</fromnode-name>
- <fromserviceparameter-name>Add_1__x</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGatesNOTValid</fromnode-name>
- <fromserviceparameter-name>Add_1__y</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>4</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGatesNOTValid</fromnode-name>
- <fromserviceparameter-name>Sub__x</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGatesNOTValid</fromnode-name>
- <fromserviceparameter-name>Sub__y</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>6</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGatesNOTValid</fromnode-name>
- <fromserviceparameter-name>Sub_1__x</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>7</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopGatesNOTValid</fromnode-name>
- <fromserviceparameter-name>Sub_1__y</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>8</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopMacroNodes</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphLoopMacroNodes</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Incr</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Loop__zDiv</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Loop__zMul</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>Loop__OK</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Incr</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>EndLoop__zDiv</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>EndLoop__zMul</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>EndLoop__OK</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>ResultsControl__Div_z</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>ResultsControl__Mul_z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 9:58:58</creation-date>
- <lastmodification-date>9/2/2007 - 15:44:35</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Add</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>9/2/2007 - 14:26:53</creation-date>
- <lastmodification-date>9/2/2007 - 14:26:53</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>205</x-position>
- <y-position>238</y-position>
- </node>
- <node>
- <component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Sub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>9/2/2007 - 14:26:53</creation-date>
- <lastmodification-date>9/2/2007 - 14:26:53</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>394</x-position>
- <y-position>146</y-position>
- </node>
- <node>
- <component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Mul</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>9/2/2007 - 14:26:53</creation-date>
- <lastmodification-date>9/2/2007 - 14:26:53</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>821</x-position>
- <y-position>319</y-position>
- </node>
- <node>
- <component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Div</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>9/2/2007 - 14:26:53</creation-date>
- <lastmodification-date>9/2/2007 - 14:26:53</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Div from DivComponent</comment>
- <x-position>825</x-position>
- <y-position>133</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Macro_GraphAdd</node-name>
- <kind>10</kind>
- <coupled-node>GraphAdd_1</coupled-node>
- <service>
- <service-name>GraphAdd</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>9/2/2007 - 14:26:53</creation-date>
- <lastmodification-date>9/2/2007 - 14:26:53</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Macro Node</comment>
- <x-position>625</x-position>
- <y-position>133</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Macro_GraphSub</node-name>
- <kind>10</kind>
- <coupled-node>GraphSub_1</coupled-node>
- <service>
- <service-name>GraphSub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Sub__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>9/2/2007 - 14:26:53</creation-date>
- <lastmodification-date>9/2/2007 - 14:26:53</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Macro Node</comment>
- <x-position>512</x-position>
- <y-position>319</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndLoop</coupled-node>
- <service>
- <service-name>Loop</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zDiv</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zMul</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>OK</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zDiv</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zMul</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>OK</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(Index,Min,Max,Incr,zDiv,zMul,OK) :]]></PyFunc>
- <PyFunc><![CDATA[ if Min <= Max :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr,zDiv,zMul,OK]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- <PyFunction>
- <FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(Index,Min,Max,Incr,zDiv,zMul,OK) :]]></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,Incr,zDiv,zMul,OK]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- <PyFunction>
- <FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Min,Max,Incr,zDiv,zMul,OK) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + Incr]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr,zDiv,zMul,OK]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>9/2/2007 - 14:26:53</creation-date>
- <lastmodification-date>9/2/2007 - 14:26:53</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>5</x-position>
- <y-position>265</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
- <service-name>EndLoop</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zDiv</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zMul</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>OK</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zDiv</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zMul</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>OK</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>EndLoop</FuncName>
- <PyFunc><![CDATA[def EndLoop(DoLoop,Index,Min,Max,Incr,zDiv,zMul,OK) :]]></PyFunc>
- <PyFunc><![CDATA[ print 'EndLoop',DoLoop,Index,Min,Max,Incr,zDiv,zMul,OK]]></PyFunc>
- <PyFunc><![CDATA[ if OK != 'Okay' :]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max,Incr ,zDiv,zMul,OK]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>9/2/2007 - 14:26:53</creation-date>
- <lastmodification-date>9/2/2007 - 14:26:53</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1354</x-position>
- <y-position>156</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>ResultsControl</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>ResultsControl</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zDiv</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zMul</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zDiv</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zMul</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Div_z</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Mul_z</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>OK</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>ResultsControl</FuncName>
- <PyFunc><![CDATA[def ResultsControl(x,y,zDiv,zMul) :]]></PyFunc>
- <PyFunc><![CDATA[ Add_FuncValue = x - y]]></PyFunc>
- <PyFunc><![CDATA[ Add_z = x + y]]></PyFunc>
- <PyFunc><![CDATA[ Sub_z = 1.5 - Add_z]]></PyFunc>
- <PyFunc><![CDATA[ Macro_GraphAdd_Add_FuncValue = Sub_z - Add_FuncValue]]></PyFunc>
- <PyFunc><![CDATA[ Macro_GraphAdd_Add_z = Sub_z + Add_FuncValue]]></PyFunc>
- <PyFunc><![CDATA[ Macro_GraphSub_z = Add_FuncValue - Add_z]]></PyFunc>
- <PyFunc><![CDATA[ Div_z = Macro_GraphAdd_Add_FuncValue/Macro_GraphAdd_Add_z]]></PyFunc>
- <PyFunc><![CDATA[ Mul_z = Sub_z * Macro_GraphSub_z]]></PyFunc>
- <PyFunc><![CDATA[ OK = 'Okay']]></PyFunc>
- <PyFunc><![CDATA[ if Div_z != zDiv or Mul_z != zMul :]]></PyFunc>
- <PyFunc><![CDATA[ OK = 'KO']]></PyFunc>
- <PyFunc><![CDATA[ return zDiv,zMul,Div_z,Mul_z,OK]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>9/2/2007 - 14:56:27</creation-date>
- <lastmodification-date>9/2/2007 - 14:56:27</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1102</x-position>
- <y-position>196</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Macro_GraphSub</tonode-name>
- <toserviceparameter-name>Sub__x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Macro_GraphAdd</tonode-name>
- <toserviceparameter-name>Add__y</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>512</x>
- <y>309</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Macro_GraphSub</tonode-name>
- <toserviceparameter-name>Sub__y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Macro_GraphAdd</tonode-name>
- <toserviceparameter-name>Add__x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>767</x>
- <y>389</y>
- </coord>
- <coord>
- <x>767</x>
- <y>297</y>
- </coord>
- <coord>
- <x>592</x>
- <y>297</y>
- </coord>
- <coord>
- <x>592</x>
- <y>217</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>ResultsControl</tonode-name>
- <toserviceparameter-name>zMul</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Div</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>ResultsControl</tonode-name>
- <toserviceparameter-name>zDiv</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Macro_GraphAdd</fromnode-name>
- <fromserviceparameter-name>Add__FuncValue</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Macro_GraphAdd</fromnode-name>
- <fromserviceparameter-name>Add__z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Macro_GraphSub</fromnode-name>
- <fromserviceparameter-name>Sub__z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Macro_GraphSub</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>ResultsControl</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>ResultsControl</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>EndLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>ResultsControl</fromnode-name>
- <fromserviceparameter-name>zDiv</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>zDiv</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>ResultsControl</fromnode-name>
- <fromserviceparameter-name>zMul</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>zMul</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>ResultsControl</fromnode-name>
- <fromserviceparameter-name>OK</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>OK</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>GraphLoopMacroNodes</fromnode-name>
- <fromserviceparameter-name>Sub__x</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>1.5</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodes</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphLoopMacroNodes</fromnode-name>
- <fromserviceparameter-name>Loop__Min</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>7</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodes</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>17</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodes</fromnode-name>
- <fromserviceparameter-name>Loop__Incr</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>1</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodes</fromnode-name>
- <fromserviceparameter-name>Loop__zDiv</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>zDiv</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodes</fromnode-name>
- <fromserviceparameter-name>Loop__zMul</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>zMul</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodes</fromnode-name>
- <fromserviceparameter-name>Loop__OK</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>OK</toserviceparameter-name>
- <data-value>
- <value-type>18</value-type>
- <value><![CDATA[Okay]]></value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphAdd_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphAdd_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:2:26</creation-date>
- <lastmodification-date>9/2/2007 - 14:26:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Add</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>9/2/2007 - 14:26:53</creation-date>
- <lastmodification-date>9/2/2007 - 14:26:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>55</x-position>
- <y-position>61</y-position>
- </node>
- </node-list>
- <link-list/>
- <data-list/>
- </dataflow>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSub_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphSub_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Sub__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:4:7</creation-date>
- <lastmodification-date>9/2/2007 - 14:26:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Sub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>9/2/2007 - 14:26:53</creation-date>
- <lastmodification-date>9/2/2007 - 14:26:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>55</x-position>
- <y-position>71</y-position>
- </node>
- </node-list>
- <link-list/>
- <data-list/>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopMacroNodesOutput</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphLoopMacroNodesOutput</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Incr</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Loop__zDiv</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Loop__zMul</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>Loop__OK</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Macro_GraphAddLoop__Init_1__Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Macro_GraphAddLoop__Init_1__Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Macro_GraphAddLoop__Init_1__Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Macro_GraphAddLoop__Init_1__Incr</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Incr</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>EndLoop__zDiv</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>EndLoop__zMul</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>EndLoop__OK</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>ResultsControl__Div_z</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>ResultsControl__Mul_z</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_GraphAddLoop__EndInit_1__Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_GraphAddLoop__EndInit_1__Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_GraphAddLoop__EndInit_1__Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_GraphAddLoop__EndInit_1__Incr</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Macro_GraphAddLoop__EndInit_1__zDiv</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Macro_GraphAddLoop__EndInit_1__zMul</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>Macro_GraphAddLoop__EndInit_1__OK</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Macro_GraphAddLoop__EndInit_1__x</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Macro_GraphAddLoop__EndInit_1__y</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 9:58:58</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Add</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>12/2/2007 - 18:3:29</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>205</x-position>
- <y-position>238</y-position>
- </node>
- <node>
- <component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Sub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>12/2/2007 - 18:3:29</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>394</x-position>
- <y-position>146</y-position>
- </node>
- <node>
- <component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Mul</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>12/2/2007 - 18:3:29</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>821</x-position>
- <y-position>319</y-position>
- </node>
- <node>
- <component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Div</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>12/2/2007 - 18:3:29</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Div from DivComponent</comment>
- <x-position>825</x-position>
- <y-position>133</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Macro_GraphSub</node-name>
- <kind>10</kind>
- <coupled-node>GraphSub_1</coupled-node>
- <service>
- <service-name>GraphSub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Sub__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>12/2/2007 - 18:3:29</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Macro Node</comment>
- <x-position>512</x-position>
- <y-position>319</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndLoop</coupled-node>
- <service>
- <service-name>Loop</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zDiv</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zMul</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>OK</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zDiv</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zMul</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>OK</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(Index,Min,Max,Incr,zDiv,zMul,OK) :]]></PyFunc>
- <PyFunc><![CDATA[ if Min <= Max :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr,zDiv,zMul,OK]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- <PyFunction>
- <FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(Index,Min,Max,Incr,zDiv,zMul,OK) :]]></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,Incr,zDiv,zMul,OK]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- <PyFunction>
- <FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Min,Max,Incr,zDiv,zMul,OK) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + Incr]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr,zDiv,zMul,OK]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>12/2/2007 - 18:3:29</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>5</x-position>
- <y-position>265</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
- <service-name>EndLoop</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zDiv</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zMul</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>OK</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zDiv</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zMul</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>OK</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>EndLoop</FuncName>
- <PyFunc><![CDATA[def EndLoop(DoLoop,Index,Min,Max,Incr,zDiv,zMul,OK) :]]></PyFunc>
- <PyFunc><![CDATA[ print 'EndLoop',DoLoop,Index,Min,Max,Incr,zDiv,zMul,OK]]></PyFunc>
- <PyFunc><![CDATA[ if OK != 'Okay' :]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max,Incr ,zDiv,zMul,OK]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>12/2/2007 - 18:3:29</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1354</x-position>
- <y-position>156</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>ResultsControl</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>ResultsControl</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zDiv</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zMul</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zDiv</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zMul</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Div_z</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Mul_z</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>OK</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>ResultsControl</FuncName>
- <PyFunc><![CDATA[def ResultsControl(x,y,zDiv,zMul) :]]></PyFunc>
- <PyFunc><![CDATA[ Add_FuncValue = x - y]]></PyFunc>
- <PyFunc><![CDATA[ Add_z = x + y]]></PyFunc>
- <PyFunc><![CDATA[ Sub_z = 1.5 - Add_z]]></PyFunc>
- <PyFunc><![CDATA[ Macro_GraphAdd_Add_FuncValue = Sub_z - Add_FuncValue]]></PyFunc>
- <PyFunc><![CDATA[ Macro_GraphAdd_Add_z = Sub_z + Add_FuncValue]]></PyFunc>
- <PyFunc><![CDATA[ Macro_GraphSub_z = Add_FuncValue - Add_z]]></PyFunc>
- <PyFunc><![CDATA[ Div_z = Macro_GraphAdd_Add_FuncValue/Macro_GraphAdd_Add_z]]></PyFunc>
- <PyFunc><![CDATA[ Mul_z = Sub_z * Macro_GraphSub_z]]></PyFunc>
- <PyFunc><![CDATA[ OK = 'Okay']]></PyFunc>
- <PyFunc><![CDATA[ if Div_z != zDiv or Mul_z != zMul :]]></PyFunc>
- <PyFunc><![CDATA[ OK = 'KO']]></PyFunc>
- <PyFunc><![CDATA[ return zDiv,zMul,Div_z,Mul_z,OK]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>12/2/2007 - 18:3:29</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1102</x-position>
- <y-position>196</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Macro_GraphAddLoop</node-name>
- <kind>10</kind>
- <coupled-node>GraphAddLoop</coupled-node>
- <service>
- <service-name>GraphAddLoop</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Init_1__Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Init_1__Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Init_1__Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Init_1__Incr</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Init_1__zDiv</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Init_1__zMul</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>Init_1__OK</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Init_1__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Init_1__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__z</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit_1__Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit_1__Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit_1__Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit_1__Incr</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>EndInit_1__zDiv</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>EndInit_1__zMul</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>EndInit_1__OK</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>EndInit_1__x</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>EndInit_1__y</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>12/2/2007 - 18:3:29</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Macro Node</comment>
- <x-position>628</x-position>
- <y-position>14</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Macro_GraphSub</tonode-name>
- <toserviceparameter-name>Sub__x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Macro_GraphAddLoop</tonode-name>
- <toserviceparameter-name>Init_1__y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Macro_GraphSub</tonode-name>
- <toserviceparameter-name>Sub__y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>767</x>
- <y>389</y>
- </coord>
- <coord>
- <x>767</x>
- <y>297</y>
- </coord>
- <coord>
- <x>592</x>
- <y>297</y>
- </coord>
- <coord>
- <x>592</x>
- <y>217</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Macro_GraphAddLoop</tonode-name>
- <toserviceparameter-name>Init_1__x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Macro_GraphAddLoop</tonode-name>
- <toserviceparameter-name>Init_1__zDiv</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Macro_GraphAddLoop</tonode-name>
- <toserviceparameter-name>Init_1__zMul</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Macro_GraphAddLoop</tonode-name>
- <toserviceparameter-name>Init_1__OK</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>ResultsControl</tonode-name>
- <toserviceparameter-name>zMul</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Div</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>ResultsControl</tonode-name>
- <toserviceparameter-name>zDiv</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Macro_GraphSub</fromnode-name>
- <fromserviceparameter-name>Sub__z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Macro_GraphSub</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>ResultsControl</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>ResultsControl</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>EndLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>ResultsControl</fromnode-name>
- <fromserviceparameter-name>zDiv</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>zDiv</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>ResultsControl</fromnode-name>
- <fromserviceparameter-name>zMul</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>zMul</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>ResultsControl</fromnode-name>
- <fromserviceparameter-name>OK</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>OK</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Macro_GraphAddLoop</fromnode-name>
- <fromserviceparameter-name>Add__FuncValue</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Macro_GraphAddLoop</fromnode-name>
- <fromserviceparameter-name>Add__z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>GraphLoopMacroNodesOutput</fromnode-name>
- <fromserviceparameter-name>Sub__x</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>1.5</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodesOutput</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphLoopMacroNodesOutput</fromnode-name>
- <fromserviceparameter-name>Loop__Min</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>7</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodesOutput</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>17</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodesOutput</fromnode-name>
- <fromserviceparameter-name>Loop__Incr</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>1</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodesOutput</fromnode-name>
- <fromserviceparameter-name>Loop__zDiv</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>zDiv</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodesOutput</fromnode-name>
- <fromserviceparameter-name>Loop__zMul</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>zMul</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodesOutput</fromnode-name>
- <fromserviceparameter-name>Loop__OK</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>OK</toserviceparameter-name>
- <data-value>
- <value-type>18</value-type>
- <value><![CDATA[Okay]]></value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodesOutput</fromnode-name>
- <fromserviceparameter-name>Macro_GraphAddLoop__Init_1__Index</fromserviceparameter-name>
- <tonode-name>Macro_GraphAddLoop</tonode-name>
- <toserviceparameter-name>Init_1__Index</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodesOutput</fromnode-name>
- <fromserviceparameter-name>Macro_GraphAddLoop__Init_1__Min</fromserviceparameter-name>
- <tonode-name>Macro_GraphAddLoop</tonode-name>
- <toserviceparameter-name>Init_1__Min</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>5</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodesOutput</fromnode-name>
- <fromserviceparameter-name>Macro_GraphAddLoop__Init_1__Max</fromserviceparameter-name>
- <tonode-name>Macro_GraphAddLoop</tonode-name>
- <toserviceparameter-name>Init_1__Max</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>11</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphLoopMacroNodesOutput</fromnode-name>
- <fromserviceparameter-name>Macro_GraphAddLoop__Init_1__Incr</fromserviceparameter-name>
- <tonode-name>Macro_GraphAddLoop</tonode-name>
- <toserviceparameter-name>Init_1__Incr</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>1</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSub_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphSub_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Sub__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:4:7</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Sub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>12/2/2007 - 18:3:29</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>55</x-position>
- <y-position>71</y-position>
- </node>
- </node-list>
- <link-list/>
- <data-list/>
- </dataflow>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphAddLoop</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphAddLoop</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Init_1__Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Init_1__Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Init_1__Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Init_1__Incr</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Init_1__zDiv</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Init_1__zMul</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>Init_1__OK</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Init_1__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Init_1__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__z</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit_1__Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit_1__Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit_1__Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit_1__Incr</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>EndInit_1__zDiv</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>EndInit_1__zMul</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>EndInit_1__OK</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>EndInit_1__x</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>EndInit_1__y</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:2:26</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Add</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>12/2/2007 - 18:3:29</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>248</x-position>
- <y-position>247</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Init_1</node-name>
- <kind>4</kind>
- <coupled-node>EndInit_1</coupled-node>
- <service>
- <service-name>Init_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zDiv</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zMul</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>OK</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zDiv</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zMul</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>OK</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>x</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>y</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>Init_1</FuncName>
- <PyFunc><![CDATA[def Init_1(Index,Min,Max,Incr,zDiv,zMul,OK,x,y) :]]></PyFunc>
- <PyFunc><![CDATA[ if Min <= Max :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr,zDiv,zMul,OK,x,y]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- <PyFunction>
- <FuncName>More_1</FuncName>
- <PyFunc><![CDATA[def More_1(Index,Min,Max,Incr,zDiv,zMul,OK,x,y) :]]></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,Incr,zDiv,zMul,OK,x,y]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- <PyFunction>
- <FuncName>Next_1</FuncName>
- <PyFunc><![CDATA[def Next_1(Index,Min,Max,Incr,zDiv,zMul,OK,x,y) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + Incr]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr,zDiv,zMul,OK,x,y]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>12/2/2007 - 18:3:29</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>37</x-position>
- <y-position>147</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit_1</node-name>
- <kind>5</kind>
- <coupled-node>Init_1</coupled-node>
- <service>
- <service-name>EndInit_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zDiv</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>zMul</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>OK</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zDiv</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>zMul</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>string</outParameter-type>
- <outParameter-name>OK</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>x</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>y</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>EndInit_1</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>12/2/2007 - 18:3:29</creation-date>
- <lastmodification-date>12/2/2007 - 18:3:29</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>460</x-position>
- <y-position>146</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>zDiv</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>zDiv</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>zMul</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>zMul</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>OK</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>OK</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>x</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>y</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>EndInit_1</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init_1</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list/>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopMemory_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopMemory_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>24/3/2003 - 14:44:35</creation-date>
- <lastmodification-date>21/2/2005 - 11:43:50</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>For solving of memory leaks</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>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ if Min <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(Index,Min,Max,Incr) : ]]></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,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + Incr ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/2/2005 - 11:43:50</creation-date>
- <lastmodification-date>21/2/2005 - 11:43:50</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>17</x-position>
- <y-position>257</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/2/2005 - 11:43:50</creation-date>
- <lastmodification-date>21/2/2005 - 11:43:50</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>366</x-position>
- <y-position>262</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopMemory_1</fromnode-name>
- <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
- <tonode-name>Init</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>GraphLoopMemory_1</fromnode-name>
- <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopMemory_1</fromnode-name>
- <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>100000</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopMemory_1</fromnode-name>
- <fromserviceparameter-name>Init__Incr</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopPyAddAddMemory</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopPyAddAddMemory</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AddWithoutSleep__FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AddWithoutSleep__z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>PyAdd__c</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>24/3/2003 - 14:44:35</creation-date>
- <lastmodification-date>14/4/2005 - 16:55:59</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>For solving of memory leaks</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>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ if Min <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(Index,Min,Max,Incr) : ]]></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,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + Incr ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/4/2005 - 16:43:41</creation-date>
- <lastmodification-date>14/4/2005 - 16:43:41</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>17</x-position>
- <y-position>257</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/4/2005 - 16:43:41</creation-date>
- <lastmodification-date>14/4/2005 - 16:43:41</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>495</x-position>
- <y-position>262</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>AddWithoutSleep</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>AddWithoutSleep</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/4/2005 - 16:44:22</creation-date>
- <lastmodification-date>14/4/2005 - 16:44:22</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>AddWithoutSleep from AddComponent</comment>
- <x-position>255</x-position>
- <y-position>352</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PyAdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PyAdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>c</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PyAdd</FuncName>
- <PyFunc><![CDATA[def PyAdd(a,b) : ]]></PyFunc>
- <PyFunc><![CDATA[ return a,a+b ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/4/2005 - 16:54:44</creation-date>
- <lastmodification-date>14/4/2005 - 16:54:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>266</x-position>
- <y-position>188</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>AddWithoutSleep</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>PyAdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>AddWithoutSleep</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>PyAdd</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>AddWithoutSleep</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PyAdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopPyAddAddMemory</fromnode-name>
- <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
- <tonode-name>Init</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>GraphLoopPyAddAddMemory</fromnode-name>
- <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopPyAddAddMemory</fromnode-name>
- <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>100000</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopPyAddAddMemory</fromnode-name>
- <fromserviceparameter-name>Init__Incr</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitch</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>8/3/2005 - 15:8:55</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:8:55</creation-date>
- <lastmodification-date>8/3/2005 - 15:8:55</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>1</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>
-<service-name>InitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:8:55</creation-date>
- <lastmodification-date>8/3/2005 - 15:8:55</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:8:55</creation-date>
- <lastmodification-date>8/3/2005 - 15:8:55</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>767</x-position>
- <y-position>102</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>8/3/2005 - 15:8:55</creation-date>
- <lastmodification-date>8/3/2005 - 15:8:55</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a,Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:8:55</creation-date>
- <lastmodification-date>8/3/2005 - 15:8:55</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>103</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>ValEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>ValEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>ValEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def ValEven(Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Even ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:8:55</creation-date>
- <lastmodification-date>8/3/2005 - 15:8:55</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>396</x-position>
- <y-position>222</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>ValEven</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>ValEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitch</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>GraphLoopSwitch</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>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopSwitch</fromnode-name>
- <fromserviceparameter-name>InitLoop__Max</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>23</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchDefault</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitch_1_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Switch__Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>9/2/2005 - 10:29:19</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>9/2/2005 - 10:29:19</creation-date>
- <lastmodification-date>9/2/2005 - 10:29:19</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>1</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>9/2/2005 - 10:29:19</creation-date>
- <lastmodification-date>9/2/2005 - 10:29:19</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>9/2/2005 - 10:29:19</creation-date>
- <lastmodification-date>9/2/2005 - 10:29:19</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>767</x-position>
- <y-position>102</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>9/2/2005 - 10:29:19</creation-date>
- <lastmodification-date>9/2/2005 - 10:29:19</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>9/2/2005 - 10:29:19</creation-date>
- <lastmodification-date>9/2/2005 - 10:29:19</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>103</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchDefault</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>GraphLoopSwitchDefault</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>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopSwitchDefault</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>23</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchDefaultAborted</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitch_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>11/2/2005 - 11:46:10</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Default Ports are not connected and the Executor will detect a Default condition ==> ABORT</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 11:46:10</creation-date>
- <lastmodification-date>11/2/2005 - 11:46:10</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>1</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 11:46:10</creation-date>
- <lastmodification-date>11/2/2005 - 11:46:10</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 11:46:10</creation-date>
- <lastmodification-date>11/2/2005 - 11:46:10</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>767</x-position>
- <y-position>102</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>11/2/2005 - 11:46:10</creation-date>
- <lastmodification-date>11/2/2005 - 11:46:10</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a,Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 11:46:10</creation-date>
- <lastmodification-date>11/2/2005 - 11:46:10</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>103</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Vala</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Vala</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>ValEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def ValEven(Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Even ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 11:46:10</creation-date>
- <lastmodification-date>11/2/2005 - 11:46:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>394</x-position>
- <y-position>137</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>Vala</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Vala</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchDefaultAborted</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>GraphLoopSwitchDefaultAborted</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>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopSwitchDefaultAborted</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>23</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchGateDefault</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitchGateDefault</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>6/7/2005 - 16:30:40</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 16:27:18</creation-date>
- <lastmodification-date>6/7/2005 - 16:27:18</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>1</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 16:27:18</creation-date>
- <lastmodification-date>6/7/2005 - 16:27:18</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 16:27:18</creation-date>
- <lastmodification-date>6/7/2005 - 16:27:18</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>767</x-position>
- <y-position>102</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>6/7/2005 - 16:27:18</creation-date>
- <lastmodification-date>6/7/2005 - 16:27:18</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a,Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 16:27:18</creation-date>
- <lastmodification-date>6/7/2005 - 16:27:18</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>103</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>ValEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>ValEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>ValEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def ValEven(Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Even ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 16:27:18</creation-date>
- <lastmodification-date>6/7/2005 - 16:27:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>396</x-position>
- <y-position>222</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>ValEven</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>ValEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchGateDefault</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>GraphLoopSwitchGateDefault</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>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopSwitchGateDefault</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>23</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchGatesDefaultNOTValid</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitchGatesDefault_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>8/7/2005 - 10:51:30</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:51:30</creation-date>
- <lastmodification-date>8/7/2005 - 10:51:30</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>1</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:51:30</creation-date>
- <lastmodification-date>8/7/2005 - 10:51:30</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:51:30</creation-date>
- <lastmodification-date>8/7/2005 - 10:51:30</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>767</x-position>
- <y-position>102</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>8/7/2005 - 10:51:30</creation-date>
- <lastmodification-date>8/7/2005 - 10:51:30</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a,Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:51:30</creation-date>
- <lastmodification-date>8/7/2005 - 10:51:30</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>103</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>ValEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>ValEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>ValEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def ValEven(Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Even ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:51:30</creation-date>
- <lastmodification-date>8/7/2005 - 10:51:30</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>396</x-position>
- <y-position>222</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>ValEven</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>ValEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>ValEven</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchGatesDefaultNOTValid</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>GraphLoopSwitchGatesDefaultNOTValid</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>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopSwitchGatesDefaultNOTValid</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>23</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchOddEven</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitchOddEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>14/2/2005 - 16:43:55</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 16:43:55</creation-date>
- <lastmodification-date>14/2/2005 - 16:43:55</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>1</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 16:43:55</creation-date>
- <lastmodification-date>14/2/2005 - 16:43:55</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 16:43:55</creation-date>
- <lastmodification-date>14/2/2005 - 16:43:55</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>767</x-position>
- <y-position>102</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>14/2/2005 - 16:43:55</creation-date>
- <lastmodification-date>14/2/2005 - 16:43:55</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 16:43:55</creation-date>
- <lastmodification-date>14/2/2005 - 16:43:55</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>103</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 16:43:55</creation-date>
- <lastmodification-date>14/2/2005 - 16:43:55</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>400</x-position>
- <y-position>160</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</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/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchOddEven</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>GraphLoopSwitchOddEven</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>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopSwitchOddEven</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>23</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchOfSwitch</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitchOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopSwitch__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopSwitch__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/10/2003 - 17:23:54</creation-date>
- <lastmodification-date>8/7/2005 - 10:53:29</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>LoopSwitch</node-name>
- <kind>4</kind>
- <coupled-node>EndOfLoopSwitch</coupled-node>
- <service>
-<service-name>LoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = 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 >= Min : ]]></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>8/7/2005 - 10:53:29</creation-date>
- <lastmodification-date>8/7/2005 - 10:53:29</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>6</x-position>
- <y-position>233</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfLoopSwitch</node-name>
- <kind>5</kind>
- <coupled-node>LoopSwitch</coupled-node>
- <service>
-<service-name>EndOfLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:53:29</creation-date>
- <lastmodification-date>8/7/2005 - 10:53:29</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1268</x-position>
- <y-position>210</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/7/2005 - 10:53:29</creation-date>
- <lastmodification-date>8/7/2005 - 10:53:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>437</x-position>
- <y-position>520</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Even</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,a,0 ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,a,1-(a&1) ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:53:29</creation-date>
- <lastmodification-date>8/7/2005 - 10:53:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>201</x-position>
- <y-position>233</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch_1</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:53:29</creation-date>
- <lastmodification-date>8/7/2005 - 10:53:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1075</x-position>
- <y-position>210</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchOdd</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchOdd</coupled-node>
- <service>
-<service-name>SwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>POne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>PThree</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>PFive</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>n</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchOdd</FuncName>
- <PyFunc><![CDATA[def SwitchOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ n = a/6 ]]></PyFunc>
- <PyFunc><![CDATA[ r = a%6 ]]></PyFunc>
- <PyFunc><![CDATA[ POne = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ PThree = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ PFive = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if r == 1 : ]]></PyFunc>
- <PyFunc><![CDATA[ POne = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if r == 3 : ]]></PyFunc>
- <PyFunc><![CDATA[ PThree = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if r == 5 : ]]></PyFunc>
- <PyFunc><![CDATA[ PFive = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return POne,PThree,PFive,n ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:53:29</creation-date>
- <lastmodification-date>8/7/2005 - 10:53:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>412</x-position>
- <y-position>169</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchOdd</node-name>
- <kind>7</kind>
- <coupled-node>SwitchOdd</coupled-node>
- <service>
-<service-name>EndOfSwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>n</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>n</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:53:29</creation-date>
- <lastmodification-date>8/7/2005 - 10:53:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>851</x-position>
- <y-position>210</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PseudoPOne</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PseudoPOne</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>POne</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PseudoPOne</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PseudoPOne(POne) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return 6*POne+1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:53:29</creation-date>
- <lastmodification-date>8/7/2005 - 10:53:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>612</x-position>
- <y-position>5</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PseudoPThree</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PseudoPThree</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>PThree</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PseudoPThree_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PseudoPThree_1(PThree) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return 6*PThree+3 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:53:29</creation-date>
- <lastmodification-date>8/7/2005 - 10:53:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>620</x-position>
- <y-position>149</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PseudoPFive</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PseudoPFive</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>PFive</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PseudoPFive</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PseudoPFive(PFive) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return 6*PFive+5 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:53:29</creation-date>
- <lastmodification-date>8/7/2005 - 10:53:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>625</x-position>
- <y-position>343</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>Switch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>LoopSwitch</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <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>
-<coord>
-<x>719</x>
- <y>591</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <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>1057</x>
- <y>267</y> </coord>
- <coord>
-<x>1079</x>
- <y>669</y> </coord>
- <coord>
-<x>383</x>
- <y>666</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>EndOfSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>POne</fromserviceparameter-name>
- <tonode-name>PseudoPOne</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>PThree</fromserviceparameter-name>
- <tonode-name>PseudoPThree</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>PFive</fromserviceparameter-name>
- <tonode-name>PseudoPFive</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>PseudoPOne</tonode-name>
- <toserviceparameter-name>POne</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>PseudoPThree</tonode-name>
- <toserviceparameter-name>PThree</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>PseudoPFive</tonode-name>
- <toserviceparameter-name>PFive</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PseudoPOne</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PseudoPThree</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PseudoPFive</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchOfSwitch</fromnode-name>
- <fromserviceparameter-name>LoopSwitch__Index</fromserviceparameter-name>
- <tonode-name>LoopSwitch</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>GraphLoopSwitchOfSwitch</fromnode-name>
- <fromserviceparameter-name>LoopSwitch__Min</fromserviceparameter-name>
- <tonode-name>LoopSwitch</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopSwitchOfSwitch</fromnode-name>
- <fromserviceparameter-name>LoopSwitch__Max</fromserviceparameter-name>
- <tonode-name>LoopSwitch</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>17</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchOfSwitch1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitchOfSwitch1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopSwitch__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopSwitch__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/10/2003 - 17:23:54</creation-date>
- <lastmodification-date>8/7/2005 - 10:56:45</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>DefaultPorts of SwitchOdd and EndSwitchOdd are not connected but that link was not used</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>LoopSwitch</node-name>
- <kind>4</kind>
- <coupled-node>EndOfLoopSwitch</coupled-node>
- <service>
-<service-name>LoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = 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 >= Min : ]]></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>8/7/2005 - 10:56:45</creation-date>
- <lastmodification-date>8/7/2005 - 10:56:45</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>6</x-position>
- <y-position>233</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfLoopSwitch</node-name>
- <kind>5</kind>
- <coupled-node>LoopSwitch</coupled-node>
- <service>
-<service-name>EndOfLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:56:45</creation-date>
- <lastmodification-date>8/7/2005 - 10:56:45</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1268</x-position>
- <y-position>210</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/7/2005 - 10:56:45</creation-date>
- <lastmodification-date>8/7/2005 - 10:56:45</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>437</x-position>
- <y-position>520</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Even</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,a,0 ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,a,1-(a&1) ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:56:45</creation-date>
- <lastmodification-date>8/7/2005 - 10:56:45</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>201</x-position>
- <y-position>233</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch_1</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:56:45</creation-date>
- <lastmodification-date>8/7/2005 - 10:56:45</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1075</x-position>
- <y-position>210</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchOdd</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchOdd</coupled-node>
- <service>
-<service-name>SwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>POne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>PThree</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>PFive</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>n</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchOdd</FuncName>
- <PyFunc><![CDATA[def SwitchOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ n = a/6 ]]></PyFunc>
- <PyFunc><![CDATA[ r = a%6 ]]></PyFunc>
- <PyFunc><![CDATA[ POne = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ PThree = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ PFive = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if r == 1 : ]]></PyFunc>
- <PyFunc><![CDATA[ POne = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if r == 3 : ]]></PyFunc>
- <PyFunc><![CDATA[ PThree = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if r == 5 : ]]></PyFunc>
- <PyFunc><![CDATA[ PFive = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return POne,PThree,PFive,n ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:56:45</creation-date>
- <lastmodification-date>8/7/2005 - 10:56:45</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>412</x-position>
- <y-position>169</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchOdd</node-name>
- <kind>7</kind>
- <coupled-node>SwitchOdd</coupled-node>
- <service>
-<service-name>EndOfSwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>n</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>n</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:56:45</creation-date>
- <lastmodification-date>8/7/2005 - 10:56:45</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>851</x-position>
- <y-position>210</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PseudoPOne</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PseudoPOne</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>POne</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PseudoPOne</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PseudoPOne(POne) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return 6*POne+1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:56:45</creation-date>
- <lastmodification-date>8/7/2005 - 10:56:45</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>612</x-position>
- <y-position>5</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PseudoPThree</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PseudoPThree</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>PThree</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PseudoPThree_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PseudoPThree_1(PThree) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return 6*PThree+3 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:56:45</creation-date>
- <lastmodification-date>8/7/2005 - 10:56:45</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>620</x-position>
- <y-position>149</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PseudoPFive</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PseudoPFive</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>PFive</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PseudoPFive</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PseudoPFive(PFive) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return 6*PFive+5 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:56:45</creation-date>
- <lastmodification-date>8/7/2005 - 10:56:45</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>625</x-position>
- <y-position>343</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>Switch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>LoopSwitch</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <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>
-<coord>
-<x>719</x>
- <y>591</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <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>1057</x>
- <y>267</y> </coord>
- <coord>
-<x>1079</x>
- <y>669</y> </coord>
- <coord>
-<x>383</x>
- <y>666</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>EndOfSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>POne</fromserviceparameter-name>
- <tonode-name>PseudoPOne</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>PThree</fromserviceparameter-name>
- <tonode-name>PseudoPThree</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>PFive</fromserviceparameter-name>
- <tonode-name>PseudoPFive</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>PseudoPOne</tonode-name>
- <toserviceparameter-name>POne</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>PseudoPThree</tonode-name>
- <toserviceparameter-name>PThree</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>PseudoPFive</tonode-name>
- <toserviceparameter-name>PFive</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PseudoPOne</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PseudoPThree</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PseudoPFive</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchOfSwitch1</fromnode-name>
- <fromserviceparameter-name>LoopSwitch__Index</fromserviceparameter-name>
- <tonode-name>LoopSwitch</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>GraphLoopSwitchOfSwitch1</fromnode-name>
- <fromserviceparameter-name>LoopSwitch__Min</fromserviceparameter-name>
- <tonode-name>LoopSwitch</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopSwitchOfSwitch1</fromnode-name>
- <fromserviceparameter-name>LoopSwitch__Max</fromserviceparameter-name>
- <tonode-name>LoopSwitch</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>17</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchOfSwitchAborted</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitchOfSwitchAborted</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopSwitch__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopSwitch__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/10/2003 - 17:23:54</creation-date>
- <lastmodification-date>8/7/2005 - 10:58:36</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>DefaultPorts of SwitchOdd and EndSwitchOdd are not connected but that link was not used. DefaultPorts of Switch and EndSwitch are not linked ==> ABORT</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>LoopSwitch</node-name>
- <kind>4</kind>
- <coupled-node>EndOfLoopSwitch</coupled-node>
- <service>
-<service-name>LoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = 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 >= Min : ]]></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>8/7/2005 - 10:58:36</creation-date>
- <lastmodification-date>8/7/2005 - 10:58:36</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>6</x-position>
- <y-position>233</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfLoopSwitch</node-name>
- <kind>5</kind>
- <coupled-node>LoopSwitch</coupled-node>
- <service>
-<service-name>EndOfLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:58:36</creation-date>
- <lastmodification-date>8/7/2005 - 10:58:36</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1268</x-position>
- <y-position>210</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/7/2005 - 10:58:36</creation-date>
- <lastmodification-date>8/7/2005 - 10:58:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>437</x-position>
- <y-position>520</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Even</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,a,0 ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,a,1-(a&1) ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:58:36</creation-date>
- <lastmodification-date>8/7/2005 - 10:58:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>201</x-position>
- <y-position>233</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch_1</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:58:36</creation-date>
- <lastmodification-date>8/7/2005 - 10:58:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1075</x-position>
- <y-position>210</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchOdd</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchOdd</coupled-node>
- <service>
-<service-name>SwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>POne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>PThree</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>PFive</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>n</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchOdd</FuncName>
- <PyFunc><![CDATA[def SwitchOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ n = a/6 ]]></PyFunc>
- <PyFunc><![CDATA[ r = a%6 ]]></PyFunc>
- <PyFunc><![CDATA[ POne = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ PThree = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ PFive = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if r == 1 : ]]></PyFunc>
- <PyFunc><![CDATA[ POne = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if r == 3 : ]]></PyFunc>
- <PyFunc><![CDATA[ PThree = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if r == 5 : ]]></PyFunc>
- <PyFunc><![CDATA[ PFive = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return POne,PThree,PFive,n ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:58:36</creation-date>
- <lastmodification-date>8/7/2005 - 10:58:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>412</x-position>
- <y-position>169</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchOdd</node-name>
- <kind>7</kind>
- <coupled-node>SwitchOdd</coupled-node>
- <service>
-<service-name>EndOfSwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>n</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>n</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:58:36</creation-date>
- <lastmodification-date>8/7/2005 - 10:58:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>851</x-position>
- <y-position>210</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PseudoPOne</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PseudoPOne</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>POne</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PseudoPOne</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PseudoPOne(POne) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return 6*POne+1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:58:36</creation-date>
- <lastmodification-date>8/7/2005 - 10:58:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>612</x-position>
- <y-position>5</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PseudoPThree</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PseudoPThree</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>PThree</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PseudoPThree_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PseudoPThree_1(PThree) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return 6*PThree+3 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:58:36</creation-date>
- <lastmodification-date>8/7/2005 - 10:58:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>620</x-position>
- <y-position>149</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PseudoPFive</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PseudoPFive</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>PFive</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PseudoPFive</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PseudoPFive(PFive) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return 6*PFive+5 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 10:58:36</creation-date>
- <lastmodification-date>8/7/2005 - 10:58:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>625</x-position>
- <y-position>343</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>Switch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>LoopSwitch</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <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>
-<coord>
-<x>719</x>
- <y>591</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>POne</fromserviceparameter-name>
- <tonode-name>PseudoPOne</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>PThree</fromserviceparameter-name>
- <tonode-name>PseudoPThree</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>PFive</fromserviceparameter-name>
- <tonode-name>PseudoPFive</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>PseudoPOne</tonode-name>
- <toserviceparameter-name>POne</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>PseudoPThree</tonode-name>
- <toserviceparameter-name>PThree</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>PseudoPFive</tonode-name>
- <toserviceparameter-name>PFive</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PseudoPOne</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PseudoPThree</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PseudoPFive</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchOfSwitchAborted</fromnode-name>
- <fromserviceparameter-name>LoopSwitch__Index</fromserviceparameter-name>
- <tonode-name>LoopSwitch</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>GraphLoopSwitchOfSwitchAborted</fromnode-name>
- <fromserviceparameter-name>LoopSwitch__Min</fromserviceparameter-name>
- <tonode-name>LoopSwitch</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopSwitchOfSwitchAborted</fromnode-name>
- <fromserviceparameter-name>LoopSwitch__Max</fromserviceparameter-name>
- <tonode-name>LoopSwitch</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>17</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchOfSwitchNOTValid</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitchOfSwitchNOTValid</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopSwitch__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopSwitch__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfSwitchOdd__n</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/10/2003 - 17:23:54</creation-date>
- <lastmodification-date>20/1/2005 - 17:22:49</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>LoopSwitch</node-name>
- <kind>4</kind>
- <coupled-node>EndOfLoopSwitch</coupled-node>
- <service>
-<service-name>LoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = 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 >= Min : ]]></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>20/1/2005 - 17:13:50</creation-date>
- <lastmodification-date>20/1/2005 - 17:13:50</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>6</x-position>
- <y-position>233</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfLoopSwitch</node-name>
- <kind>5</kind>
- <coupled-node>LoopSwitch</coupled-node>
- <service>
-<service-name>EndOfLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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 - 17:13:50</creation-date>
- <lastmodification-date>20/1/2005 - 17:13:50</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1268</x-position>
- <y-position>210</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>20/1/2005 - 17:13:50</creation-date>
- <lastmodification-date>20/1/2005 - 17:13:50</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>437</x-position>
- <y-position>520</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Even</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,a,0 ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,a,1-(a&1) ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/1/2005 - 17:13:50</creation-date>
- <lastmodification-date>20/1/2005 - 17:13:50</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>201</x-position>
- <y-position>233</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch_1</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/1/2005 - 17:13:50</creation-date>
- <lastmodification-date>20/1/2005 - 17:13:50</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1075</x-position>
- <y-position>210</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchOdd</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchOdd</coupled-node>
- <service>
-<service-name>SwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>POne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>PThree</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>PFive</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>n</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchOdd</FuncName>
- <PyFunc><![CDATA[def SwitchOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ n = a/6 ]]></PyFunc>
- <PyFunc><![CDATA[ r = a%6 ]]></PyFunc>
- <PyFunc><![CDATA[ POne = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ PThree = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ PFive = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if r == 1 : ]]></PyFunc>
- <PyFunc><![CDATA[ POne = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if r == 3 : ]]></PyFunc>
- <PyFunc><![CDATA[ PThree = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if r == 5 : ]]></PyFunc>
- <PyFunc><![CDATA[ PFive = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return POne,PThree,PFive,n ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/1/2005 - 17:13:50</creation-date>
- <lastmodification-date>20/1/2005 - 17:13:50</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>412</x-position>
- <y-position>169</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchOdd</node-name>
- <kind>7</kind>
- <coupled-node>SwitchOdd</coupled-node>
- <service>
-<service-name>EndOfSwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>n</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>n</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/1/2005 - 17:13:50</creation-date>
- <lastmodification-date>20/1/2005 - 17:13:50</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>851</x-position>
- <y-position>210</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PseudoPOne</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PseudoPOne</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>POne</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PseudoPOne</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PseudoPOne(POne) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return 6*POne+1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/1/2005 - 17:13:50</creation-date>
- <lastmodification-date>20/1/2005 - 17:13:50</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>612</x-position>
- <y-position>5</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PseudoPThree</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PseudoPThree</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>PThree</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PseudoPThree_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PseudoPThree_1(PThree) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return 6*PThree+3 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/1/2005 - 17:13:50</creation-date>
- <lastmodification-date>20/1/2005 - 17:13:50</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>620</x-position>
- <y-position>149</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PseudoPFive</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PseudoPFive</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>PFive</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PseudoPFive</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PseudoPFive(PFive) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return 6*PFive+5 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/1/2005 - 17:13:50</creation-date>
- <lastmodification-date>20/1/2005 - 17:13:50</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>625</x-position>
- <y-position>343</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>Switch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopSwitch</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>LoopSwitch</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <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>
-<coord>
-<x>719</x>
- <y>591</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <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>1057</x>
- <y>267</y> </coord>
- <coord>
-<x>1079</x>
- <y>669</y> </coord>
- <coord>
-<x>383</x>
- <y>666</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>EndOfSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfLoopSwitch</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>POne</fromserviceparameter-name>
- <tonode-name>PseudoPOne</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>PThree</fromserviceparameter-name>
- <tonode-name>PseudoPThree</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>PFive</fromserviceparameter-name>
- <tonode-name>PseudoPFive</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>PseudoPOne</tonode-name>
- <toserviceparameter-name>POne</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>PseudoPThree</tonode-name>
- <toserviceparameter-name>PThree</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>PseudoPFive</tonode-name>
- <toserviceparameter-name>PFive</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PseudoPOne</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PseudoPThree</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PseudoPFive</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>n</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchOfSwitchNOTValid</fromnode-name>
- <fromserviceparameter-name>LoopSwitch__Index</fromserviceparameter-name>
- <tonode-name>LoopSwitch</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>GraphLoopSwitchOfSwitchNOTValid</fromnode-name>
- <fromserviceparameter-name>LoopSwitch__Min</fromserviceparameter-name>
- <tonode-name>LoopSwitch</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopSwitchOfSwitchNOTValid</fromnode-name>
- <fromserviceparameter-name>LoopSwitch__Max</fromserviceparameter-name>
- <tonode-name>LoopSwitch</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>65</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchs_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitchs_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>SwitchOdd__Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>SwitchEven__Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/10/2003 - 10:29:4</creation-date>
- <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:15:0</creation-date>
- <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>476</x-position>
- <y-position>50</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchOdd</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchOdd</coupled-node>
- <service>
-<service-name>SwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:15:0</creation-date>
- <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>240</x-position>
- <y-position>141</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchOdd</node-name>
- <kind>7</kind>
- <coupled-node>SwitchOdd</coupled-node>
- <service>
-<service-name>EndOfSwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitchOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitchOdd(a,Odd) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Odd ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:15:0</creation-date>
- <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>711</x-position>
- <y-position>161</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsEven" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:15:0</creation-date>
- <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>482</x-position>
- <y-position>292</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndOfLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>8/3/2005 - 15:15:0</creation-date>
- <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>12</x-position>
- <y-position>276</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndOfLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:15:0</creation-date>
- <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1102</x-position>
- <y-position>282</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchEven</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchEven</coupled-node>
- <service>
-<service-name>SwitchEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:15:0</creation-date>
- <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>235</x-position>
- <y-position>386</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchEven</node-name>
- <kind>7</kind>
- <coupled-node>SwitchEven</coupled-node>
- <service>
-<service-name>EndOfSwitchEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitchEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitchEven(a,Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Even ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:15:0</creation-date>
- <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>718</x-position>
- <y-position>361</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchsCompare</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SwitchsCompare</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aOdd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchsCompare</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def SwitchsCompare(aOdd,Odd,aEven,Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return aOdd ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 15:15:0</creation-date>
- <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>919</x-position>
- <y-position>242</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>aOdd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>aEven</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchsCompare</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchs_1</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphLoopSwitchs_1</fromnode-name>
- <fromserviceparameter-name>Loop__Min</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphLoopSwitchs_1</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>23</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchsAborted</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitchs_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>SwitchOdd__Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>SwitchEven__Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/10/2003 - 10:29:4</creation-date>
- <lastmodification-date>14/2/2005 - 16:59:13</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Default links are missing</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 16:59:13</creation-date>
- <lastmodification-date>14/2/2005 - 16:59:13</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>476</x-position>
- <y-position>50</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchOdd</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchOdd</coupled-node>
- <service>
-<service-name>SwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 16:59:13</creation-date>
- <lastmodification-date>14/2/2005 - 16:59:13</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>240</x-position>
- <y-position>141</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchOdd</node-name>
- <kind>7</kind>
- <coupled-node>SwitchOdd</coupled-node>
- <service>
-<service-name>EndOfSwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitchOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitchOdd(a,Odd) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Odd ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 16:59:13</creation-date>
- <lastmodification-date>14/2/2005 - 16:59:13</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>711</x-position>
- <y-position>161</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsEven" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 16:59:13</creation-date>
- <lastmodification-date>14/2/2005 - 16:59:13</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>482</x-position>
- <y-position>292</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndOfLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>14/2/2005 - 16:59:13</creation-date>
- <lastmodification-date>14/2/2005 - 16:59:13</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>12</x-position>
- <y-position>276</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndOfLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 16:59:13</creation-date>
- <lastmodification-date>14/2/2005 - 16:59:13</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1102</x-position>
- <y-position>282</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchEven</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchEven</coupled-node>
- <service>
-<service-name>SwitchEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 16:59:13</creation-date>
- <lastmodification-date>14/2/2005 - 16:59:13</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>235</x-position>
- <y-position>386</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchEven</node-name>
- <kind>7</kind>
- <coupled-node>SwitchEven</coupled-node>
- <service>
-<service-name>EndOfSwitchEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitchEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitchEven(a,Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Even ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 16:59:13</creation-date>
- <lastmodification-date>14/2/2005 - 16:59:13</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>718</x-position>
- <y-position>361</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchsCompare</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SwitchsCompare</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aOdd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchsCompare</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def SwitchsCompare(aOdd,Odd,aEven,Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return aOdd ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 16:59:13</creation-date>
- <lastmodification-date>14/2/2005 - 16:59:13</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>919</x-position>
- <y-position>242</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>aOdd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>aEven</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchsCompare</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchsAborted</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphLoopSwitchsAborted</fromnode-name>
- <fromserviceparameter-name>Loop__Min</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphLoopSwitchsAborted</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>23</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchsBranches_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitchsBranches_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/10/2003 - 10:29:4</creation-date>
- <lastmodification-date>11/2/2005 - 17:27:23</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:27:23</creation-date>
- <lastmodification-date>11/2/2005 - 17:27:23</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>476</x-position>
- <y-position>2</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchOdd</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchOdd</coupled-node>
- <service>
-<service-name>SwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OddEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def SwitchOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Odd' ]]></PyFunc>
- <PyFunc><![CDATA[ if (a&1) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Even' ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),a,OddEven ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:27:23</creation-date>
- <lastmodification-date>11/2/2005 - 17:27:23</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>241</x-position>
- <y-position>208</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchOdd</node-name>
- <kind>7</kind>
- <coupled-node>SwitchOdd</coupled-node>
- <service>
-<service-name>EndOfSwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>OddEven</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitchOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitchOdd(a,Odd,Even,OddEven) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Odd ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:27:23</creation-date>
- <lastmodification-date>11/2/2005 - 17:27:23</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>715</x-position>
- <y-position>208</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsEven" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:27:23</creation-date>
- <lastmodification-date>11/2/2005 - 17:27:23</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>472</x-position>
- <y-position>724</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndOfLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>11/2/2005 - 17:27:23</creation-date>
- <lastmodification-date>11/2/2005 - 17:27:23</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>19</x-position>
- <y-position>341</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndOfLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:27:23</creation-date>
- <lastmodification-date>11/2/2005 - 17:27:23</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1099</x-position>
- <y-position>261</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchEven</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchEven</coupled-node>
- <service>
-<service-name>SwitchEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OddEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def SwitchEven(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Even' ]]></PyFunc>
- <PyFunc><![CDATA[ if (a&1) != 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Odd' ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),a,OddEven ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:27:23</creation-date>
- <lastmodification-date>11/2/2005 - 17:27:23</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>228</x-position>
- <y-position>425</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchEven</node-name>
- <kind>7</kind>
- <coupled-node>SwitchEven</coupled-node>
- <service>
-<service-name>EndOfSwitchEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>OddEven</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitchEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitchEven(a,Even,Odd,OddEven) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Even ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:27:23</creation-date>
- <lastmodification-date>11/2/2005 - 17:27:23</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>722</x-position>
- <y-position>425</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchsCompare</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SwitchsCompare</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aOdd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchsCompare</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def SwitchsCompare(aOdd,Odd,aEven,Even,Index) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Index ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:27:23</creation-date>
- <lastmodification-date>11/2/2005 - 17:27:23</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>918</x-position>
- <y-position>221</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsNotOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsNotOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsNotOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsNotOdd(Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Even ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:27:23</creation-date>
- <lastmodification-date>11/2/2005 - 17:27:23</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>477</x-position>
- <y-position>145</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsNotEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsNotEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsNotEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsNotEven(Odd) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Odd ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:27:23</creation-date>
- <lastmodification-date>11/2/2005 - 17:27:23</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>477</x-position>
- <y-position>570</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsNotOdd</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>OddEven</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>OddEven</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>aOdd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsNotEven</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>OddEven</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>OddEven</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>aEven</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchsCompare</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsNotOdd</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsNotEven</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchsBranches_1</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphLoopSwitchsBranches_1</fromnode-name>
- <fromserviceparameter-name>Loop__Min</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphLoopSwitchsBranches_1</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>23</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchsBranchesdefaultAborted</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitchsBranchesdefault</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/10/2003 - 10:29:4</creation-date>
- <lastmodification-date>14/2/2005 - 17:10:5</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 17:10:5</creation-date>
- <lastmodification-date>14/2/2005 - 17:10:5</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>476</x-position>
- <y-position>2</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchOdd</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchOdd</coupled-node>
- <service>
-<service-name>SwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>default</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OddEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def SwitchOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = '<=0' ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,0,a,OddEven ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Odd' ]]></PyFunc>
- <PyFunc><![CDATA[ if (a&1) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Even' ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),1-(a&1),a,OddEven ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 17:10:5</creation-date>
- <lastmodification-date>14/2/2005 - 17:10:5</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>240</x-position>
- <y-position>142</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchOdd</node-name>
- <kind>7</kind>
- <coupled-node>SwitchOdd</coupled-node>
- <service>
-<service-name>EndOfSwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>OddEven</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitchOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitchOdd(a,Odd,Even,OddEven) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Odd ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 17:10:5</creation-date>
- <lastmodification-date>14/2/2005 - 17:10:5</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>718</x-position>
- <y-position>162</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsEven" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 17:10:5</creation-date>
- <lastmodification-date>14/2/2005 - 17:10:5</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>472</x-position>
- <y-position>724</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndOfLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = 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 >= Min : ]]></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>14/2/2005 - 17:10:5</creation-date>
- <lastmodification-date>14/2/2005 - 17:10:5</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>18</x-position>
- <y-position>389</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndOfLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 17:10:5</creation-date>
- <lastmodification-date>14/2/2005 - 17:10:5</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1097</x-position>
- <y-position>309</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchEven</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchEven</coupled-node>
- <service>
-<service-name>SwitchEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>default</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OddEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def SwitchEven(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = '<=0' ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,0,a,OddEven ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Even' ]]></PyFunc>
- <PyFunc><![CDATA[ if (a&1) != 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Odd' ]]></PyFunc>
- <PyFunc><![CDATA[ print (a&1),1-(a&1),(a&1),a,OddEven ]]></PyFunc>
- <PyFunc><![CDATA[ return (a&1),1-(a&1),(a&1),a,OddEven ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 17:10:5</creation-date>
- <lastmodification-date>14/2/2005 - 17:10:5</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>230</x-position>
- <y-position>457</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchEven</node-name>
- <kind>7</kind>
- <coupled-node>SwitchEven</coupled-node>
- <service>
-<service-name>EndOfSwitchEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>OddEven</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitchEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitchEven(a,Even,Odd,OddEven) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Even ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 17:10:5</creation-date>
- <lastmodification-date>14/2/2005 - 17:10:5</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>721</x-position>
- <y-position>477</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchsCompare</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SwitchsCompare</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aOdd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchsCompare</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def SwitchsCompare(aOdd,Odd,aEven,Even,Index) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Index ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 17:10:5</creation-date>
- <lastmodification-date>14/2/2005 - 17:10:5</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>916</x-position>
- <y-position>269</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsNotOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsNotOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsNotOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsNotOdd(Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Even ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 17:10:5</creation-date>
- <lastmodification-date>14/2/2005 - 17:10:5</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>477</x-position>
- <y-position>137</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsNotEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsNotEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsNotEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsNotEven(Odd) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Odd ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 17:10:5</creation-date>
- <lastmodification-date>14/2/2005 - 17:10:5</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>475</x-position>
- <y-position>601</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdddefault</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdddefault</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdddefault</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdddefault(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,0 ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 17:10:5</creation-date>
- <lastmodification-date>14/2/2005 - 17:10:5</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>477</x-position>
- <y-position>285</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEvendefault</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEvendefault</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEvendefault</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEvendefault(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,0 ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 17:10:5</creation-date>
- <lastmodification-date>14/2/2005 - 17:10:5</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>478</x-position>
- <y-position>434</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsNotOdd</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>IsOdddefault</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdddefault</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>OddEven</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>OddEven</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>aOdd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsNotEven</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>IsEvendefault</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEvendefault</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>OddEven</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>OddEven</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>aEven</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchsCompare</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsNotOdd</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsNotEven</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdddefault</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdddefault</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEvendefault</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEvendefault</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchsBranchesdefaultAborted</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphLoopSwitchsBranchesdefaultAborted</fromnode-name>
- <fromserviceparameter-name>Loop__Min</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopSwitchsBranchesdefaultAborted</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>11</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchsBranchesdefault</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitchsBranchesdefault</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/10/2003 - 10:29:4</creation-date>
- <lastmodification-date>11/2/2005 - 17:25:28</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:9:54</creation-date>
- <lastmodification-date>11/2/2005 - 17:9:54</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>476</x-position>
- <y-position>2</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchOdd</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchOdd</coupled-node>
- <service>
-<service-name>SwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>default</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OddEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def SwitchOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = '<=0' ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,0,a,OddEven ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Odd' ]]></PyFunc>
- <PyFunc><![CDATA[ if (a&1) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Even' ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),1-(a&1),a,OddEven ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:9:54</creation-date>
- <lastmodification-date>11/2/2005 - 17:9:54</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>240</x-position>
- <y-position>142</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchOdd</node-name>
- <kind>7</kind>
- <coupled-node>SwitchOdd</coupled-node>
- <service>
-<service-name>EndOfSwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>OddEven</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitchOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitchOdd(a,Odd,Even,OddEven) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Odd ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:9:54</creation-date>
- <lastmodification-date>11/2/2005 - 17:9:54</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>718</x-position>
- <y-position>162</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsEven" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:9:54</creation-date>
- <lastmodification-date>11/2/2005 - 17:9:54</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>472</x-position>
- <y-position>724</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndOfLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = 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 >= Min : ]]></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>11/2/2005 - 17:9:54</creation-date>
- <lastmodification-date>11/2/2005 - 17:9:54</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>18</x-position>
- <y-position>389</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndOfLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:9:54</creation-date>
- <lastmodification-date>11/2/2005 - 17:9:54</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1097</x-position>
- <y-position>309</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchEven</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchEven</coupled-node>
- <service>
-<service-name>SwitchEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>default</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OddEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def SwitchEven(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = '<=0' ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,0,a,OddEven ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Even' ]]></PyFunc>
- <PyFunc><![CDATA[ if (a&1) != 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Odd' ]]></PyFunc>
- <PyFunc><![CDATA[ print (a&1),1-(a&1),(a&1),a,OddEven ]]></PyFunc>
- <PyFunc><![CDATA[ return (a&1),1-(a&1),(a&1),a,OddEven ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:9:54</creation-date>
- <lastmodification-date>11/2/2005 - 17:9:54</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>230</x-position>
- <y-position>457</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchEven</node-name>
- <kind>7</kind>
- <coupled-node>SwitchEven</coupled-node>
- <service>
-<service-name>EndOfSwitchEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>OddEven</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitchEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitchEven(a,Even,Odd,OddEven) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Even ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:9:54</creation-date>
- <lastmodification-date>11/2/2005 - 17:9:54</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>721</x-position>
- <y-position>477</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchsCompare</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SwitchsCompare</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aOdd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchsCompare</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def SwitchsCompare(aOdd,Odd,aEven,Even,Index) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Index ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:9:54</creation-date>
- <lastmodification-date>11/2/2005 - 17:9:54</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>916</x-position>
- <y-position>269</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsNotOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsNotOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsNotOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsNotOdd(Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Even ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:9:54</creation-date>
- <lastmodification-date>11/2/2005 - 17:9:54</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>477</x-position>
- <y-position>137</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsNotEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsNotEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsNotEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsNotEven(Odd) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Odd ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:9:54</creation-date>
- <lastmodification-date>11/2/2005 - 17:9:54</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>475</x-position>
- <y-position>601</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdddefault</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdddefault</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdddefault</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdddefault(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,0 ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:16:6</creation-date>
- <lastmodification-date>11/2/2005 - 17:16:6</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>477</x-position>
- <y-position>285</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEvendefault</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdddefault_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEvendefault</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEvendefault(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,0 ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/2/2005 - 17:23:32</creation-date>
- <lastmodification-date>11/2/2005 - 17:23:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>478</x-position>
- <y-position>434</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsNotOdd</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>IsOdddefault</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdddefault</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>OddEven</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>OddEven</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>aOdd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsNotEven</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>IsEvendefault</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEvendefault</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>OddEven</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>OddEven</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>aEven</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchsCompare</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsNotOdd</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsNotEven</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdddefault</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdddefault</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEvendefault</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEvendefault</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchsBranchesdefault</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphLoopSwitchsBranchesdefault</fromnode-name>
- <fromserviceparameter-name>Loop__Min</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopSwitchsBranchesdefault</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>23</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopSwitchsNOTValid</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopSwitchsNOTValid</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>EndOfSwitchEven__Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>SwitchOdd__Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/10/2003 - 10:29:4</creation-date>
- <lastmodification-date>8/2/2005 - 11:26:57</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/2/2005 - 11:26:56</creation-date>
- <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>476</x-position>
- <y-position>50</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchOdd</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchOdd</coupled-node>
- <service>
-<service-name>SwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>8/2/2005 - 11:26:56</creation-date>
- <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>240</x-position>
- <y-position>141</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchOdd</node-name>
- <kind>7</kind>
- <coupled-node>SwitchOdd</coupled-node>
- <service>
-<service-name>EndOfSwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/2/2005 - 11:26:56</creation-date>
- <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>711</x-position>
- <y-position>161</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsEven" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/2/2005 - 11:26:56</creation-date>
- <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>479</x-position>
- <y-position>311</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndOfLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>8/2/2005 - 11:26:56</creation-date>
- <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>12</x-position>
- <y-position>276</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndOfLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/2/2005 - 11:26:56</creation-date>
- <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1102</x-position>
- <y-position>282</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchEven</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchEven</coupled-node>
- <service>
-<service-name>SwitchEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>8/2/2005 - 11:26:56</creation-date>
- <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>235</x-position>
- <y-position>386</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchEven</node-name>
- <kind>7</kind>
- <coupled-node>SwitchEven</coupled-node>
- <service>
-<service-name>EndOfSwitchEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/2/2005 - 11:26:56</creation-date>
- <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>718</x-position>
- <y-position>361</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchsCompare</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SwitchsCompare</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aOdd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchsCompare</FuncName>
- <PyFunc><![CDATA[def SwitchsCompare(aOdd,Odd,aEven,Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/2/2005 - 11:26:56</creation-date>
- <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>919</x-position>
- <y-position>242</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>443</x>
- <y>121</y> </coord>
- <coord>
-<x>443</x>
- <y>212</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>aOdd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>434</x>
- <y>382</y> </coord>
- <coord>
-<x>434</x>
- <y>457</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>EndOfSwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>aEven</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>SwitchsCompare</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchsCompare</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopSwitchsNOTValid</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphLoopSwitchsNOTValid</fromnode-name>
- <fromserviceparameter-name>Loop__Min</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphLoopSwitchsNOTValid</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>100</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopTwoBranches_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopTwoBranches_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>EndOfSwitchOdd__Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfSwitchEven__a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>EndOfSwitchEven__Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/7/2005 - 15:59:20</creation-date>
- <lastmodification-date>4/7/2005 - 17:43:34</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/7/2005 - 17:38:58</creation-date>
- <lastmodification-date>4/7/2005 - 17:38:58</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>476</x-position>
- <y-position>2</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchOdd</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchOdd</coupled-node>
- <service>
-<service-name>SwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>default</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OddEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def SwitchOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = '<=0' ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,0,a,OddEven ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Odd' ]]></PyFunc>
- <PyFunc><![CDATA[ if (a&1) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Even' ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),1-(a&1),a,OddEven ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/7/2005 - 17:38:58</creation-date>
- <lastmodification-date>4/7/2005 - 17:38:58</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>240</x-position>
- <y-position>142</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchOdd</node-name>
- <kind>7</kind>
- <coupled-node>SwitchOdd</coupled-node>
- <service>
-<service-name>EndOfSwitchOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>OddEven</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitchOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitchOdd(a,Odd,Even,OddEven) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Odd ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/7/2005 - 17:38:58</creation-date>
- <lastmodification-date>4/7/2005 - 17:38:58</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>718</x-position>
- <y-position>162</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsEven" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/7/2005 - 17:38:58</creation-date>
- <lastmodification-date>4/7/2005 - 17:38:58</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>472</x-position>
- <y-position>724</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndOfLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = 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 >= Min : ]]></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>4/7/2005 - 17:38:58</creation-date>
- <lastmodification-date>4/7/2005 - 17:38:58</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>18</x-position>
- <y-position>389</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndOfLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/7/2005 - 17:38:58</creation-date>
- <lastmodification-date>4/7/2005 - 17:38:58</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1097</x-position>
- <y-position>309</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchEven</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitchEven</coupled-node>
- <service>
-<service-name>SwitchEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>default</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OddEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def SwitchEven(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = '<=0' ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,0,a,OddEven ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Even' ]]></PyFunc>
- <PyFunc><![CDATA[ if (a&1) != 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ OddEven = 'Odd' ]]></PyFunc>
- <PyFunc><![CDATA[ print (a&1),1-(a&1),(a&1),a,OddEven ]]></PyFunc>
- <PyFunc><![CDATA[ return (a&1),1-(a&1),(a&1),a,OddEven ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/7/2005 - 17:38:58</creation-date>
- <lastmodification-date>4/7/2005 - 17:38:58</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>230</x-position>
- <y-position>457</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitchEven</node-name>
- <kind>7</kind>
- <coupled-node>SwitchEven</coupled-node>
- <service>
-<service-name>EndOfSwitchEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>OddEven</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitchEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitchEven(a,Even,Odd,OddEven) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Even ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/7/2005 - 17:38:58</creation-date>
- <lastmodification-date>4/7/2005 - 17:38:58</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>721</x-position>
- <y-position>477</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsNotOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsNotOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsNotOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsNotOdd(Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Even ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/7/2005 - 17:38:58</creation-date>
- <lastmodification-date>4/7/2005 - 17:38:58</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>477</x-position>
- <y-position>137</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsNotEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsNotEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Odd</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsNotEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsNotEven(Odd) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Odd ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/7/2005 - 17:38:58</creation-date>
- <lastmodification-date>4/7/2005 - 17:38:58</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>475</x-position>
- <y-position>601</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdddefault</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdddefault</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdddefault</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdddefault(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,0 ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/7/2005 - 17:38:58</creation-date>
- <lastmodification-date>4/7/2005 - 17:38:58</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>477</x-position>
- <y-position>285</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEvendefault</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEvendefault</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEvendefault</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEvendefault(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,0 ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/7/2005 - 17:38:58</creation-date>
- <lastmodification-date>4/7/2005 - 17:38:58</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>478</x-position>
- <y-position>434</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsNotOdd</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>IsOdddefault</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdddefault</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>OddEven</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>OddEven</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchOdd</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsNotEven</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>IsEvendefault</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEvendefault</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>OddEven</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>OddEven</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchEven</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitchEven</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndOfLoop</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsNotOdd</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsNotEven</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdddefault</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdddefault</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>EndOfSwitchOdd</tonode-name>
- <toserviceparameter-name>Odd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEvendefault</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEvendefault</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndOfSwitchEven</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopTwoBranches_1</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphLoopTwoBranches_1</fromnode-name>
- <fromserviceparameter-name>Loop__Min</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopTwoBranches_1</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>11</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopWhile</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopWhile_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>16/12/2004 - 15:39:50</creation-date>
- <lastmodification-date>16/12/2004 - 16:51:46</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>LoopWhileMore</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def LoopWhileMore(Index,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(2) ]]></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,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>LoopWhileNext</FuncName>
- <PyFunc><![CDATA[def LoopWhileNext(Index,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/12/2004 - 16:51:46</creation-date>
- <lastmodification-date>16/12/2004 - 16:51:46</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>105</x-position>
- <y-position>226</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoop</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/12/2004 - 16:51:46</creation-date>
- <lastmodification-date>16/12/2004 - 16:51:46</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>414</x-position>
- <y-position>232</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopWhile</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopWhile</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopsCoupled_3</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopsCoupled_3</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__z</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__z</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>17/12/2004 - 17:11:7</creation-date>
- <lastmodification-date>17/12/2004 - 18:26:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>Add</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Add</FuncName>
- <PyFunc><![CDATA[def Add(x,y) : ]]></PyFunc>
- <PyFunc><![CDATA[ return x+y ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/12/2004 - 18:26:39</creation-date>
- <lastmodification-date>17/12/2004 - 18:26:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>245</x-position>
- <y-position>38</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Add_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Add</FuncName>
- <PyFunc><![CDATA[def Add(x,y) : ]]></PyFunc>
- <PyFunc><![CDATA[ return x+y ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/12/2004 - 18:26:39</creation-date>
- <lastmodification-date>17/12/2004 - 18:26:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>243</x-position>
- <y-position>288</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Sub</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Sub</FuncName>
- <PyFunc><![CDATA[def Sub(x,y) : ]]></PyFunc>
- <PyFunc><![CDATA[ return x-y ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/12/2004 - 18:26:39</creation-date>
- <lastmodification-date>17/12/2004 - 18:26:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>458</x-position>
- <y-position>18</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Sub_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Sub</FuncName>
- <PyFunc><![CDATA[def Sub(x,y) : ]]></PyFunc>
- <PyFunc><![CDATA[ return x-y ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/12/2004 - 18:26:39</creation-date>
- <lastmodification-date>17/12/2004 - 18:26:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>461</x-position>
- <y-position>268</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>z</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(Index,Max,z) : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index < Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Max,z ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Max,z) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,z ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/12/2004 - 18:26:39</creation-date>
- <lastmodification-date>17/12/2004 - 18:26:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>15</x-position>
- <y-position>58</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>z</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoop</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/12/2004 - 18:26:39</creation-date>
- <lastmodification-date>17/12/2004 - 18:26:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>662</x-position>
- <y-position>38</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>z</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(Index,Max,z) : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index < Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Max,z ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Max,z) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,z ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/12/2004 - 18:26:39</creation-date>
- <lastmodification-date>17/12/2004 - 18:26:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>308</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>z</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndInit</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/12/2004 - 18:26:39</creation-date>
- <lastmodification-date>17/12/2004 - 18:26:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>670</x-position>
- <y-position>288</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add_1</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add_1</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>z</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub_1</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>z</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopsCoupled_3</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopsCoupled_3</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>15</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopsCoupled_3</fromnode-name>
- <fromserviceparameter-name>Loop__z</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>z</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopsCoupled_3</fromnode-name>
- <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopsCoupled_3</fromnode-name>
- <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>13</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopsCoupled_3</fromnode-name>
- <fromserviceparameter-name>Init__z</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>z</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-2</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopsGates_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopsGates_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add_1__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add_1__y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init_1__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init_1__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init_1__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add__FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add__z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add_1__FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add_1__z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Sub__z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Sub_1__z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Gate__G</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit_1__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit_1__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit_1__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>7/1/2005 - 16:57:1</creation-date>
- <lastmodification-date>5/7/2005 - 16:16:19</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Init(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(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>Next</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Next(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>5/7/2005 - 16:15:13</creation-date>
- <lastmodification-date>5/7/2005 - 16:15:13</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>29</x-position>
- <y-position>251</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndInit</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>5/7/2005 - 16:15:13</creation-date>
- <lastmodification-date>5/7/2005 - 16:15:13</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>838</x-position>
- <y-position>243</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>5/7/2005 - 16:15:13</creation-date>
- <lastmodification-date>5/7/2005 - 16:15:13</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>230</x-position>
- <y-position>76</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>5/7/2005 - 16:15:13</creation-date>
- <lastmodification-date>5/7/2005 - 16:15:13</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>225</x-position>
- <y-position>304</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>5/7/2005 - 16:15:13</creation-date>
- <lastmodification-date>5/7/2005 - 16:15:13</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>447</x-position>
- <y-position>77</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>5/7/2005 - 16:15:13</creation-date>
- <lastmodification-date>5/7/2005 - 16:15:13</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>448</x-position>
- <y-position>304</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Gate</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Gate</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>G1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>G2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>G</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Gate</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Gate(G1,G2) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return G1&G2 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>5/7/2005 - 16:15:13</creation-date>
- <lastmodification-date>5/7/2005 - 16:15:13</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>640</x-position>
- <y-position>224</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Init_1</node-name>
- <kind>4</kind>
- <coupled-node>EndInit_1</coupled-node>
- <service>
-<service-name>Init_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Init_1(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More_1</FuncName>
- <PyFunc><![CDATA[def More_1(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>Next_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Next_1(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>5/7/2005 - 16:15:13</creation-date>
- <lastmodification-date>5/7/2005 - 16:15:13</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>9</x-position>
- <y-position>24</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit_1</node-name>
- <kind>5</kind>
- <coupled-node>Init_1</coupled-node>
- <service>
-<service-name>EndInit_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndInit_1</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>5/7/2005 - 16:15:13</creation-date>
- <lastmodification-date>5/7/2005 - 16:15:13</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1049</x-position>
- <y-position>201</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Gate</tonode-name>
- <toserviceparameter-name>G1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Gate</tonode-name>
- <toserviceparameter-name>G2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Gate</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndInit_1</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>9</x>
- <y>346</y> </coord>
- <coord>
-<x>9</x>
- <y>199</y> </coord>
- <coord>
-<x>194</x>
- <y>199</y> </coord>
- <coord>
-<x>194</x>
- <y>119</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>EndInit_1</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init_1</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopsGates_1</fromnode-name>
- <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
- <tonode-name>Init</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>GraphLoopsGates_1</fromnode-name>
- <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopsGates_1</fromnode-name>
- <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>8</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopsGates_1</fromnode-name>
- <fromserviceparameter-name>Add__x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopsGates_1</fromnode-name>
- <fromserviceparameter-name>Add__y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>2</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopsGates_1</fromnode-name>
- <fromserviceparameter-name>Add_1__x</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopsGates_1</fromnode-name>
- <fromserviceparameter-name>Add_1__y</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>4</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopsGates_1</fromnode-name>
- <fromserviceparameter-name>Init_1__Index</fromserviceparameter-name>
- <tonode-name>Init_1</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopsGates_1</fromnode-name>
- <fromserviceparameter-name>Init_1__Min</fromserviceparameter-name>
- <tonode-name>Init_1</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopsGates_1</fromnode-name>
- <fromserviceparameter-name>Init_1__Max</fromserviceparameter-name>
- <tonode-name>Init_1</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphLoopsStupidCoupledSwitchs</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphLoopsStupidCoupledSwitchs</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Switch__Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Switch__Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Switch_1__Odd</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/10/2003 - 10:29:4</creation-date>
- <lastmodification-date>29/4/2005 - 17:18:4</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>29/4/2005 - 17:8:53</creation-date>
- <lastmodification-date>29/4/2005 - 17:8:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>458</x-position>
- <y-position>52</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>29/4/2005 - 17:8:53</creation-date>
- <lastmodification-date>29/4/2005 - 17:8:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>14</x-position>
- <y-position>136</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/4/2005 - 17:8:53</creation-date>
- <lastmodification-date>29/4/2005 - 17:8:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>955</x-position>
- <y-position>122</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>29/4/2005 - 17:8:53</creation-date>
- <lastmodification-date>29/4/2005 - 17:8:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>245</x-position>
- <y-position>136</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/4/2005 - 17:8:53</creation-date>
- <lastmodification-date>29/4/2005 - 17:8:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>690</x-position>
- <y-position>129</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>
-<service-name>IsOdd_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>29/4/2005 - 17:8:53</creation-date>
- <lastmodification-date>29/4/2005 - 17:8:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>487</x-position>
- <y-position>321</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>
-<service-name>InitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>29/4/2005 - 17:8:53</creation-date>
- <lastmodification-date>29/4/2005 - 17:8:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>391</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/4/2005 - 17:8:53</creation-date>
- <lastmodification-date>29/4/2005 - 17:8:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>961</x-position>
- <y-position>369</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>
-<service-name>Switch_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>29/4/2005 - 17:8:53</creation-date>
- <lastmodification-date>29/4/2005 - 17:8:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>258</x-position>
- <y-position>391</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>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/4/2005 - 17:8:53</creation-date>
- <lastmodification-date>29/4/2005 - 17:8:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>695</x-position>
- <y-position>387</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/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoopSwitch</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</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>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch</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>
-<fromnode-name>IsOdd_1</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <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>
-<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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Switch</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Switch_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>IsOdd_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>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/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfInitLoopSwitch</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphLoopsStupidCoupledSwitchs</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>GraphLoopsStupidCoupledSwitchs</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>GraphLoopsStupidCoupledSwitchs</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>20</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphLoopsStupidCoupledSwitchs</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>GraphLoopsStupidCoupledSwitchs</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>GraphLoopsStupidCoupledSwitchs</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>20</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphMacroNodes</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphMacroNodes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Macro_SyrStruct__SyrComponent__aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Macro_SyrStruct__SyrComponent__aComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Macro_SyrStruct__forN__N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Macro_SyrStruct__forN__K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Macro_SyrStruct__forN__min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Macro_SyrStruct__forN__max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Macro_SyrStruct__fori__i</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Macro_SyrStruct_1__SyrComponent__aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Macro_SyrStruct_1__SyrComponent__aComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Macro_SyrStruct_1__forN__N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Macro_SyrStruct_1__forN__K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Macro_SyrStruct_1__forN__min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Macro_SyrStruct_1__forN__max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Macro_SyrStruct_1__fori__i</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add__FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Div__z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_SyrStruct__EndOfforN__N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_SyrStruct__EndOfforN__K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>Macro_SyrStruct__EndOfforN__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_SyrStruct__EndOfforN__min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_SyrStruct__EndOfforN__max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>Macro_SyrStruct__EndOfwhileNotOne__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_SyrStruct__EndOfwhileNotOne__N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_SyrStruct__EndOffori__i</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>Macro_SyrStruct__EndOfwhileEven__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_SyrStruct_1__EndOfforN__N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_SyrStruct_1__EndOfforN__K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>Macro_SyrStruct_1__EndOfforN__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_SyrStruct_1__EndOfforN__min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_SyrStruct_1__EndOfforN__max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>Macro_SyrStruct_1__EndOfwhileNotOne__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_SyrStruct_1__EndOfwhileNotOne__N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Macro_SyrStruct_1__EndOffori__i</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>Macro_SyrStruct_1__EndOfwhileEven__SyrComponent</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>15/6/2004 - 10:28:51</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>9</x-position>
- <y-position>293</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>227</x-position>
- <y-position>99</y-position> </node>
- <node>
-<component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>443</x-position>
- <y-position>278</y-position> </node>
- <node>
-<component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Div</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Div from DivComponent</comment>
- <x-position>634</x-position>
- <y-position>97</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Macro_SyrStruct</node-name>
- <kind>10</kind>
- <coupled-node>SyrStruct_1</coupled-node>
- <service>
-<service-name>SyrStruct_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfforN__K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfforN__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfforN__min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfforN__max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfwhileNotOne__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfwhileNotOne__N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOffori__i</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfwhileEven__SyrComponent</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Macro Node</comment>
- <x-position>13</x-position>
- <y-position>6</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Macro_SyrStruct_1</node-name>
- <kind>10</kind>
- <coupled-node>SyrStruct_1_1</coupled-node>
- <service>
-<service-name>SyrStruct_1_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfforN__K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfforN__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfforN__min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfforN__max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfwhileNotOne__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfwhileNotOne__N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOffori__i</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfwhileEven__SyrComponent</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Macro Node</comment>
- <x-position>8</x-position>
- <y-position>441</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Add__x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Add__y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>4.5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Sub__x</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1.5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Macro_SyrStruct__SyrComponent__aContainer</fromserviceparameter-name>
- <tonode-name>Macro_SyrStruct</tonode-name>
- <toserviceparameter-name>SyrComponent__aContainer</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value>FactoryServer</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Macro_SyrStruct__SyrComponent__aComponent</fromserviceparameter-name>
- <tonode-name>Macro_SyrStruct</tonode-name>
- <toserviceparameter-name>SyrComponent__aComponent</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value>SyrComponent</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Macro_SyrStruct__forN__N</fromserviceparameter-name>
- <tonode-name>Macro_SyrStruct</tonode-name>
- <toserviceparameter-name>forN__N</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Macro_SyrStruct__forN__K</fromserviceparameter-name>
- <tonode-name>Macro_SyrStruct</tonode-name>
- <toserviceparameter-name>forN__K</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Macro_SyrStruct__forN__min</fromserviceparameter-name>
- <tonode-name>Macro_SyrStruct</tonode-name>
- <toserviceparameter-name>forN__min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Macro_SyrStruct__forN__max</fromserviceparameter-name>
- <tonode-name>Macro_SyrStruct</tonode-name>
- <toserviceparameter-name>forN__max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>9</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Macro_SyrStruct__fori__i</fromserviceparameter-name>
- <tonode-name>Macro_SyrStruct</tonode-name>
- <toserviceparameter-name>fori__i</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Macro_SyrStruct_1__SyrComponent__aContainer</fromserviceparameter-name>
- <tonode-name>Macro_SyrStruct_1</tonode-name>
- <toserviceparameter-name>SyrComponent__aContainer</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value>FactoryServer</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Macro_SyrStruct_1__SyrComponent__aComponent</fromserviceparameter-name>
- <tonode-name>Macro_SyrStruct_1</tonode-name>
- <toserviceparameter-name>SyrComponent__aComponent</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value>SyrComponent</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Macro_SyrStruct_1__forN__N</fromserviceparameter-name>
- <tonode-name>Macro_SyrStruct_1</tonode-name>
- <toserviceparameter-name>forN__N</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Macro_SyrStruct_1__forN__K</fromserviceparameter-name>
- <tonode-name>Macro_SyrStruct_1</tonode-name>
- <toserviceparameter-name>forN__K</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Macro_SyrStruct_1__forN__min</fromserviceparameter-name>
- <tonode-name>Macro_SyrStruct_1</tonode-name>
- <toserviceparameter-name>forN__min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Macro_SyrStruct_1__forN__max</fromserviceparameter-name>
- <tonode-name>Macro_SyrStruct_1</tonode-name>
- <toserviceparameter-name>forN__max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>9</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphMacroNodes</fromnode-name>
- <fromserviceparameter-name>Macro_SyrStruct_1__fori__i</fromserviceparameter-name>
- <tonode-name>Macro_SyrStruct_1</tonode-name>
- <toserviceparameter-name>fori__i</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow>
- <dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SyrStruct_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SyrStruct_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfforN__K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfforN__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfforN__min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfforN__max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfwhileNotOne__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfwhileNotOne__N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOffori__i</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfwhileEven__SyrComponent</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>15/6/2004 - 10:28:51</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>C_M3</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<component-name>SyrComponent</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<component-name>SyrComponent</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<component-name>SyrComponent</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<component-name>?</component-name>
- <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>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <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>
- <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>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>forN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndOfforN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>1535</x-position>
- <y-position>332</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>
-<service-name>whileNotOne</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>InitNotOne , MoreNotOne , NextNotOne</comment>
- <x-position>212</x-position>
- <y-position>274</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>
-<service-name>EndOfwhileNotOne</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>1366</x-position>
- <y-position>303</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>
-<service-name>fori</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>i</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>i</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Initfori, Morefori, Nextfori</comment>
- <x-position>635</x-position>
- <y-position>212</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>
-<service-name>EndOffori</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>i</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>i</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>976</x-position>
- <y-position>212</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>
-<service-name>whileEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndOfwhileEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>988</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>
-<service-name>ifNotEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>ifNotEven</comment>
- <x-position>418</x-position>
- <y-position>274</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>
-<service-name>EndOfifNotEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>1205</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>
-<fromnode-name>m3incr</fromnode-name>
- <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>1191</x>
- <y>109</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>
-<fromnode-name>div2</fromnode-name>
- <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>
-<coord>
-<x>988</x>
- <y>543</y> </coord>
- <coord>
-<x>988</x>
- <y>654</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>
-<coord>
-<x>13</x>
- <y>394</y> </coord>
- <coord>
-<x>12</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>
-<fromnode-name>forN</fromnode-name>
- <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>
-<fromnode-name>forN</fromnode-name>
- <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>
-<fromnode-name>forN</fromnode-name>
- <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>
-<coord>
-<x>192</x>
- <y>309</y> </coord>
- <coord>
-<x>191</x>
- <y>394</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>
-<fromnode-name>forN</fromnode-name>
- <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>
-<fromnode-name>whileNotOne</fromnode-name>
- <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>
-<fromnode-name>whileNotOne</fromnode-name>
- <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>
-<fromnode-name>whileNotOne</fromnode-name>
- <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>
-<fromnode-name>EndOfwhileNotOne</fromnode-name>
- <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>
-<fromnode-name>fori</fromnode-name>
- <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>
-<fromnode-name>EndOffori</fromnode-name>
- <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>
-<coord>
-<x>1170</x>
- <y>396</y> </coord>
- <coord>
-<x>1169</x>
- <y>275</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>
-<fromnode-name>whileEven</fromnode-name>
- <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>
-<fromnode-name>whileEven</fromnode-name>
- <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>
-<fromnode-name>EndOfwhileEven</fromnode-name>
- <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>
-<coord>
-<x>1191</x>
- <y>366</y> </coord>
- <coord>
-<x>1191</x>
- <y>513</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>
-<coord>
-<x>1169</x>
- <y>395</y> </coord>
- <coord>
-<x>1170</x>
- <y>543</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>ifNotEven</fromnode-name>
- <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>
-<fromnode-name>ifNotEven</fromnode-name>
- <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>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>
-<fromnode-name>ifNotEven</fromnode-name>
- <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>
-<fromnode-name>ifNotEven</fromnode-name>
- <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>
-<fromnode-name>ifNotEven</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>604</x>
- <y>107</y> </coord>
- <coord>
-<x>604</x>
- <y>395</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>
-<coord>
-<x>621</x>
- <y>544</y> </coord>
- <coord>
-<x>622</x>
- <y>426</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>
-<coord>
-<x>622</x>
- <y>275</y> </coord>
- <coord>
-<x>622</x>
- <y>426</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>
-<coord>
-<x>1204</x>
- <y>429</y> </coord>
- <coord>
-<x>1203</x>
- <y>12</y> </coord>
- <coord>
-<x>581</x>
- <y>13</y> </coord>
- <coord>
-<x>581</x>
- <y>458</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>
-<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/> </dataflow>
- <dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SyrStruct_1_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SyrStruct_1_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfforN__K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfforN__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfforN__min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfforN__max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfwhileNotOne__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfwhileNotOne__N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOffori__i</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfwhileEven__SyrComponent</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>15/6/2004 - 10:28:52</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>C_M3</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<component-name>SyrComponent</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<component-name>SyrComponent</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<component-name>SyrComponent</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<component-name>?</component-name>
- <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>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <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>
- <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>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>forN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndOfforN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>1535</x-position>
- <y-position>332</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>
-<service-name>whileNotOne</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>InitNotOne , MoreNotOne , NextNotOne</comment>
- <x-position>212</x-position>
- <y-position>274</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>
-<service-name>EndOfwhileNotOne</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>1366</x-position>
- <y-position>303</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>
-<service-name>fori</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>i</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>i</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Initfori, Morefori, Nextfori</comment>
- <x-position>635</x-position>
- <y-position>212</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>
-<service-name>EndOffori</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>i</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>i</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>976</x-position>
- <y-position>212</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>
-<service-name>whileEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndOfwhileEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>988</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>
-<service-name>ifNotEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>ifNotEven</comment>
- <x-position>418</x-position>
- <y-position>274</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>
-<service-name>EndOfifNotEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>4/5/2005 - 14:6:2</creation-date>
- <lastmodification-date>4/5/2005 - 14:6:2</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>1205</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>
-<fromnode-name>m3incr</fromnode-name>
- <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>1191</x>
- <y>109</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>
-<fromnode-name>div2</fromnode-name>
- <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>
-<coord>
-<x>988</x>
- <y>543</y> </coord>
- <coord>
-<x>988</x>
- <y>654</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>
-<coord>
-<x>13</x>
- <y>394</y> </coord>
- <coord>
-<x>12</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>
-<fromnode-name>forN</fromnode-name>
- <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>
-<fromnode-name>forN</fromnode-name>
- <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>
-<fromnode-name>forN</fromnode-name>
- <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>
-<coord>
-<x>192</x>
- <y>309</y> </coord>
- <coord>
-<x>191</x>
- <y>394</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>
-<fromnode-name>forN</fromnode-name>
- <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>
-<fromnode-name>whileNotOne</fromnode-name>
- <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>
-<fromnode-name>whileNotOne</fromnode-name>
- <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>
-<fromnode-name>whileNotOne</fromnode-name>
- <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>
-<fromnode-name>EndOfwhileNotOne</fromnode-name>
- <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>
-<fromnode-name>fori</fromnode-name>
- <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>
-<fromnode-name>EndOffori</fromnode-name>
- <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>
-<coord>
-<x>1170</x>
- <y>396</y> </coord>
- <coord>
-<x>1169</x>
- <y>275</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>
-<fromnode-name>whileEven</fromnode-name>
- <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>
-<fromnode-name>whileEven</fromnode-name>
- <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>
-<fromnode-name>EndOfwhileEven</fromnode-name>
- <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>
-<coord>
-<x>1191</x>
- <y>366</y> </coord>
- <coord>
-<x>1191</x>
- <y>513</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>
-<coord>
-<x>1169</x>
- <y>395</y> </coord>
- <coord>
-<x>1170</x>
- <y>543</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>ifNotEven</fromnode-name>
- <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>
-<fromnode-name>ifNotEven</fromnode-name>
- <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>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>
-<fromnode-name>ifNotEven</fromnode-name>
- <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>
-<fromnode-name>ifNotEven</fromnode-name>
- <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>
-<fromnode-name>ifNotEven</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>604</x>
- <y>107</y> </coord>
- <coord>
-<x>604</x>
- <y>395</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>
-<coord>
-<x>621</x>
- <y>544</y> </coord>
- <coord>
-<x>622</x>
- <y>426</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>
-<coord>
-<x>622</x>
- <y>275</y> </coord>
- <coord>
-<x>622</x>
- <y>426</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>
-<coord>
-<x>1204</x>
- <y>429</y> </coord>
- <coord>
-<x>1203</x>
- <y>12</y> </coord>
- <coord>
-<x>581</x>
- <y>13</y> </coord>
- <coord>
-<x>581</x>
- <y>458</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>
-<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/> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphMacroNodes1_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphMacroNodes1_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Div__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Div__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Mul__z</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Div__z</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Macro_GraphAdd__Add__FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Macro_GraphAdd__Add__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 9:58:58</creation-date>
- <lastmodification-date>28/9/2005 - 16:42:9</lastmodification-date>
- <editor-release>1.04</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>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Add</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:42:9</creation-date>
- <lastmodification-date>28/9/2005 - 16:42:9</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>15</x-position>
- <y-position>241</y-position>
- </node>
- <node>
- <component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Sub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:42:9</creation-date>
- <lastmodification-date>28/9/2005 - 16:42:9</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>227</x-position>
- <y-position>99</y-position>
- </node>
- <node>
- <component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Mul</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:42:9</creation-date>
- <lastmodification-date>28/9/2005 - 16:42:9</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>468</x-position>
- <y-position>301</y-position>
- </node>
- <node>
- <component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Div</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:42:9</creation-date>
- <lastmodification-date>28/9/2005 - 16:42:9</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Div from DivComponent</comment>
- <x-position>642</x-position>
- <y-position>128</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Macro_GraphAdd</node-name>
- <kind>10</kind>
- <coupled-node>GraphAdd_1</coupled-node>
- <service>
- <service-name>GraphAdd</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>28/9/2005 - 16:42:9</creation-date>
- <lastmodification-date>28/9/2005 - 16:42:9</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Macro Node</comment>
- <x-position>434</x-position>
- <y-position>128</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Macro_GraphSub</node-name>
- <kind>10</kind>
- <coupled-node>GraphSub_1</coupled-node>
- <service>
- <service-name>GraphSub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Sub__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>28/9/2005 - 16:42:9</creation-date>
- <lastmodification-date>28/9/2005 - 16:42:9</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Macro Node</comment>
- <x-position>240</x-position>
- <y-position>301</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Macro_GraphSub</tonode-name>
- <toserviceparameter-name>Sub__x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Macro_GraphAdd</tonode-name>
- <toserviceparameter-name>Add__y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Macro_GraphSub</tonode-name>
- <toserviceparameter-name>Sub__y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Macro_GraphAdd</tonode-name>
- <toserviceparameter-name>Add__x</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Macro_GraphAdd</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Macro_GraphSub</fromnode-name>
- <fromserviceparameter-name>Sub__z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Macro_GraphSub</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>GraphMacroNodes1_1</fromnode-name>
- <fromserviceparameter-name>Add__x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>3</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphMacroNodes1_1</fromnode-name>
- <fromserviceparameter-name>Add__y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>4.5</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphMacroNodes1_1</fromnode-name>
- <fromserviceparameter-name>Sub__x</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>1.5</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphMacroNodes1_1</fromnode-name>
- <fromserviceparameter-name>Div__x</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>1</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphMacroNodes1_1</fromnode-name>
- <fromserviceparameter-name>Div__y</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>2</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphAdd_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphAdd_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:2:26</creation-date>
- <lastmodification-date>28/9/2005 - 16:42:9</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Add</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:42:9</creation-date>
- <lastmodification-date>28/9/2005 - 16:42:9</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>55</x-position>
- <y-position>61</y-position>
- </node>
- </node-list>
- <link-list/>
- <data-list/>
- </dataflow>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSub_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphSub_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Sub__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:4:7</creation-date>
- <lastmodification-date>28/9/2005 - 16:42:9</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Sub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:42:9</creation-date>
- <lastmodification-date>28/9/2005 - 16:42:9</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>55</x-position>
- <y-position>71</y-position>
- </node>
- </node-list>
- <link-list/>
- <data-list/>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_3</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>aNewDataFlow_3</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MulNode__a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>MulNode__c</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/4/2006 - 15:8:0</creation-date>
- <lastmodification-date>14/4/2006 - 15:11:16</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MulNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MulNode</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>c</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MulNode</FuncName>
- <PyFunc><![CDATA[def MulNode(a,b): ]]></PyFunc>
- <PyFunc><![CDATA[ c = a*b ]]></PyFunc>
- <PyFunc><![CDATA[ return c ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/4/2006 - 15:11:16</creation-date>
- <lastmodification-date>14/4/2006 - 15:11:16</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </node-list>
- <link-list/>
- <data-list>
- <data>
- <fromnode-name>aNewDataFlow_3</fromnode-name>
- <fromserviceparameter-name>MulNode__a</fromserviceparameter-name>
- <tonode-name>MulNode</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>10.5</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>aNewDataFlow_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/4/2006 - 14:54:2</creation-date>
- <lastmodification-date>14/4/2006 - 14:54:16</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Add</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/4/2006 - 14:54:16</creation-date>
- <lastmodification-date>14/4/2006 - 14:54:16</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </node-list>
- <link-list/>
- <data-list>
- <data>
- <fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>Add__x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0.4</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphNonVoidEndLoop</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphNonVoidEndLoop_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>24/3/2003 - 14:44:35</creation-date>
- <lastmodification-date>16/12/2004 - 16:53:28</lastmodification-date>
- <editor-release>1.04</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>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ if Min <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ print 'Init',Index,Min,Max,Incr ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def More(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index < Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ print 'More', DoLoop,Index,Min,Max,Incr ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + Incr ]]></PyFunc>
- <PyFunc><![CDATA[ print 'Next', Index,Min,Max,Incr ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/12/2004 - 16:53:28</creation-date>
- <lastmodification-date>16/12/2004 - 16:53:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>17</x-position>
- <y-position>257</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoop</FuncName>
- <PyFunc><![CDATA[def EndLoop(DoLoop,Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ print 'EndLoop',DoLoop,Index,Min,Max,Incr ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max,Incr ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/12/2004 - 16:53:28</creation-date>
- <lastmodification-date>16/12/2004 - 16:53:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>411</x-position>
- <y-position>260</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphNonVoidEndLoop</fromnode-name>
- <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
- <tonode-name>Init</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>GraphNonVoidEndLoop</fromnode-name>
- <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphNonVoidEndLoop</fromnode-name>
- <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphNonVoidEndLoop</fromnode-name>
- <fromserviceparameter-name>Init__Incr</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<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>
- <service-name>GraphSwitch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name>
- </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>int</outParameter-type>
- <outParameter-name>Switch__Even</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfSwitch__a</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/10/2003 - 17:23:54</creation-date>
- <lastmodification-date>14/4/2006 - 15:47:47</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>
- <service-name>IsOdd</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>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>14/4/2006 - 15:42:11</creation-date>
- <lastmodification-date>14/4/2006 - 15:42:11</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>
- <service-name>InitLoopSwitch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <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>
- <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>
- <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>14/4/2006 - 15:42:11</creation-date>
- <lastmodification-date>14/4/2006 - 15:42:11</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>
- <service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/4/2006 - 15:42:11</creation-date>
- <lastmodification-date>14/4/2006 - 15:42:11</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>
- <service-name>Switch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>int</outParameter-type>
- <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>14/4/2006 - 15:42:11</creation-date>
- <lastmodification-date>14/4/2006 - 15:42:11</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>
- <service-name>EndOfSwitch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/4/2006 - 15:42:11</creation-date>
- <lastmodification-date>14/4/2006 - 15:42:11</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>
- <coord>
- <x>564</x>
- <y>201</y>
- </coord>
- <coord>
- <x>564</x>
- <y>134</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>
- <fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
- <fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
- <fromnode-name>Switch</fromnode-name>
- <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>
- <coord>
- <x>371</x>
- <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/>
- </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>
- <value-type>3</value-type>
- <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>
- <value-type>3</value-type>
- <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>
- <value-type>3</value-type>
- <value>35</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<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>
- <service-name>GraphSwitch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>EndOfSwitch__a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>IsOdd__a</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>int</outParameter-type>
- <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>14/4/2006 - 15:42:25</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>
- <service-name>IsOdd</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>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>14/4/2006 - 15:42:11</creation-date>
- <lastmodification-date>14/4/2006 - 15:42:11</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>
- <service-name>InitLoopSwitch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <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>
- <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>
- <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>14/4/2006 - 15:42:11</creation-date>
- <lastmodification-date>14/4/2006 - 15:42:11</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>
- <service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/4/2006 - 15:42:11</creation-date>
- <lastmodification-date>14/4/2006 - 15:42:11</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>
- <service-name>Switch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>int</outParameter-type>
- <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>14/4/2006 - 15:42:11</creation-date>
- <lastmodification-date>14/4/2006 - 15:42:11</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>
- <service-name>EndOfSwitch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/4/2006 - 15:42:11</creation-date>
- <lastmodification-date>14/4/2006 - 15:42:11</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>InitLoopSwitch</fromnode-name>
- <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>
- <fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
- <fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <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>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>
- <coord>
- <x>371</x>
- <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/>
- </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>
- <data>
- <fromnode-name>GraphSwitch</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>GraphSwitch</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>GraphSwitch</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>35</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphObjRef</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphObjRef</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aContainer</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aComponent</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Index</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>EndInit__Addder</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>EndInit__anObjRef</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Index</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/7/2003 - 19:4:59</creation-date>
- <lastmodification-date>25/8/2005 - 11:24:44</lastmodification-date>
- <editor-release>1.04</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>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>Adder</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/8/2005 - 11:24:44</creation-date>
- <lastmodification-date>25/8/2005 - 11:24:44</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/AdditionServer</container>
- <comment>Addition from AddComponent</comment>
- <x-position>10</x-position>
- <y-position>15</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>
- <service-name>SyrComponent</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>aContainer</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>aComponent</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>anObjRef</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[ print "SyrComponent(",aContainer,",",aComponent,")" ]]></PyFunc>
- <PyFunc><![CDATA[ orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent orb",orb ]]></PyFunc>
- <PyFunc><![CDATA[ lcc = LifeCycleCORBA(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent lcc",lcc ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,")" ]]></PyFunc>
- <PyFunc><![CDATA[ ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ]]></PyFunc>
- <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,") --> ",ComponentRef ]]></PyFunc>
- <PyFunc><![CDATA[ return ComponentRef ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>25/8/2005 - 11:24:44</creation-date>
- <lastmodification-date>25/8/2005 - 11:24:44</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>26</x-position>
- <y-position>209</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
- <service-name>Init</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>Addder</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>anObjRef</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>Addder</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>anObjRef</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>Init</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Init( Adder , anObjRef , Index ) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return Adder,anObjRef,0 ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- <PyFunction>
- <FuncName>More</FuncName>
- <PyFunc><![CDATA[def More( Adder , anObjRef , Index ) : ]]></PyFunc>
- <PyFunc><![CDATA[ OutLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if 10 > Index : ]]></PyFunc>
- <PyFunc><![CDATA[ OutLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return OutLoop,Adder,anObjRef,Index ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- <PyFunction>
- <FuncName>Nextfori</FuncName>
- <PyFunc><![CDATA[def Nextfori( Adder , anObjRef , Index ) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Adder,anObjRef,Index ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>25/8/2005 - 11:24:44</creation-date>
- <lastmodification-date>25/8/2005 - 11:24:44</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>236</x-position>
- <y-position>161</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
- <service-name>EndInit</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>Addder</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>anObjRef</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>Addder</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>anObjRef</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>25/8/2005 - 11:24:44</creation-date>
- <lastmodification-date>25/8/2005 - 11:24:44</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>449</x-position>
- <y-position>165</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>Addition</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Addder</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>202</x>
- <y>194</y>
- </coord>
- <coord>
- <x>201</x>
- <y>95</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>SyrComponent</fromnode-name>
- <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>anObjRef</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>209</x>
- <y>224</y>
- </coord>
- <coord>
- <x>208</x>
- <y>289</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Addder</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Addder</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>anObjRef</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>GraphObjRef</fromnode-name>
- <fromserviceparameter-name>SyrComponent__aContainer</fromserviceparameter-name>
- <tonode-name>SyrComponent</tonode-name>
- <toserviceparameter-name>aContainer</toserviceparameter-name>
- <data-value>
- <value-type>18</value-type>
- <value><![CDATA[FactoryServer]]></value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphObjRef</fromnode-name>
- <fromserviceparameter-name>SyrComponent__aComponent</fromserviceparameter-name>
- <tonode-name>SyrComponent</tonode-name>
- <toserviceparameter-name>aComponent</toserviceparameter-name>
- <data-value>
- <value-type>18</value-type>
- <value><![CDATA[SyrComponent]]></value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphObjRef</fromnode-name>
- <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphObjRefOMNIORB4</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphObjRefOMNIORB4</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>AddComponent__aContainer</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>AddComponent__aComponent</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>LccAddComponent__aContainer</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>LccAddComponent__aComponentName</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>EmbeddedLccAddComponent__aContainer</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>EmbeddedLccAddComponent__aComponentName</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>boolean</outParameter-type>
- <outParameter-name>AdditionObjRefs__return</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>AdditionObjRefs__RetAdder2</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>AdditionObjRefs__RetAdder3</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>FindComponentInstance__AddComponentObjRef</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>FindComponentInstance_1__AddComponentRef</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>boolean</outParameter-type>
- <outParameter-name>AdditionObjRefs_1__return</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>AddComponent</outParameter-type>
- <outParameter-name>AdditionObjRefs_1__RetAddComponent1</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>AdditionObjRefs_1__RetAdder2</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>AdditionObjRefs_1__RetAdder3</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>8/8/2005 - 12:45:3</creation-date>
- <lastmodification-date>25/8/2005 - 11:29:11</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>AddComponent</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>AddComponent</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>aContainer</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>aComponent</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>AddComponentobjref</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>defAddComponent</FuncName>
- <PyFunc><![CDATA[import CORBA ]]></PyFunc>
- <PyFunc><![CDATA[from LifeCycleCORBA import * ]]></PyFunc>
- <PyFunc><![CDATA[import SuperVisionTest ]]></PyFunc>
- <PyFunc><![CDATA[def defAddComponent( 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[ ComponentObjRef = ComponentRef._narrow( SuperVisionTest.AddComponent ) ]]></PyFunc>
- <PyFunc><![CDATA[ return ComponentObjRef._duplicate( SuperVisionTest.AddComponent ) ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>25/8/2005 - 11:29:11</creation-date>
- <lastmodification-date>25/8/2005 - 11:29:11</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>240</x-position>
- <y-position>31</y-position>
- </node>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>Adder</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/8/2005 - 11:29:11</creation-date>
- <lastmodification-date>25/8/2005 - 11:29:11</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Addition from AddComponent</comment>
- <x-position>13</x-position>
- <y-position>185</y-position>
- </node>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>EmbeddedAddition</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>Adder</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/8/2005 - 11:29:11</creation-date>
- <lastmodification-date>25/8/2005 - 11:29:11</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/SuperVisionContainer</container>
- <comment>Addition from AddComponent</comment>
- <x-position>17</x-position>
- <y-position>347</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>LccAddComponent</node-name>
- <kind>2</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>LccAddComponent</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>Adder</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>aContainer</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>aComponentName</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>Component</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/8/2005 - 11:29:11</creation-date>
- <lastmodification-date>25/8/2005 - 11:29:11</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>235</x-position>
- <y-position>184</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EmbeddedLccAddComponent</node-name>
- <kind>2</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>LccAddComponent</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>Adder</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>aContainer</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>aComponentName</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>Component</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/8/2005 - 11:29:11</creation-date>
- <lastmodification-date>25/8/2005 - 11:29:11</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>235</x-position>
- <y-position>347</y-position>
- </node>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>AdditionObjRefs</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>AdditionObjRefs</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>AddComponent</inParameter-type>
- <inParameter-name>AddComponent1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>Adder</inParameter-type>
- <inParameter-name>Adder2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>Adder</inParameter-type>
- <inParameter-name>Adder3</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>boolean</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>AddComponent</outParameter-type>
- <outParameter-name>RetAddComponent1</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>RetAdder2</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>RetAdder3</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/8/2005 - 11:29:11</creation-date>
- <lastmodification-date>25/8/2005 - 11:29:11</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>AdditionObjRefs from AddComponent</comment>
- <x-position>453</x-position>
- <y-position>164</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>FindComponentInstance</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>FindComponentInstance</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>AddComponentObjRef</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>AddComponentObjRef</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>FindComponentInstance</FuncName>
- <PyFunc><![CDATA[from salome import * ]]></PyFunc>
- <PyFunc><![CDATA[def FindComponentInstance( ComponentRef ) : ]]></PyFunc>
- <PyFunc><![CDATA[ MESSAGE("FindComponentInstance "+ str( ComponentRef )) ]]></PyFunc>
- <PyFunc><![CDATA[ print "FindComponentInstance",ComponentRef ]]></PyFunc>
- <PyFunc><![CDATA[ AddComponentObjRef = ComponentRef._narrow(Engines.EngineComponent) ]]></PyFunc>
- <PyFunc><![CDATA[ MESSAGE("FindComponentInstance") ]]></PyFunc>
- <PyFunc><![CDATA[ print "FindComponentInstance",AddComponentObjRef ]]></PyFunc>
- <PyFunc><![CDATA[ TheContainer = AddComponentObjRef.GetContainerRef() ]]></PyFunc>
- <PyFunc><![CDATA[ MESSAGE("FindComponentInstance") ]]></PyFunc>
- <PyFunc><![CDATA[ print "FindComponentInstance",TheContainer ]]></PyFunc>
- <PyFunc><![CDATA[ TheAddComponentObjRef=TheContainer.find_component_instance( "AddComponent" ,0 ) ]]></PyFunc>
- <PyFunc><![CDATA[ MESSAGE("FindComponentInstance "+ str( TheAddComponentObjRef )) ]]></PyFunc>
- <PyFunc><![CDATA[ print "FindComponentInstance",TheAddComponentObjRef ]]></PyFunc>
- <PyFunc><![CDATA[ return TheAddComponentObjRef ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>25/8/2005 - 11:29:11</creation-date>
- <lastmodification-date>25/8/2005 - 11:29:11</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>648</x-position>
- <y-position>184</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>FindComponentInstance_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>FindComponentInstance_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>AddComponentRef</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>AddComponentRef</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>FindComponentInstance_1</FuncName>
- <PyFunc><![CDATA[from salome import * ]]></PyFunc>
- <PyFunc><![CDATA[def FindComponentInstance_1( ComponentRef ) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "FindComponentInstance_1 beginning" ]]></PyFunc>
- <PyFunc><![CDATA[ MESSAGE("FindComponentInstance_1 "+ str( ComponentRef ) ) ]]></PyFunc>
- <PyFunc><![CDATA[ print "FindComponentInstance_1",ComponentRef ]]></PyFunc>
- <PyFunc><![CDATA[ AddComponentObjRef = ComponentRef._narrow(Engines.EngineComponent) ]]></PyFunc>
- <PyFunc><![CDATA[ MESSAGE("FindComponentInstance_1") ]]></PyFunc>
- <PyFunc><![CDATA[ print "FindComponentInstance_1",AddComponentObjRef ]]></PyFunc>
- <PyFunc><![CDATA[ TheContainer = AddComponentObjRef.GetContainerRef() ]]></PyFunc>
- <PyFunc><![CDATA[ MESSAGE("FindComponentInstance_1") ]]></PyFunc>
- <PyFunc><![CDATA[ print "FindComponentInstance_1",TheContainer ]]></PyFunc>
- <PyFunc><![CDATA[ TheAddComponentObjRef=TheContainer.find_component_instance( "AddComponent" ,0 ) ]]></PyFunc>
- <PyFunc><![CDATA[ if TheAddComponentObjRef == None : ]]></PyFunc>
- <PyFunc><![CDATA[ MESSAGE("FindComponentInstance_1 None") ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ MESSAGE("FindComponentInstance_1") ]]></PyFunc>
- <PyFunc><![CDATA[ print "FindComponentInstance_1",TheAddComponentObjRef ]]></PyFunc>
- <PyFunc><![CDATA[ return TheAddComponentObjRef ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>25/8/2005 - 11:29:11</creation-date>
- <lastmodification-date>25/8/2005 - 11:29:11</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>647</x-position>
- <y-position>31</y-position>
- </node>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>AdditionObjRefs_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>AdditionObjRefs</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>AddComponent</inParameter-type>
- <inParameter-name>AddComponent1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>Adder</inParameter-type>
- <inParameter-name>Adder2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>Adder</inParameter-type>
- <inParameter-name>Adder3</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>boolean</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>AddComponent</outParameter-type>
- <outParameter-name>RetAddComponent1</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>RetAdder2</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>Adder</outParameter-type>
- <outParameter-name>RetAdder3</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/8/2005 - 11:29:11</creation-date>
- <lastmodification-date>25/8/2005 - 11:29:11</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>localhost/AdditionObjRefsServer</container>
- <comment>AdditionObjRefs from AddComponent</comment>
- <x-position>457</x-position>
- <y-position>345</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>AddComponent</fromnode-name>
- <fromserviceparameter-name>AddComponentobjref</fromserviceparameter-name>
- <tonode-name>AdditionObjRefs</tonode-name>
- <toserviceparameter-name>AddComponent1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>AddComponent</fromnode-name>
- <fromserviceparameter-name>AddComponentobjref</fromserviceparameter-name>
- <tonode-name>FindComponentInstance_1</tonode-name>
- <toserviceparameter-name>AddComponentRef</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>AddComponent</fromnode-name>
- <fromserviceparameter-name>AddComponentobjref</fromserviceparameter-name>
- <tonode-name>AdditionObjRefs_1</tonode-name>
- <toserviceparameter-name>AddComponent1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Addition</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>LccAddComponent</tonode-name>
- <toserviceparameter-name>Adder</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>EmbeddedAddition</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>EmbeddedLccAddComponent</tonode-name>
- <toserviceparameter-name>Adder</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>LccAddComponent</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>AdditionObjRefs</tonode-name>
- <toserviceparameter-name>Adder2</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>LccAddComponent</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>AdditionObjRefs_1</tonode-name>
- <toserviceparameter-name>Adder2</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>EmbeddedLccAddComponent</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>AdditionObjRefs</tonode-name>
- <toserviceparameter-name>Adder3</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>EmbeddedLccAddComponent</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>AdditionObjRefs_1</tonode-name>
- <toserviceparameter-name>Adder3</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>AdditionObjRefs</fromnode-name>
- <fromserviceparameter-name>RetAddComponent1</fromserviceparameter-name>
- <tonode-name>FindComponentInstance</tonode-name>
- <toserviceparameter-name>AddComponentObjRef</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>GraphObjRefOMNIORB4</fromnode-name>
- <fromserviceparameter-name>AddComponent__aContainer</fromserviceparameter-name>
- <tonode-name>AddComponent</tonode-name>
- <toserviceparameter-name>aContainer</toserviceparameter-name>
- <data-value>
- <value-type>18</value-type>
- <value><![CDATA[FactoryServer]]></value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphObjRefOMNIORB4</fromnode-name>
- <fromserviceparameter-name>AddComponent__aComponent</fromserviceparameter-name>
- <tonode-name>AddComponent</tonode-name>
- <toserviceparameter-name>aComponent</toserviceparameter-name>
- <data-value>
- <value-type>18</value-type>
- <value><![CDATA[AddComponent]]></value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphObjRefOMNIORB4</fromnode-name>
- <fromserviceparameter-name>LccAddComponent__aContainer</fromserviceparameter-name>
- <tonode-name>LccAddComponent</tonode-name>
- <toserviceparameter-name>aContainer</toserviceparameter-name>
- <data-value>
- <value-type>18</value-type>
- <value><![CDATA[FactoryServer]]></value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphObjRefOMNIORB4</fromnode-name>
- <fromserviceparameter-name>LccAddComponent__aComponentName</fromserviceparameter-name>
- <tonode-name>LccAddComponent</tonode-name>
- <toserviceparameter-name>aComponentName</toserviceparameter-name>
- <data-value>
- <value-type>18</value-type>
- <value><![CDATA[AddComponent]]></value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphObjRefOMNIORB4</fromnode-name>
- <fromserviceparameter-name>EmbeddedLccAddComponent__aContainer</fromserviceparameter-name>
- <tonode-name>EmbeddedLccAddComponent</tonode-name>
- <toserviceparameter-name>aContainer</toserviceparameter-name>
- <data-value>
- <value-type>18</value-type>
- <value><![CDATA[SuperVisionContainer]]></value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphObjRefOMNIORB4</fromnode-name>
- <fromserviceparameter-name>EmbeddedLccAddComponent__aComponentName</fromserviceparameter-name>
- <tonode-name>EmbeddedLccAddComponent</tonode-name>
- <toserviceparameter-name>aComponentName</toserviceparameter-name>
- <data-value>
- <value-type>18</value-type>
- <value><![CDATA[AddComponent]]></value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphPyFunctions_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphPyFunctions_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop_1__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop_1__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop_1__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop_1__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop_1__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop_1__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Switch__Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Switch_1__Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>23/10/2003 - 17:46:20</creation-date>
- <lastmodification-date>8/7/2005 - 11:22:37</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 11:22:37</creation-date>
- <lastmodification-date>8/7/2005 - 11:22:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>388</x-position>
- <y-position>50</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 11:22:37</creation-date>
- <lastmodification-date>8/7/2005 - 11:22:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>391</x-position>
- <y-position>288</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>InitLoop</node-name>
- <kind>4</kind>
- <coupled-node>EndOfInitLoop</coupled-node>
- <service>
-<service-name>InitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>8/7/2005 - 11:22:37</creation-date>
- <lastmodification-date>8/7/2005 - 11:22:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>129</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndInitLoop</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 11:22:37</creation-date>
- <lastmodification-date>8/7/2005 - 11:22:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>766</x-position>
- <y-position>127</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>InitLoop_1</node-name>
- <kind>4</kind>
- <coupled-node>EndOfInitLoop_1</coupled-node>
- <service>
-<service-name>InitLoop_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>InitLoop</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>NextLoop</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 11:22:37</creation-date>
- <lastmodification-date>8/7/2005 - 11:22:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>12</x-position>
- <y-position>369</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop_1</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop_1</coupled-node>
- <service>
-<service-name>EndOfInitLoop_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndInitLoop</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 11:22:37</creation-date>
- <lastmodification-date>8/7/2005 - 11:22:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>784</x-position>
- <y-position>361</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Switch</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 11:22:37</creation-date>
- <lastmodification-date>8/7/2005 - 11:22:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>186</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch_1</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 11:22:37</creation-date>
- <lastmodification-date>8/7/2005 - 11:22:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>126</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch_1</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitch_1</coupled-node>
- <service>
-<service-name>Switch_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>8/7/2005 - 11:22:37</creation-date>
- <lastmodification-date>8/7/2005 - 11:22:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>185</x-position>
- <y-position>368</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch_1</node-name>
- <kind>7</kind>
- <coupled-node>Switch_1</coupled-node>
- <service>
-<service-name>EndOfSwitch_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch_1</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 11:22:37</creation-date>
- <lastmodification-date>8/7/2005 - 11:22:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>594</x-position>
- <y-position>362</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>571</x>
- <y>160</y> </coord>
- <coord>
-<x>571</x>
- <y>129</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>IsOdd_1</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch_1</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>580</x>
- <y>396</y> </coord>
- <coord>
-<x>580</x>
- <y>368</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop_1</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop_1</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop_1</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>Switch_1</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop_1</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop_1</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop_1</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop_1</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop_1</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop_1</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>
-<coord>
-<x>366</x>
- <y>131</y> </coord>
- <coord>
-<x>365</x>
- <y>223</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>572</x>
- <y>194</y> </coord>
- <coord>
-<x>571</x>
- <y>257</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>EndOfSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd_1</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>368</x>
- <y>368</y> </coord>
- <coord>
-<x>367</x>
- <y>460</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitch_1</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfSwitch_1</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop_1</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphPyFunctions_1</fromnode-name>
- <fromserviceparameter-name>InitLoop__Index</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphPyFunctions_1</fromnode-name>
- <fromserviceparameter-name>InitLoop__Min</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphPyFunctions_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>25</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphPyFunctions_1</fromnode-name>
- <fromserviceparameter-name>InitLoop_1__Index</fromserviceparameter-name>
- <tonode-name>InitLoop_1</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphPyFunctions_1</fromnode-name>
- <fromserviceparameter-name>InitLoop_1__Min</fromserviceparameter-name>
- <tonode-name>InitLoop_1</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphPyFunctions_1</fromnode-name>
- <fromserviceparameter-name>InitLoop_1__Max</fromserviceparameter-name>
- <tonode-name>InitLoop_1</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>35</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_2</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>aNewDataFlow_2</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>boolean</inParameter-type>
- <inParameter-name>ErrorNode__a</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>boolean</inParameter-type>
- <inParameter-name>ErrorNode__b</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>boolean</outParameter-type>
- <outParameter-name>ErrorNode__c</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/4/2006 - 14:55:17</creation-date>
- <lastmodification-date>14/4/2006 - 15:0:48</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>ErrorNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>ErrorNode</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>boolean</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>boolean</inParameter-type>
- <inParameter-name>b</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>boolean</outParameter-type>
- <outParameter-name>c</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>ErrorNode</FuncName>
- <PyFunc><![CDATA[def ErrorNode(a,b) ]]></PyFunc>
- <PyFunc><![CDATA[ return a&b ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/4/2006 - 15:0:48</creation-date>
- <lastmodification-date>14/4/2006 - 15:0:48</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </node-list>
- <link-list/>
- <data-list>
- <data>
- <fromnode-name>aNewDataFlow_2</fromnode-name>
- <fromserviceparameter-name>ErrorNode__a</fromserviceparameter-name>
- <tonode-name>ErrorNode</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>1</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_2</fromnode-name>
- <fromserviceparameter-name>ErrorNode__b</fromserviceparameter-name>
- <tonode-name>ErrorNode</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSIGFPE</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSIGFPE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>SIGFPEfunc__a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>SIGFPEfunc__b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>SIGFPEfunc__return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>8/12/2004 - 18:15:9</creation-date>
- <lastmodification-date>8/12/2004 - 18:15:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>SIGNALSComponent</component-name>
- <interface-name>SIGNALSComponent</interface-name>
- <node-name>SIGFPEfunc</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SIGFPEfunc</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>8/12/2004 - 18:15:36</creation-date>
- <lastmodification-date>8/12/2004 - 18:15:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>SIGFPEfunc from SIGNALSComponent</comment>
- <x-position>134</x-position>
- <y-position>137</y-position> </node> </node-list>
- <link-list/>
- <data-list>
-<data>
-<fromnode-name>GraphSIGFPE</fromnode-name>
- <fromserviceparameter-name>SIGFPEfunc__a</fromserviceparameter-name>
- <tonode-name>SIGFPEfunc</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSIGFPE</fromnode-name>
- <fromserviceparameter-name>SIGFPEfunc__b</fromserviceparameter-name>
- <tonode-name>SIGFPEfunc</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SIGFPEPython</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SIGFPEPython</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>9/12/2004 - 18:7:31</creation-date>
- <lastmodification-date>10/12/2004 - 12:35:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>SIGFPEPython</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SIGFPEPython</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SIGFPEPython</FuncName>
- <PyFunc><![CDATA[def SIGFPEPython() : ]]></PyFunc>
- <PyFunc><![CDATA[ import libSIGNALSComponent_Swig ]]></PyFunc>
- <PyFunc><![CDATA[ s = libSIGNALSComponent_Swig.SIGNALSComponentEngine() ]]></PyFunc>
- <PyFunc><![CDATA[ s.SIGFPEfunc(1,0) ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>10/12/2004 - 12:35:36</creation-date>
- <lastmodification-date>10/12/2004 - 12:35:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>118</x-position>
- <y-position>159</y-position> </node> </node-list>
- <link-list/>
- <data-list/> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSIGSEGV</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSIGSEGV</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>SIGSEGVfunc__return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>8/12/2004 - 18:9:47</creation-date>
- <lastmodification-date>8/12/2004 - 18:13:40</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>SIGNALSComponent</component-name>
- <interface-name>SIGNALSComponent</interface-name>
- <node-name>SIGSEGVfunc</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SIGSEGVfunc</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>8/12/2004 - 18:10:12</creation-date>
- <lastmodification-date>8/12/2004 - 18:10:12</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>SIGSEGVfunc from SIGNALSComponent</comment>
- <x-position>152</x-position>
- <y-position>197</y-position> </node> </node-list>
- <link-list/>
- <data-list/> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSIGSEGVPython</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSIGSEGVPython</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>9/12/2004 - 18:13:21</creation-date>
- <lastmodification-date>10/12/2004 - 12:39:15</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>SIGSEGVPython</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SIGSEGVPython</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SIGSEGVPython</FuncName>
- <PyFunc><![CDATA[def SIGSEGVPython() : ]]></PyFunc>
- <PyFunc><![CDATA[ import libSIGNALSComponent_Swig ]]></PyFunc>
- <PyFunc><![CDATA[ s = libSIGNALSComponent_Swig.SIGNALSComponentEngine() ]]></PyFunc>
- <PyFunc><![CDATA[ s.SIGSEGVfunc() ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>10/12/2004 - 12:39:15</creation-date>
- <lastmodification-date>10/12/2004 - 12:39:15</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>105</x-position>
- <y-position>143</y-position> </node> </node-list>
- <link-list/>
- <data-list/> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphStream</node-name>
- <kind>9</kind>
- <streamgraph-timeout>0</streamgraph-timeout>
- <streamgraph-datastreamtrace>0</streamgraph-datastreamtrace>
- <streamgraph-deltatime>0</streamgraph-deltatime>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphStream</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Add\x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Add\y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Sub\x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>StreamAdd\x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>StreamAdd\y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Div\z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>StreamAdd\z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>Add\istream</inParameter-name>
- <inParameter-dependency>2</inParameter-dependency>
- <inParameter-schema>0</inParameter-schema>
- <inParameter-interpolation>0</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>StreamAdd\istream</inParameter-name>
- <inParameter-dependency>2</inParameter-dependency>
- <inParameter-schema>0</inParameter-schema>
- <inParameter-interpolation>0</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>Div\ostream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>StreamAdd\ostream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>StreamAdd\OStream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list/>
- <creation-date>23/4/2004 - 17:0:10</creation-date>
- <lastmodification-date>12/5/2004 - 10:38:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Test of DataStreamPorts in FactoryNodes</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>DataStreamFactory</component-name>
- <interface-name>DataStreamFactory</interface-name>
- <node-name>NewDataStream</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>NewDataStream</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>DataStream</outParameter-type>
- <outParameter-name>DataStream</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>12/5/2004 - 10:38:32</creation-date>
- <lastmodification-date>12/5/2004 - 10:38:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>NewDataStream from DataStreamFactory</comment>
- <x-position>4</x-position>
- <y-position>10</y-position> </node>
- <node>
-<component-name>DataStreamFactory</component-name>
- <interface-name>DataStreamFactory</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream</inParameter-name>
- <inParameter-dependency>2</inParameter-dependency>
- <inParameter-schema>0</inParameter-schema>
- <inParameter-interpolation>0</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>OStream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list/>
- <creation-date>12/5/2004 - 10:38:33</creation-date>
- <lastmodification-date>12/5/2004 - 10:38:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Add from DataStreamFactory from DataStreamComponent</comment>
- <x-position>6</x-position>
- <y-position>370</y-position> </node>
- <node>
-<component-name>DataStreamFactory</component-name>
- <interface-name>DataStreamFactory</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream</inParameter-name>
- <inParameter-dependency>2</inParameter-dependency>
- <inParameter-schema>0</inParameter-schema>
- <inParameter-interpolation>0</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>Istream</inParameter-name>
- <inParameter-dependency>2</inParameter-dependency>
- <inParameter-schema>0</inParameter-schema>
- <inParameter-interpolation>0</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter> </DataStream-list>
- <PyFunction-list/>
- <creation-date>12/5/2004 - 10:38:33</creation-date>
- <lastmodification-date>12/5/2004 - 10:38:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Sub from DataStreamFactory from DataStreamComponent</comment>
- <x-position>234</x-position>
- <y-position>216</y-position> </node>
- <node>
-<component-name>DataStreamFactory</component-name>
- <interface-name>DataStreamFactory</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>12/5/2004 - 10:38:33</creation-date>
- <lastmodification-date>12/5/2004 - 10:38:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Mul from DataStreamFactory from DataStreamComponent</comment>
- <x-position>448</x-position>
- <y-position>342</y-position> </node>
- <node>
-<component-name>DataStreamFactory</component-name>
- <interface-name>DataStreamFactory</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Div</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list/>
- <creation-date>12/5/2004 - 10:38:33</creation-date>
- <lastmodification-date>12/5/2004 - 10:38:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Div from DataStreamFactory from DataStreamComponent</comment>
- <x-position>678</x-position>
- <y-position>214</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>StreamAdd</node-name>
- <kind>2</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>StreamAdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>this</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream</inParameter-name>
- <inParameter-dependency>2</inParameter-dependency>
- <inParameter-schema>0</inParameter-schema>
- <inParameter-interpolation>0</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>OStream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list/>
- <creation-date>12/5/2004 - 10:38:33</creation-date>
- <lastmodification-date>12/5/2004 - 10:38:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>448</x-position>
- <y-position>9</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>NewDataStream</fromnode-name>
- <fromserviceparameter-name>DataStream</fromserviceparameter-name>
- <tonode-name>StreamAdd</tonode-name>
- <toserviceparameter-name>this</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>185</x>
- <y>310</y> </coord>
- <coord>
-<x>185</x>
- <y>437</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>ostream</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>istream</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>199</x>
- <y>343</y> </coord>
- <coord>
-<x>200</x>
- <y>497</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>OStream</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>Istream</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>219</x>
- <y>374</y> </coord>
- <coord>
-<x>218</x>
- <y>529</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>426</x>
- <y>408</y> </coord>
- <coord>
-<x>427</x>
- <y>282</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>648</x>
- <y>309</y> </coord>
- <coord>
-<x>648</x>
- <y>406</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphStream</fromnode-name>
- <fromserviceparameter-name>Add\x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphStream</fromnode-name>
- <fromserviceparameter-name>Add\y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>7</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphStream</fromnode-name>
- <fromserviceparameter-name>Sub\x</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphStream</fromnode-name>
- <fromserviceparameter-name>StreamAdd\x</fromserviceparameter-name>
- <tonode-name>StreamAdd</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphStream</fromnode-name>
- <fromserviceparameter-name>StreamAdd\y</fromserviceparameter-name>
- <tonode-name>StreamAdd</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>2</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphStream</fromnode-name>
- <fromserviceparameter-name>Add\istream</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>istream</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphStream</fromnode-name>
- <fromserviceparameter-name>StreamAdd\istream</fromserviceparameter-name>
- <tonode-name>StreamAdd</tonode-name>
- <toserviceparameter-name>istream</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>136159896</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphStreamInLines</node-name>
- <kind>9</kind>
- <streamgraph-timeout>300</streamgraph-timeout>
- <streamgraph-datastreamtrace>0</streamgraph-datastreamtrace>
- <streamgraph-deltatime>0</streamgraph-deltatime>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphStreamInLines</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>EndOfInitLoop__ostream</outParameter-name>
- <outParameter-dependency>1</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list/>
- <creation-date>27/4/2004 - 15:5:25</creation-date>
- <lastmodification-date>8/7/2005 - 11:28:41</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a,Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphStreamInLines1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 11:28:41</creation-date>
- <lastmodification-date>8/7/2005 - 11:28:41</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>404</x-position>
- <y-position>7</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>InitLoop</node-name>
- <kind>4</kind>
- <coupled-node>EndOfInitLoop</coupled-node>
- <service>
-<service-name>InitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 11:28:41</creation-date>
- <lastmodification-date>8/7/2005 - 11:28:41</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>11</x-position>
- <y-position>119</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream</inParameter-name>
- <inParameter-dependency>2</inParameter-dependency>
- <inParameter-schema>0</inParameter-schema>
- <inParameter-interpolation>0</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream</outParameter-name>
- <outParameter-dependency>1</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 11:28:41</creation-date>
- <lastmodification-date>8/7/2005 - 11:28:41</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>807</x-position>
- <y-position>104</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list>
-<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>8/7/2005 - 11:28:41</creation-date>
- <lastmodification-date>8/7/2005 - 11:28:41</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>198</x-position>
- <y-position>115</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream</outParameter-name>
- <outParameter-dependency>1</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[def EndOfSwitch(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 11:28:41</creation-date>
- <lastmodification-date>8/7/2005 - 11:28:41</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>604</x-position>
- <y-position>105</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>ostream</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>istream</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>3</x>
- <y>240</y> </coord>
- <coord>
-<x>3</x>
- <y>395</y> </coord>
- <coord>
-<x>571</x>
- <y>394</y> </coord>
- <coord>
-<x>577</x>
- <y>122</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>ostream</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>istream</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>586</x>
- <y>158</y> </coord>
- <coord>
-<x>586</x>
- <y>362</y> </coord>
- <coord>
-<x>591</x>
- <y>362</y> </coord>
- <coord>
-<x>591</x>
- <y>359</y> </coord>
- <coord>
-<x>180</x>
- <y>359</y> </coord>
- <coord>
-<x>180</x>
- <y>212</y> </coord>
- <coord>
-<x>181</x>
- <y>212</y> </coord>
- <coord>
-<x>181</x>
- <y>214</y> </coord>
- <coord>
-<x>584</x>
- <y>167</y> </coord>
- <coord>
-<x>584</x>
- <y>369</y> </coord>
- <coord>
-<x>184</x>
- <y>368</y> </coord>
- <coord>
-<x>185</x>
- <y>240</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>ostream</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>istream</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>ostream</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>istream</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>779</x>
- <y>203</y> </coord>
- <coord>
-<x>775</x>
- <y>261</y> </coord>
- <coord>
-<x>397</x>
- <y>260</y> </coord>
- <coord>
-<x>403</x>
- <y>217</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>ostream</fromserviceparameter-name>
- <tonode-name>Switch</tonode-name>
- <toserviceparameter-name>istream</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>186</x>
- <y>240</y> </coord>
- <coord>
-<x>186</x>
- <y>331</y> </coord>
- <coord>
-<x>790</x>
- <y>329</y> </coord>
- <coord>
-<x>786</x>
- <y>161</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphStreamInLines</fromnode-name>
- <fromserviceparameter-name>InitLoop__Index</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphStreamInLines</fromnode-name>
- <fromserviceparameter-name>InitLoop__Min</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphStreamInLines</fromnode-name>
- <fromserviceparameter-name>InitLoop__Max</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>35</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-DEBUT GraphStreamInLines_1
- TIMEOUT 300
- TRACE SANS
- DELTA_T 0
-
-
-# Liste des codes
-
- CODE EndOfInitLoop
- istream I IN ENTIER
- ostream T OUT ENTIER
- FIN #EndOfInitLoop
-
-
- CODE EndSwitch
- istream T IN ENTIER
- ostream T OUT ENTIER
- FIN #EndSwitch
-
-
- CODE InitLoop
- istream T IN ENTIER
- ostream I OUT ENTIER
- FIN #InitLoop
-
-
- CODE IsOdd
- istream T IN ENTIER
- ostream I OUT ENTIER
- FIN #IsOdd
-
-
- CODE Switch
- istream T IN ENTIER
- ostream I OUT ENTIER
- FIN #Switch
-
-
-
-
-# Liste des instances
-
- INSTANCE IsOdd
- CODE IsOdd
- FIN
-
- INSTANCE InitLoop
- CODE InitLoop
- FIN
-
- INSTANCE EndOfInitLoop
- CODE EndOfInitLoop
- FIN
-
- INSTANCE Switch
- CODE Switch
- FIN
-
- INSTANCE EndSwitch
- CODE EndSwitch
- FIN
-
-
-
-
-
-# Liste des liens
-
- LIEN
- IsOdd.ostream 0 => InitLoop.istream TI L1 EXTRANULL ;
- InitLoop.ostream 0 => EndSwitch.istream TI L1 EXTRANULL ;
- Switch.ostream 0 => IsOdd.istream TI L1 EXTRANULL ;
- Switch.ostream 0 => EndOfInitLoop.istream SCHENULL INTERNULL EXTRANULL ;
- EndSwitch.ostream 0 => Switch.istream TI L1 EXTRANULL ;
- FIN
-
-FIN
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphStreamTopologies</node-name>
- <kind>9</kind>
- <streamgraph-timeout>300</streamgraph-timeout>
- <streamgraph-datastreamtrace>0</streamgraph-datastreamtrace>
- <streamgraph-deltatime>0</streamgraph-deltatime>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphStreamTopologies</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>Node_B_2\istream_B_2_1</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter> </DataStream-list>
- <PyFunction-list/>
- <creation-date>4/5/2004 - 10:13:53</creation-date>
- <lastmodification-date>21/5/2004 - 9:18:58</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Test of SubStreamGraphs of a StreamGraph</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>Node_A_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Node_A_1</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a_1</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream_A_1_1</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream_A_1_2</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream_A_1_3</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Node_A_1</FuncName>
- <PyFunc><![CDATA[def Node_A_1() : ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 9:18:58</creation-date>
- <lastmodification-date>21/5/2004 - 9:18:58</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>29</x-position>
- <y-position>66</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Node_A_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Node_A_2</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a_2</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream_A_2_1</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream_A_2_1</outParameter-name>
- <outParameter-dependency>1</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Node_A_2</FuncName>
- <PyFunc><![CDATA[def Node_A_2() : ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 9:18:58</creation-date>
- <lastmodification-date>21/5/2004 - 9:18:58</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>23</x-position>
- <y-position>309</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Node_B_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Node_B_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b_1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>b_1</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream_B_1_1</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Node_B_1</FuncName>
- <PyFunc><![CDATA[def Node_B_1( n ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return n ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 9:18:58</creation-date>
- <lastmodification-date>21/5/2004 - 9:18:58</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>249</x-position>
- <y-position>66</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Node_B_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Node_B_2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b_2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>b_2</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream_B_2_1</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream_B_2_1</outParameter-name>
- <outParameter-dependency>1</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream_B_2_2</outParameter-name>
- <outParameter-dependency>1</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Node_B_2</FuncName>
- <PyFunc><![CDATA[def Node_B_2( n ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return n ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 9:18:58</creation-date>
- <lastmodification-date>21/5/2004 - 9:18:58</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>245</x-position>
- <y-position>308</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Node_C_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Node_C_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>c_1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <DataStream-list>
-<outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream_C_1_1</outParameter-name>
- <outParameter-dependency>1</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Node_C_1</FuncName>
- <PyFunc><![CDATA[def Node_C_1( n ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 9:18:58</creation-date>
- <lastmodification-date>21/5/2004 - 9:18:58</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>481</x-position>
- <y-position>67</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Node_C_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Node_C_2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>c_2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>c_2</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream_C_2_1</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Node_C_2</FuncName>
- <PyFunc><![CDATA[def Node_C_2( n ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return n ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 9:18:58</creation-date>
- <lastmodification-date>21/5/2004 - 9:18:58</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>476</x-position>
- <y-position>307</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Node_D_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Node_D_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>d_1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <DataStream-list>
-<outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream_D_1_1</outParameter-name>
- <outParameter-dependency>1</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Node_D_1</FuncName>
- <PyFunc><![CDATA[def Node_D_1( n ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 9:18:58</creation-date>
- <lastmodification-date>21/5/2004 - 9:18:58</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>703</x-position>
- <y-position>306</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Node_A_1</fromnode-name>
- <fromserviceparameter-name>a_1</fromserviceparameter-name>
- <tonode-name>Node_B_1</tonode-name>
- <toserviceparameter-name>b_1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Node_A_2</fromnode-name>
- <fromserviceparameter-name>a_2</fromserviceparameter-name>
- <tonode-name>Node_B_2</tonode-name>
- <toserviceparameter-name>b_2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Node_A_2</fromnode-name>
- <fromserviceparameter-name>ostream_A_2_1</fromserviceparameter-name>
- <tonode-name>Node_A_1</tonode-name>
- <toserviceparameter-name>istream_A_1_1</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>13</x>
- <y>164</y> </coord>
- <coord>
-<x>13</x>
- <y>44</y> </coord>
- <coord>
-<x>207</x>
- <y>44</y> </coord>
- <coord>
-<x>207</x>
- <y>409</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Node_B_1</fromnode-name>
- <fromserviceparameter-name>b_1</fromserviceparameter-name>
- <tonode-name>Node_C_1</tonode-name>
- <toserviceparameter-name>c_1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Node_B_2</fromnode-name>
- <fromserviceparameter-name>b_2</fromserviceparameter-name>
- <tonode-name>Node_C_2</tonode-name>
- <toserviceparameter-name>c_2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Node_B_2</fromnode-name>
- <fromserviceparameter-name>ostream_B_2_1</fromserviceparameter-name>
- <tonode-name>Node_A_1</tonode-name>
- <toserviceparameter-name>istream_A_1_2</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>14</x>
- <y>195</y> </coord>
- <coord>
-<x>13</x>
- <y>299</y> </coord>
- <coord>
-<x>428</x>
- <y>300</y> </coord>
- <coord>
-<x>428</x>
- <y>407</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Node_B_2</fromnode-name>
- <fromserviceparameter-name>ostream_B_2_2</fromserviceparameter-name>
- <tonode-name>Node_A_2</tonode-name>
- <toserviceparameter-name>istream_A_2_1</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>12</x>
- <y>406</y> </coord>
- <coord>
-<x>11</x>
- <y>525</y> </coord>
- <coord>
-<x>427</x>
- <y>525</y> </coord>
- <coord>
-<x>426</x>
- <y>438</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Node_C_1</fromnode-name>
- <fromserviceparameter-name>ostream_C_1_1</fromserviceparameter-name>
- <tonode-name>Node_A_1</tonode-name>
- <toserviceparameter-name>istream_A_1_3</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>5</x>
- <y>227</y> </coord>
- <coord>
-<x>5</x>
- <y>16</y> </coord>
- <coord>
-<x>672</x>
- <y>16</y> </coord>
- <coord>
-<x>671</x>
- <y>166</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Node_C_2</fromnode-name>
- <fromserviceparameter-name>c_2</fromserviceparameter-name>
- <tonode-name>Node_D_1</tonode-name>
- <toserviceparameter-name>d_1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Node_D_1</fromnode-name>
- <fromserviceparameter-name>ostream_D_1_1</fromserviceparameter-name>
- <tonode-name>Node_C_2</tonode-name>
- <toserviceparameter-name>istream_C_2_1</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>453</x>
- <y>406</y> </coord>
- <coord>
-<x>454</x>
- <y>499</y> </coord>
- <coord>
-<x>903</x>
- <y>500</y> </coord>
- <coord>
-<x>903</x>
- <y>404</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Node_D_1</fromnode-name>
- <fromserviceparameter-name>ostream_D_1_1</fromserviceparameter-name>
- <tonode-name>Node_B_1</tonode-name>
- <toserviceparameter-name>istream_B_1_1</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>229</x>
- <y>163</y> </coord>
- <coord>
-<x>229</x>
- <y>282</y> </coord>
- <coord>
-<x>902</x>
- <y>282</y> </coord>
- <coord>
-<x>903</x>
- <y>404</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphStreamTopologies</fromnode-name>
- <fromserviceparameter-name>Node_B_2\istream_B_2_1</fromserviceparameter-name>
- <tonode-name>Node_B_2</tonode-name>
- <toserviceparameter-name>istream_B_2_1</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-DEBUT GraphStreamTopologies_1
- TIMEOUT 300
- TRACE SANS
- DELTA_T 0
-
-
-# Liste des codes
-
- CODE Node_A_1
- istream_A_1_1 T IN ENTIER
- istream_A_1_2 T IN ENTIER
- istream_A_1_3 T IN ENTIER
- FIN #Node_A_1
-
-
- CODE Node_A_2
- istream_A_2_1 T IN ENTIER
- ostream_A_2_1 T OUT ENTIER
- FIN #Node_A_2
-
-
- CODE Node_B_2
- istream_B_2_1 T IN ENTIER
- ostream_B_2_1 T OUT ENTIER
- ostream_B_2_2 T OUT ENTIER
- FIN #Node_B_2
-
-
- CODE Node_C_1
- istream_B_2_1 T IN ENTIER
- ostream_C_1_1 T OUT ENTIER
- FIN #Node_C_1
-
-
-
-
-# Liste des instances
-
- INSTANCE Node_A_1
- CODE Node_A_1
- FIN
-
- INSTANCE Node_A_2
- CODE Node_A_2
- FIN
-
- INSTANCE Node_B_2
- CODE Node_B_2
- FIN
-
- INSTANCE Node_C_1
- CODE Node_C_1
- FIN
-
-
-
-
-
-# Liste des liens
-
- LIEN
- Node_A_2.ostream_A_2_1 0 => Node_A_1.istream_A_1_1 TI L1 EXTRANULL ;
- Node_B_2.ostream_B_2_1 0 => Node_A_1.istream_A_1_2 TI L1 EXTRANULL ;
- Node_B_2.ostream_B_2_2 0 => Node_A_2.istream_A_2_1 TI L1 EXTRANULL ;
- Node_C_1.ostream_C_1_1 0 => Node_A_1.istream_A_1_3 TI L1 EXTRANULL ;
- FIN
-
-FIN
+++ /dev/null
-DEBUT GraphStreamTopologies_2
- TIMEOUT 300
- TRACE SANS
- DELTA_T 0
-
-
-# Liste des codes
-
- CODE Node_B_1
- istream_B_1_1 T IN ENTIER
- ostream_A_2_1 T OUT ENTIER
- FIN #Node_B_1
-
-
- CODE Node_C_2
- istream_C_2_1 T IN ENTIER
- ostream_C_1_1 T OUT ENTIER
- FIN #Node_C_2
-
-
- CODE Node_D_1
- istream_C_2_1 T IN ENTIER
- ostream_D_1_1 T OUT ENTIER
- FIN #Node_D_1
-
-
-
-
-# Liste des instances
-
- INSTANCE Node_B_1
- CODE Node_B_1
- FIN
-
- INSTANCE Node_C_2
- CODE Node_C_2
- FIN
-
- INSTANCE Node_D_1
- CODE Node_D_1
- FIN
-
-
-
-
-
-# Liste des liens
-
- LIEN
- Node_D_1.ostream_D_1_1 0 => Node_C_2.istream_C_2_1 TI L1 EXTRANULL ;
- Node_D_1.ostream_D_1_1 0 => Node_B_1.istream_B_1_1 TI L1 EXTRANULL ;
- FIN
-
-FIN
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphStreamTopology</node-name>
- <kind>9</kind>
- <streamgraph-timeout>300</streamgraph-timeout>
- <streamgraph-datastreamtrace>0</streamgraph-datastreamtrace>
- <streamgraph-deltatime>0</streamgraph-deltatime>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphStreamTopology</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>4/5/2004 - 10:4:18</creation-date>
- <lastmodification-date>21/5/2004 - 10:17:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Test of SubStreamGraphs of a StreamGraph</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>Node_A_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Node_A_1</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a_1</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream_A_1_1</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream_A_1_2</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream_A_1_3</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Node_A_1</FuncName>
- <PyFunc><![CDATA[def Node_A_1() : ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 10:17:39</creation-date>
- <lastmodification-date>21/5/2004 - 10:17:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>32</x-position>
- <y-position>65</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Node_A_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Node_A_2</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a_2</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream_A_2_1</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream_A_2_1</outParameter-name>
- <outParameter-dependency>1</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Node_A_2</FuncName>
- <PyFunc><![CDATA[def Node_A_2() : ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 10:17:39</creation-date>
- <lastmodification-date>21/5/2004 - 10:17:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>31</x-position>
- <y-position>336</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Node_B_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Node_B_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b_1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>b_1</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream_B_1_1</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Node_B_1</FuncName>
- <PyFunc><![CDATA[def Node_B_1( n ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return n ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 10:17:39</creation-date>
- <lastmodification-date>21/5/2004 - 10:17:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>254</x-position>
- <y-position>64</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Node_B_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Node_B_2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b_2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>b_2</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream_B_2_1</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream_B_2_1</outParameter-name>
- <outParameter-dependency>1</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream_B_2_2</outParameter-name>
- <outParameter-dependency>1</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Node_B_2</FuncName>
- <PyFunc><![CDATA[def Node_B_2( n ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return n ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 10:17:39</creation-date>
- <lastmodification-date>21/5/2004 - 10:17:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>255</x-position>
- <y-position>336</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Node_C_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Node_C_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>c_1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <DataStream-list>
-<outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream_C_1_1</outParameter-name>
- <outParameter-dependency>1</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Node_C_1</FuncName>
- <PyFunc><![CDATA[def Node_C_1( n ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 10:17:39</creation-date>
- <lastmodification-date>21/5/2004 - 10:17:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>478</x-position>
- <y-position>63</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Node_C_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Node_C_2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>c_2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>c_2</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream_C_2_1</inParameter-name>
- <inParameter-dependency>1</inParameter-dependency>
- <inParameter-schema>1</inParameter-schema>
- <inParameter-interpolation>2</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Node_C_2</FuncName>
- <PyFunc><![CDATA[def Node_C_2( n ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return n ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 10:17:39</creation-date>
- <lastmodification-date>21/5/2004 - 10:17:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>477</x-position>
- <y-position>337</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Node_D_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Node_D_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>d_1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <DataStream-list>
-<outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream_D_1_1</outParameter-name>
- <outParameter-dependency>1</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Node_D_1</FuncName>
- <PyFunc><![CDATA[def Node_D_1( n ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 10:17:39</creation-date>
- <lastmodification-date>21/5/2004 - 10:17:39</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>702</x-position>
- <y-position>336</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Node_A_1</fromnode-name>
- <fromserviceparameter-name>a_1</fromserviceparameter-name>
- <tonode-name>Node_B_1</tonode-name>
- <toserviceparameter-name>b_1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Node_A_2</fromnode-name>
- <fromserviceparameter-name>a_2</fromserviceparameter-name>
- <tonode-name>Node_B_2</tonode-name>
- <toserviceparameter-name>b_2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Node_A_2</fromnode-name>
- <fromserviceparameter-name>ostream_A_2_1</fromserviceparameter-name>
- <tonode-name>Node_A_1</tonode-name>
- <toserviceparameter-name>istream_A_1_1</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>14</x>
- <y>162</y> </coord>
- <coord>
-<x>13</x>
- <y>37</y> </coord>
- <coord>
-<x>211</x>
- <y>36</y> </coord>
- <coord>
-<x>210</x>
- <y>435</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Node_B_1</fromnode-name>
- <fromserviceparameter-name>b_1</fromserviceparameter-name>
- <tonode-name>Node_C_1</tonode-name>
- <toserviceparameter-name>c_1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Node_B_2</fromnode-name>
- <fromserviceparameter-name>b_2</fromserviceparameter-name>
- <tonode-name>Node_C_2</tonode-name>
- <toserviceparameter-name>c_2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Node_B_2</fromnode-name>
- <fromserviceparameter-name>ostream_B_2_1</fromserviceparameter-name>
- <tonode-name>Node_A_1</tonode-name>
- <toserviceparameter-name>istream_A_1_2</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>8</x>
- <y>195</y> </coord>
- <coord>
-<x>7</x>
- <y>324</y> </coord>
- <coord>
-<x>443</x>
- <y>323</y> </coord>
- <coord>
-<x>442</x>
- <y>434</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Node_B_2</fromnode-name>
- <fromserviceparameter-name>ostream_B_2_2</fromserviceparameter-name>
- <tonode-name>Node_A_2</tonode-name>
- <toserviceparameter-name>istream_A_2_1</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>16</x>
- <y>433</y> </coord>
- <coord>
-<x>15</x>
- <y>583</y> </coord>
- <coord>
-<x>434</x>
- <y>584</y> </coord>
- <coord>
-<x>434</x>
- <y>467</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Node_C_1</fromnode-name>
- <fromserviceparameter-name>ostream_C_1_1</fromserviceparameter-name>
- <tonode-name>Node_A_1</tonode-name>
- <toserviceparameter-name>istream_A_1_3</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>21</x>
- <y>226</y> </coord>
- <coord>
-<x>20</x>
- <y>296</y> </coord>
- <coord>
-<x>663</x>
- <y>295</y> </coord>
- <coord>
-<x>662</x>
- <y>161</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Node_C_2</fromnode-name>
- <fromserviceparameter-name>c_2</fromserviceparameter-name>
- <tonode-name>Node_D_1</tonode-name>
- <toserviceparameter-name>d_1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Node_D_1</fromnode-name>
- <fromserviceparameter-name>ostream_D_1_1</fromserviceparameter-name>
- <tonode-name>Node_B_2</tonode-name>
- <toserviceparameter-name>istream_B_2_1</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>232</x>
- <y>433</y> </coord>
- <coord>
-<x>231</x>
- <y>553</y> </coord>
- <coord>
-<x>903</x>
- <y>553</y> </coord>
- <coord>
-<x>902</x>
- <y>434</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Node_D_1</fromnode-name>
- <fromserviceparameter-name>ostream_D_1_1</fromserviceparameter-name>
- <tonode-name>Node_C_2</tonode-name>
- <toserviceparameter-name>istream_C_2_1</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>461</x>
- <y>434</y> </coord>
- <coord>
-<x>461</x>
- <y>524</y> </coord>
- <coord>
-<x>889</x>
- <y>525</y> </coord>
- <coord>
-<x>888</x>
- <y>434</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Node_D_1</fromnode-name>
- <fromserviceparameter-name>ostream_D_1_1</fromserviceparameter-name>
- <tonode-name>Node_B_1</tonode-name>
- <toserviceparameter-name>istream_B_1_1</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>236</x>
- <y>162</y> </coord>
- <coord>
-<x>236</x>
- <y>249</y> </coord>
- <coord>
-<x>887</x>
- <y>249</y> </coord>
- <coord>
-<x>888</x>
- <y>432</y> </coord> </coord-list> </link> </link-list>
- <data-list/></dataflow>
+++ /dev/null
-DEBUT GraphStreamTopology_1
- TIMEOUT 300
- TRACE SANS
- DELTA_T 0
-
-
-# Liste des codes
-
- CODE Node_A_1
- istream_A_1_1 T IN ENTIER
- istream_A_1_2 T IN ENTIER
- istream_A_1_3 T IN ENTIER
- FIN #Node_A_1
-
-
- CODE Node_A_2
- istream_A_2_1 T IN ENTIER
- ostream_A_2_1 T OUT ENTIER
- FIN #Node_A_2
-
-
- CODE Node_B_1
- istream_B_1_1 T IN ENTIER
- ostream_A_2_1 T OUT ENTIER
- FIN #Node_B_1
-
-
- CODE Node_B_2
- istream_B_2_1 T IN ENTIER
- ostream_B_2_1 T OUT ENTIER
- ostream_B_2_2 T OUT ENTIER
- FIN #Node_B_2
-
-
- CODE Node_C_1
- istream_B_2_1 T IN ENTIER
- ostream_C_1_1 T OUT ENTIER
- FIN #Node_C_1
-
-
- CODE Node_C_2
- istream_C_2_1 T IN ENTIER
- ostream_C_1_1 T OUT ENTIER
- FIN #Node_C_2
-
-
- CODE Node_D_1
- istream_C_2_1 T IN ENTIER
- ostream_D_1_1 T OUT ENTIER
- FIN #Node_D_1
-
-
-
-
-# Liste des instances
-
- INSTANCE Node_A_1
- CODE Node_A_1
- FIN
-
- INSTANCE Node_A_2
- CODE Node_A_2
- FIN
-
- INSTANCE Node_B_1
- CODE Node_B_1
- FIN
-
- INSTANCE Node_B_2
- CODE Node_B_2
- FIN
-
- INSTANCE Node_C_1
- CODE Node_C_1
- FIN
-
- INSTANCE Node_C_2
- CODE Node_C_2
- FIN
-
- INSTANCE Node_D_1
- CODE Node_D_1
- FIN
-
-
-
-
-
-# Liste des liens
-
- LIEN
- Node_A_2.ostream_A_2_1 0 => Node_A_1.istream_A_1_1 TI L1 EXTRANULL ;
- Node_B_2.ostream_B_2_1 0 => Node_A_1.istream_A_1_2 TI L1 EXTRANULL ;
- Node_B_2.ostream_B_2_2 0 => Node_A_2.istream_A_2_1 TI L1 EXTRANULL ;
- Node_C_1.ostream_C_1_1 0 => Node_A_1.istream_A_1_3 TI L1 EXTRANULL ;
- Node_D_1.ostream_D_1_1 0 => Node_B_2.istream_B_2_1 TI L1 EXTRANULL ;
- Node_D_1.ostream_D_1_1 0 => Node_C_2.istream_C_2_1 TI L1 EXTRANULL ;
- Node_D_1.ostream_D_1_1 0 => Node_B_1.istream_B_1_1 TI L1 EXTRANULL ;
- FIN
-
-FIN
+++ /dev/null
-DEBUT GraphStream_1
- TIMEOUT 300
- TRACE SANS
- DELTA_T 0
-
-
-# Liste des codes
-
- CODE Add
- istream I IN ENTIER
- ostream I OUT ENTIER
- OStream I OUT ENTIER
- FIN #Add
-
-
- CODE Sub
- istream I IN ENTIER
- Istream I IN ENTIER
- FIN #Sub
-
-
-
-
-# Liste des instances
-
- INSTANCE Add
- CODE Add
- FIN
-
- INSTANCE Sub
- CODE Sub
- FIN
-
-
-
-
-
-# Liste des liens
-
- LIEN
- Add.ostream 0 => Sub.istream SCHENULL INTERNULL EXTRANULL ;
- Add.OStream 0 => Sub.Istream SCHENULL INTERNULL EXTRANULL ;
- FIN
-
-FIN
+++ /dev/null
-DEBUT GraphStream_2
- TIMEOUT 300
- TRACE SANS
- DELTA_T 0
-
-
-# Liste des codes
-
- CODE StreamAdd
- istream I IN ENTIER
- ostream I OUT ENTIER
- OStream I OUT ENTIER
- FIN #StreamAdd
-
-
-
-
-# Liste des instances
-
- INSTANCE StreamAdd
- CODE StreamAdd
- FIN
-
-
-
-
-
-# Liste des liens
-
- LIEN
- FIN
-
-FIN
+++ /dev/null
-DEBUT GraphStream_3
- TIMEOUT 300
- TRACE SANS
- DELTA_T 0
-
-
-# Liste des codes
-
- CODE Div
- ostream I OUT ENTIER
- FIN #Div
-
-
-
-
-# Liste des instances
-
- INSTANCE Div
- CODE Div
- FIN
-
-
-
-
-
-# Liste des liens
-
- LIEN
- FIN
-
-FIN
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphStreams</node-name>
- <kind>9</kind>
- <streamgraph-timeout>1000</streamgraph-timeout>
- <streamgraph-datastreamtrace>1</streamgraph-datastreamtrace>
- <streamgraph-deltatime>1.5</streamgraph-deltatime>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphStreams</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop\Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop\Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop\Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop\Incr</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Loop\z_Div</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Loop\z_Div_1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Loop\y_Add</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Loop\x_Sub</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Loop\z_Div</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Loop\z_Div_1</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop\Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop\Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop\Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop\Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>EndLoop\z_Div</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>EndLoop\z_Div_1</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>EndLoop\y_Add</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>EndLoop\x_Sub</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>23/4/2004 - 18:20:13</creation-date>
- <lastmodification-date>21/5/2004 - 10:32:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Graph with DataStreamPorts CEA/EDF : Calcium</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>DataStreamFactory</component-name>
- <interface-name>DataStreamFactory</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream</inParameter-name>
- <inParameter-dependency>2</inParameter-dependency>
- <inParameter-schema>0</inParameter-schema>
- <inParameter-interpolation>0</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>OStream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>10</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list/>
- <creation-date>21/5/2004 - 10:32:29</creation-date>
- <lastmodification-date>21/5/2004 - 10:32:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Add from DataStreamFactory</comment>
- <x-position>255</x-position>
- <y-position>171</y-position> </node>
- <node>
-<component-name>DataStreamFactory</component-name>
- <interface-name>DataStreamFactory</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream</inParameter-name>
- <inParameter-dependency>2</inParameter-dependency>
- <inParameter-schema>0</inParameter-schema>
- <inParameter-interpolation>0</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>Istream</inParameter-name>
- <inParameter-dependency>2</inParameter-dependency>
- <inParameter-schema>0</inParameter-schema>
- <inParameter-interpolation>0</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter> </DataStream-list>
- <PyFunction-list/>
- <creation-date>21/5/2004 - 10:32:29</creation-date>
- <lastmodification-date>21/5/2004 - 10:32:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Sub from DataStreamFactory</comment>
- <x-position>519</x-position>
- <y-position>48</y-position> </node>
- <node>
-<component-name>DataStreamFactory</component-name>
- <interface-name>DataStreamFactory</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>21/5/2004 - 10:32:29</creation-date>
- <lastmodification-date>21/5/2004 - 10:32:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Mul from DataStreamFactory</comment>
- <x-position>724</x-position>
- <y-position>142</y-position> </node>
- <node>
-<component-name>DataStreamFactory</component-name>
- <interface-name>DataStreamFactory</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Div</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list/>
- <creation-date>21/5/2004 - 10:32:29</creation-date>
- <lastmodification-date>21/5/2004 - 10:32:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Div from DataStreamFactory</comment>
- <x-position>935</x-position>
- <y-position>48</y-position> </node>
- <node>
-<component-name>DataStreamFactory</component-name>
- <interface-name>DataStreamFactory</interface-name>
- <node-name>Add_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream</inParameter-name>
- <inParameter-dependency>2</inParameter-dependency>
- <inParameter-schema>0</inParameter-schema>
- <inParameter-interpolation>0</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter>
- <outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>OStream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list/>
- <creation-date>21/5/2004 - 10:32:29</creation-date>
- <lastmodification-date>21/5/2004 - 10:32:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from DataStreamFactory</comment>
- <x-position>252</x-position>
- <y-position>499</y-position> </node>
- <node>
-<component-name>DataStreamFactory</component-name>
- <interface-name>DataStreamFactory</interface-name>
- <node-name>Sub_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>istream</inParameter-name>
- <inParameter-dependency>2</inParameter-dependency>
- <inParameter-schema>0</inParameter-schema>
- <inParameter-interpolation>0</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
- <inParameter>
-<inParameter-type>1</inParameter-type>
- <inParameter-name>Istream</inParameter-name>
- <inParameter-dependency>2</inParameter-dependency>
- <inParameter-schema>0</inParameter-schema>
- <inParameter-interpolation>0</inParameter-interpolation>
- <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter> </DataStream-list>
- <PyFunction-list/>
- <creation-date>21/5/2004 - 10:32:29</creation-date>
- <lastmodification-date>21/5/2004 - 10:32:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from DataStreamFactory</comment>
- <x-position>516</x-position>
- <y-position>385</y-position> </node>
- <node>
-<component-name>DataStreamFactory</component-name>
- <interface-name>DataStreamFactory</interface-name>
- <node-name>Mul_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>21/5/2004 - 10:32:29</creation-date>
- <lastmodification-date>21/5/2004 - 10:32:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Mul from DataStreamFactory</comment>
- <x-position>731</x-position>
- <y-position>487</y-position> </node>
- <node>
-<component-name>DataStreamFactory</component-name>
- <interface-name>DataStreamFactory</interface-name>
- <node-name>Div_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Div</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list>
-<outParameter>
-<outParameter-type>1</outParameter-type>
- <outParameter-name>ostream</outParameter-name>
- <outParameter-dependency>2</outParameter-dependency>
- <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
- <PyFunction-list/>
- <creation-date>21/5/2004 - 10:32:29</creation-date>
- <lastmodification-date>21/5/2004 - 10:32:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Div from DataStreamFactory</comment>
- <x-position>931</x-position>
- <y-position>385</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z_Div</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z_Div_1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y_Add</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x_Sub</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z_Div</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z_Div_1</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>y_Add</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>x_Sub</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def Init(Index,Min,Max,Incr,Z_Div,Z_Div_1,y_Add,x_Sub) : ]]></PyFunc>
- <PyFunc><![CDATA[ if Min <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr,Z_Div,Z_Div_1,y_Add,x_Sub ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def More(Index,Min,Max,Incr,Z_Div,Z_Div_1,y_Add,x_Sub) : ]]></PyFunc>
- <PyFunc><![CDATA[ if Index < Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max,Incr,Z_Div,Z_Div_1,y_Add,x_Sub ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def Next(Index,Min,Max,Incr,Z_Div,Z_Div_1,y_Add,x_Sub) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + Incr ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr,Z_Div,Z_Div_1,y_Add,x_Sub ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 10:32:29</creation-date>
- <lastmodification-date>21/5/2004 - 10:32:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>5</x-position>
- <y-position>391</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z_Div</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z_Div_1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y_Add</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x_Sub</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z_Div</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z_Div_1</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>y_Add</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>x_Sub</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndInit</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/5/2004 - 10:32:29</creation-date>
- <lastmodification-date>21/5/2004 - 10:32:29</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>1158</x-position>
- <y-position>393</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>448</x>
- <y>143</y> </coord>
- <coord>
-<x>449</x>
- <y>237</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>708</x>
- <y>237</y> </coord>
- <coord>
-<x>708</x>
- <y>270</y> </coord>
- <coord>
-<x>449</x>
- <y>270</y> </coord>
- <coord>
-<x>448</x>
- <y>238</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>ostream</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>istream</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>474</x>
- <y>175</y> </coord>
- <coord>
-<x>474</x>
- <y>297</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>OStream</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>Istream</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>497</x>
- <y>207</y> </coord>
- <coord>
-<x>498</x>
- <y>328</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>706</x>
- <y>207</y> </coord>
- <coord>
-<x>706</x>
- <y>114</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>912</x>
- <y>143</y> </coord>
- <coord>
-<x>911</x>
- <y>208</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Div</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>z_Div</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1147</x>
- <y>537</y> </coord>
- <coord>
-<x>1148</x>
- <y>113</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Div</fromnode-name>
- <fromserviceparameter-name>ostream</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>istream</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>233</x>
- <y>626</y> </coord>
- <coord>
-<x>232</x>
- <y>763</y> </coord>
- <coord>
-<x>1126</x>
- <y>763</y> </coord>
- <coord>
-<x>1125</x>
- <y>175</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add_1</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>445</x>
- <y>478</y> </coord>
- <coord>
-<x>444</x>
- <y>566</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add_1</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>703</x>
- <y>582</y> </coord>
- <coord>
-<x>703</x>
- <y>677</y> </coord>
- <coord>
-<x>445</x>
- <y>678</y> </coord>
- <coord>
-<x>444</x>
- <y>567</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add_1</fromnode-name>
- <fromserviceparameter-name>ostream</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>istream</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>473</x>
- <y>511</y> </coord>
- <coord>
-<x>473</x>
- <y>627</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add_1</fromnode-name>
- <fromserviceparameter-name>OStream</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>Istream</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>498</x>
- <y>543</y> </coord>
- <coord>
-<x>497</x>
- <y>658</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub_1</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>708</x>
- <y>552</y> </coord>
- <coord>
-<x>707</x>
- <y>450</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub_1</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Mul_1</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>913</x>
- <y>479</y> </coord>
- <coord>
-<x>913</x>
- <y>551</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Div_1</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>z_Div_1</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1138</x>
- <y>567</y> </coord>
- <coord>
-<x>1138</x>
- <y>449</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Div_1</fromnode-name>
- <fromserviceparameter-name>ostream</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>istream</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>229</x>
- <y>297</y> </coord>
- <coord>
-<x>229</x>
- <y>426</y> </coord>
- <coord>
-<x>475</x>
- <y>425</y> </coord>
- <coord>
-<x>475</x>
- <y>352</y> </coord>
- <coord>
-<x>1110</x>
- <y>352</y> </coord>
- <coord>
-<x>1111</x>
- <y>512</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>201</x>
- <y>236</y> </coord>
- <coord>
-<x>202</x>
- <y>420</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>201</x>
- <y>562</y> </coord>
- <coord>
-<x>202</x>
- <y>422</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>y_Add</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>y_Add</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>y_Add</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>183</x>
- <y>266</y> </coord>
- <coord>
-<x>182</x>
- <y>593</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>y_Add</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>x_Sub</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>x_Sub</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>x_Sub</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>167</x>
- <y>113</y> </coord>
- <coord>
-<x>167</x>
- <y>625</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>x_Sub</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>167</x>
- <y>450</y> </coord>
- <coord>
-<x>168</x>
- <y>624</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>EndLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphStreams</fromnode-name>
- <fromserviceparameter-name>Loop\Index</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphStreams</fromnode-name>
- <fromserviceparameter-name>Loop\Min</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphStreams</fromnode-name>
- <fromserviceparameter-name>Loop\Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphStreams</fromnode-name>
- <fromserviceparameter-name>Loop\Incr</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphStreams</fromnode-name>
- <fromserviceparameter-name>Loop\z_Div</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>z_Div</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphStreams</fromnode-name>
- <fromserviceparameter-name>Loop\z_Div_1</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>z_Div_1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphStreams</fromnode-name>
- <fromserviceparameter-name>Loop\y_Add</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>y_Add</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>4.5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphStreams</fromnode-name>
- <fromserviceparameter-name>Loop\x_Sub</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>x_Sub</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1.5</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-DEBUT GraphStreams_1
- TIMEOUT 1000
- TRACE SUCCINT
- DELTA_T 1.5
-
-
-# Liste des codes
-
- CODE Add
- istream I IN ENTIER
- ostream I OUT ENTIER
- OStream I OUT ENTIER
- FIN #Add
-
-
- CODE Div
- ostream I OUT ENTIER
- FIN #Div
-
-
- CODE Sub
- istream I IN ENTIER
- Istream I IN ENTIER
- FIN #Sub
-
-
-
-
-# Liste des instances
-
- INSTANCE Add
- CODE Add
- FIN
-
- INSTANCE Sub
- CODE Sub
- FIN
-
- INSTANCE Div_1
- CODE Div
- FIN
-
-
-
-
-
-# Liste des liens
-
- LIEN
- Add.ostream 0 => Sub.istream SCHENULL INTERNULL EXTRANULL ;
- Add.OStream 10 => Sub.Istream SCHENULL INTERNULL EXTRANULL ;
- Div_1.ostream 0 => Add.istream SCHENULL INTERNULL EXTRANULL ;
- FIN
-
-FIN
+++ /dev/null
-DEBUT GraphStreams_2
- TIMEOUT 1000
- TRACE SUCCINT
- DELTA_T 1.5
-
-
-# Liste des codes
-
- CODE Add
- istream I IN ENTIER
- ostream I OUT ENTIER
- OStream I OUT ENTIER
- FIN #Add
-
-
- CODE Div
- ostream I OUT ENTIER
- FIN #Div
-
-
- CODE Sub
- istream I IN ENTIER
- Istream I IN ENTIER
- FIN #Sub
-
-
-
-
-# Liste des instances
-
- INSTANCE Div
- CODE Div
- FIN
-
- INSTANCE Add_1
- CODE Add
- FIN
-
- INSTANCE Sub_1
- CODE Sub
- FIN
-
-
-
-
-
-# Liste des liens
-
- LIEN
- Div.ostream 0 => Add_1.istream SCHENULL INTERNULL EXTRANULL ;
- Add_1.ostream 0 => Sub_1.istream SCHENULL INTERNULL EXTRANULL ;
- Add_1.OStream 0 => Sub_1.Istream SCHENULL INTERNULL EXTRANULL ;
- FIN
-
-FIN
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSub</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphSub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Sub__z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:4:7</creation-date>
- <lastmodification-date>28/9/2005 - 16:4:20</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Sub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/9/2005 - 16:4:20</creation-date>
- <lastmodification-date>28/9/2005 - 16:4:20</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>55</x-position>
- <y-position>71</y-position>
- </node>
- </node-list>
- <link-list/>
- <data-list/>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<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>
-<service-name>GraphSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>8/7/2005 - 11:33:23</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/7/2005 - 11:33:23</creation-date>
- <lastmodification-date>8/7/2005 - 11:33:23</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>8/7/2005 - 11:33:23</creation-date>
- <lastmodification-date>8/7/2005 - 11:33:23</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 11:33:23</creation-date>
- <lastmodification-date>8/7/2005 - 11:33:23</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>8/7/2005 - 11:33:23</creation-date>
- <lastmodification-date>8/7/2005 - 11:33:23</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 11:33:23</creation-date>
- <lastmodification-date>8/7/2005 - 11:33:23</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>
-<coord>
-<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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>Switch</fromnode-name>
- <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>
-<coord>
-<x>371</x>
- <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/> </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>
-<data>
-<fromnode-name>GraphSwitch</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>GraphSwitch</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>GraphSwitch</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>35</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<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>
- <service-name>GraphSwitch1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>int</outParameter-type>
- <outParameter-name>Switch__Even</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/10/2003 - 17:12:48</creation-date>
- <lastmodification-date>9/12/2005 - 17:19:21</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>
- <service-name>IsOdd</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>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>9/12/2005 - 17:18:41</creation-date>
- <lastmodification-date>9/12/2005 - 17:18:41</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>408</x-position>
- <y-position>34</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>
- <service-name>InitLoop</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <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>
- <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>
- <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>9/12/2005 - 17:18:41</creation-date>
- <lastmodification-date>9/12/2005 - 17:18:41</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>129</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
- <service-name>EndOfInitLoop</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>9/12/2005 - 17:18:41</creation-date>
- <lastmodification-date>9/12/2005 - 17:18:41</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>862</x-position>
- <y-position>156</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>
- <service-name>Switch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>int</outParameter-type>
- <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>9/12/2005 - 17:18:41</creation-date>
- <lastmodification-date>9/12/2005 - 17:18:41</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>
- <service-name>EndOfSwitch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>9/12/2005 - 17:18:41</creation-date>
- <lastmodification-date>9/12/2005 - 17:18:41</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>640</x-position>
- <y-position>155</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/>
- </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>
- <fromnode-name>InitLoop</fromnode-name>
- <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>
- <fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Switch</fromnode-name>
- <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>
- <coord>
- <x>375</x>
- <y>105</y>
- </coord>
- <coord>
- <x>375</x>
- <y>201</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/>
- </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>
- <data>
- <fromnode-name>GraphSwitch1</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>GraphSwitch1</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>GraphSwitch1</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>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitch_1_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitch_1_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/10/2003 - 17:23:54</creation-date>
- <lastmodification-date>20/1/2005 - 12:38:11</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>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>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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = 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 >= Min : ]]></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>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>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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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 - 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>775</x-position>
- <y-position>169</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>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>397</x-position>
- <y-position>279</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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[ 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>
- <comment>Compute Node</comment>
- <x-position>195</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch_1</FuncName>
- <PyFunc><![CDATA[?]]></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>
- <comment>Compute Node</comment>
- <x-position>583</x-position>
- <y-position>169</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/> </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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<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>Switch</fromnode-name>
- <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>IsEven</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/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitch_1_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>GraphSwitch_1_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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitch_1_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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchBranchGates</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchNOTValid_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/10/2003 - 17:12:48</creation-date>
- <lastmodification-date>8/4/2005 - 10:0:0</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/4/2005 - 10:0:0</creation-date>
- <lastmodification-date>8/4/2005 - 10:0:0</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>
-<service-name>InitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = 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 >= Min : ]]></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>8/4/2005 - 10:0:0</creation-date>
- <lastmodification-date>8/4/2005 - 10:0:0</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>129</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 10:0:0</creation-date>
- <lastmodification-date>8/4/2005 - 10:0:0</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>777</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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 <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></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>8/4/2005 - 10:0:0</creation-date>
- <lastmodification-date>8/4/2005 - 10:0:0</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 10:0:0</creation-date>
- <lastmodification-date>8/4/2005 - 10:0:0</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>589</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>
-<coord>
-<x>571</x>
- <y>201</y> </coord>
- <coord>
-<x>571</x>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>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>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchBranchGates</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>GraphSwitchBranchGates</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchBranchGates</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>23</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchBranchGates1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchNOTValid</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/10/2003 - 17:12:48</creation-date>
- <lastmodification-date>8/4/2005 - 9:55:15</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/4/2005 - 9:39:12</creation-date>
- <lastmodification-date>8/4/2005 - 9:39:12</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>
-<service-name>InitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = 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 >= Min : ]]></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>8/4/2005 - 9:39:12</creation-date>
- <lastmodification-date>8/4/2005 - 9:39:12</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>129</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 9:39:12</creation-date>
- <lastmodification-date>8/4/2005 - 9:39:12</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>777</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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 <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></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>8/4/2005 - 9:39:12</creation-date>
- <lastmodification-date>8/4/2005 - 9:39:12</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 9:39:12</creation-date>
- <lastmodification-date>8/4/2005 - 9:39:12</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>589</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>
-<coord>
-<x>571</x>
- <y>201</y> </coord>
- <coord>
-<x>571</x>
- <y>136</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>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>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchBranchGates1</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>GraphSwitchBranchGates1</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchBranchGates1</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>23</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchBugAborted</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchBugNODefault_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>EndOfSwitch__Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>28/6/2005 - 10:56:46</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>28/6/2005 - 10:56:46</creation-date>
- <lastmodification-date>28/6/2005 - 10:56: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>InitLoopSwitch</node-name>
- <kind>4</kind>
- <coupled-node>EndOfInitLoopSwitch</coupled-node>
- <service>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>28/6/2005 - 10:56:46</creation-date>
- <lastmodification-date>28/6/2005 - 10:56: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>EndOfInitLoopSwitch</node-name>
- <kind>5</kind>
- <coupled-node>InitLoopSwitch</coupled-node>
- <service>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>28/6/2005 - 10:56:46</creation-date>
- <lastmodification-date>28/6/2005 - 10:56:46</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>772</x-position>
- <y-position>132</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>n</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,a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>28/6/2005 - 10:56:46</creation-date>
- <lastmodification-date>28/6/2005 - 10:56:46</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>k</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[def EndOfSwitch(a,Even,k) : ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>28/6/2005 - 10:56:46</creation-date>
- <lastmodification-date>28/6/2005 - 10:56:46</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>581</x-position>
- <y-position>132</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/> </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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>Switch</fromnode-name>
- <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/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>k</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>
-<data>
-<fromnode-name>GraphSwitchBugAborted</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>GraphSwitchBugAborted</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>GraphSwitchBugAborted</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>20</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchBugDefault</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchBugDefault</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>EndOfSwitch__Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>30/6/2005 - 10:41:27</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>30/6/2005 - 10:41:27</creation-date>
- <lastmodification-date>30/6/2005 - 10:41:27</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Min ]]></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>
-<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>30/6/2005 - 10:41:27</creation-date>
- <lastmodification-date>30/6/2005 - 10:41:27</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>30/6/2005 - 10:41:27</creation-date>
- <lastmodification-date>30/6/2005 - 10:41:27</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>772</x-position>
- <y-position>132</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>n</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,a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>30/6/2005 - 10:41:27</creation-date>
- <lastmodification-date>30/6/2005 - 10:41:27</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>k</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[def EndOfSwitch(a,Even,k) : ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>30/6/2005 - 10:41:27</creation-date>
- <lastmodification-date>30/6/2005 - 10:41:27</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>581</x-position>
- <y-position>132</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/> </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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>Switch</fromnode-name>
- <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/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>k</toserviceparameter-name>
- <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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchBugDefault</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>GraphSwitchBugDefault</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>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchBugDefault</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>20</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Switch__default</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/1/2005 - 11:48:50</creation-date>
- <lastmodification-date>13/1/2005 - 11:51:24</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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:50:18</creation-date>
- <lastmodification-date>13/1/2005 - 11:50:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>415</x-position>
- <y-position>7</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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:50:18</creation-date>
- <lastmodification-date>13/1/2005 - 11:50:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>438</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Print</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print(a,Branch) : ]]></PyFunc>
- <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 - 11:50:18</creation-date>
- <lastmodification-date>13/1/2005 - 11:50:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>415</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Print_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print_1(a,Branch) : ]]></PyFunc>
- <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 - 11:50:18</creation-date>
- <lastmodification-date>13/1/2005 - 11:50:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>423</x-position>
- <y-position>289</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EmptyNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>EmptyNode</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EmptyNode</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <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 - 11:50:18</creation-date>
- <lastmodification-date>13/1/2005 - 11:50:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>652</x-position>
- <y-position>110</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></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/1/2005 - 11:50:18</creation-date>
- <lastmodification-date>13/1/2005 - 11:50:18</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoopSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <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 - 11:50:18</creation-date>
- <lastmodification-date>13/1/2005 - 11:50:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1074</x-position>
- <y-position>194</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Negative or null" ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Even" ]]></PyFunc>
- <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 - 11:50:18</creation-date>
- <lastmodification-date>13/1/2005 - 11:50:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>195</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <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 - 11:50:18</creation-date>
- <lastmodification-date>13/1/2005 - 11:50:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>882</x-position>
- <y-position>194</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EmptyNode</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EmptyNode</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoopSwitch</tonode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <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>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>101</y> </coord>
- <coord>
-<x>401</x>
- <y>160</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>245</y> </coord>
- <coord>
-<x>401</x>
- <y>159</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>533</y> </coord>
- <coord>
-<x>392</x>
- <y>182</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>403</y> </coord>
- <coord>
-<x>392</x>
- <y>181</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>78</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>509</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>361</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>369</x>
- <y>381</y> </coord>
- <coord>
-<x>369</x>
- <y>219</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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCheck</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>GraphSwitchCheck</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCheck</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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCheckBranch</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCheckBranch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Switch__default</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/1/2005 - 11:48:50</creation-date>
- <lastmodification-date>19/1/2005 - 11:48:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Switch with two SwitchBranches, One NotSwitchBranch and the DefaultBranch</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>19/1/2005 - 11:48:48</creation-date>
- <lastmodification-date>19/1/2005 - 11:48:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>415</x-position>
- <y-position>7</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>19/1/2005 - 11:48:48</creation-date>
- <lastmodification-date>19/1/2005 - 11:48:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>438</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>BranchNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BranchNode</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print_1(Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 11:48:48</creation-date>
- <lastmodification-date>19/1/2005 - 11:48:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>604</x-position>
- <y-position>149</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></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>19/1/2005 - 11:48:48</creation-date>
- <lastmodification-date>19/1/2005 - 11:48:48</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoopSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 11:48:48</creation-date>
- <lastmodification-date>19/1/2005 - 11:48:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1074</x-position>
- <y-position>194</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Negative or null" ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Even" ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Odd" ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),a,Branch,0 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 11:48:48</creation-date>
- <lastmodification-date>19/1/2005 - 11:48:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>195</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 11:48:48</creation-date>
- <lastmodification-date>19/1/2005 - 11:48:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>882</x-position>
- <y-position>194</y-position> </node> </node-list>
- <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/> </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>BranchNode</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoopSwitch</tonode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <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>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>101</y> </coord>
- <coord>
-<x>401</x>
- <y>160</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>533</y> </coord>
- <coord>
-<x>392</x>
- <y>182</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>78</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>509</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>BranchNode</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCheckBranch</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>GraphSwitchCheckBranch</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCheckBranch</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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCheckBranch1_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCheckBranch1_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/1/2005 - 11:48:50</creation-date>
- <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Switch with two SwitchBranches, One NotSwitchBranch and the DefaultBranch</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/3/2005 - 16:43:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>415</x-position>
- <y-position>7</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/3/2005 - 16:43:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>438</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>BranchNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BranchNode</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print_1(Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:43:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>529</x-position>
- <y-position>177</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></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>8/3/2005 - 16:43:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>157</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoopSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <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>8/3/2005 - 16:43:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1073</x-position>
- <y-position>216</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Negative or null" ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Even" ]]></PyFunc>
- <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>8/3/2005 - 16:43:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>157</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:43:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>880</x-position>
- <y-position>216</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>default</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>default</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>default</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def default(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:43:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>428</x-position>
- <y-position>308</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <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>BranchNode</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoopSwitch</tonode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <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>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>101</y> </coord>
- <coord>
-<x>401</x>
- <y>188</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>533</y> </coord>
- <coord>
-<x>392</x>
- <y>208</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>78</y> </coord>
- <coord>
-<x>382</x>
- <y>229</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>509</y> </coord>
- <coord>
-<x>381</x>
- <y>229</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>default</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>377</y> </coord>
- <coord>
-<x>382</x>
- <y>228</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>BranchNode</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>default</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>410</x>
- <y>403</y> </coord>
- <coord>
-<x>410</x>
- <y>269</y> </coord>
- <coord>
-<x>410</x>
- <y>268</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <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>
-<fromnode-name>default</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCheckBranch1_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>GraphSwitchCheckBranch1_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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCheckBranch1_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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCheckBranch1Default</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCheckBranch1Default</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/1/2005 - 11:48:50</creation-date>
- <lastmodification-date>8/7/2005 - 14:42:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Switch with two SwitchBranches, One NotSwitchBranch and the DefaultBranch</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/7/2005 - 14:41:7</creation-date>
- <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>415</x-position>
- <y-position>7</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/7/2005 - 14:41:7</creation-date>
- <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>438</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>BranchNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BranchNode</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print_1(Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 14:41:7</creation-date>
- <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>529</x-position>
- <y-position>177</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></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>8/7/2005 - 14:41:7</creation-date>
- <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>157</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoopSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <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>8/7/2005 - 14:41:7</creation-date>
- <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1073</x-position>
- <y-position>216</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Negative or null" ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,0 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Even" ]]></PyFunc>
- <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>8/7/2005 - 14:41:7</creation-date>
- <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>157</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 14:41:7</creation-date>
- <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>880</x-position>
- <y-position>216</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>default</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>default</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>default</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def default(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 14:41:7</creation-date>
- <lastmodification-date>8/7/2005 - 14:41:7</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>428</x-position>
- <y-position>308</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <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>BranchNode</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoopSwitch</tonode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <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>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>101</y> </coord>
- <coord>
-<x>401</x>
- <y>188</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>533</y> </coord>
- <coord>
-<x>392</x>
- <y>208</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>78</y> </coord>
- <coord>
-<x>382</x>
- <y>229</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>509</y> </coord>
- <coord>
-<x>381</x>
- <y>229</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>default</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>377</y> </coord>
- <coord>
-<x>382</x>
- <y>228</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>BranchNode</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>default</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>410</x>
- <y>403</y> </coord>
- <coord>
-<x>410</x>
- <y>269</y> </coord>
- <coord>
-<x>410</x>
- <y>268</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <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>
-<fromnode-name>default</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCheckBranch1Default</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>GraphSwitchCheckBranch1Default</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCheckBranch1Default</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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCheckBranch1NoDefault</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCheckBranch1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/1/2005 - 11:48:50</creation-date>
- <lastmodification-date>14/2/2005 - 11:39:30</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Switch with two SwitchBranches, One NotSwitchBranch and the DefaultBranch</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>14/2/2005 - 11:36:28</creation-date>
- <lastmodification-date>14/2/2005 - 11:36:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>415</x-position>
- <y-position>7</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>14/2/2005 - 11:36:28</creation-date>
- <lastmodification-date>14/2/2005 - 11:36:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>438</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>BranchNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BranchNode</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print_1(Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 11:36:28</creation-date>
- <lastmodification-date>14/2/2005 - 11:36:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>529</x-position>
- <y-position>177</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></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>14/2/2005 - 11:36:28</creation-date>
- <lastmodification-date>14/2/2005 - 11:36:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>157</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoopSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <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>14/2/2005 - 11:36:28</creation-date>
- <lastmodification-date>14/2/2005 - 11:36:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1073</x-position>
- <y-position>216</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Negative or null" ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Even" ]]></PyFunc>
- <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>14/2/2005 - 11:36:28</creation-date>
- <lastmodification-date>14/2/2005 - 11:36:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>157</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 11:36:28</creation-date>
- <lastmodification-date>14/2/2005 - 11:36:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>880</x-position>
- <y-position>216</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>default</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>default</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>default</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def default(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 11:36:28</creation-date>
- <lastmodification-date>14/2/2005 - 11:36:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>428</x-position>
- <y-position>308</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <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>BranchNode</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoopSwitch</tonode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <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>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>101</y> </coord>
- <coord>
-<x>401</x>
- <y>188</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>533</y> </coord>
- <coord>
-<x>392</x>
- <y>208</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>78</y> </coord>
- <coord>
-<x>382</x>
- <y>229</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>509</y> </coord>
- <coord>
-<x>381</x>
- <y>229</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>default</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>377</y> </coord>
- <coord>
-<x>382</x>
- <y>228</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>BranchNode</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>default</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>410</x>
- <y>403</y> </coord>
- <coord>
-<x>410</x>
- <y>269</y> </coord>
- <coord>
-<x>410</x>
- <y>268</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>EndOfSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoopSwitch</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>default</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCheckBranch1NoDefault</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>GraphSwitchCheckBranch1NoDefault</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCheckBranch1NoDefault</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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCheckBranch2NOTValid</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCheckBranch2NOTValid</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/1/2005 - 11:48:50</creation-date>
- <lastmodification-date>15/2/2005 - 11:47:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>Switch with two SwitchBranches, One NotSwitchBranch and the DefaultBranch
-Shared Node between Branches</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(aBranch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphSwitch)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>15/2/2005 - 11:42:57</creation-date>
- <lastmodification-date>15/2/2005 - 11:42:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>649</x-position>
- <y-position>6</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven(aBranch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsEven (GraphSwitch)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>15/2/2005 - 11:42:57</creation-date>
- <lastmodification-date>15/2/2005 - 11:42:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>657</x-position>
- <y-position>451</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>BranchNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BranchNode</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print_1(Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>15/2/2005 - 11:42:57</creation-date>
- <lastmodification-date>15/2/2005 - 11:42:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>429</x-position>
- <y-position>177</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>NextLoop</FuncName>
- <PyFunc><![CDATA[def NextLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index - 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>15/2/2005 - 11:42:57</creation-date>
- <lastmodification-date>15/2/2005 - 11:42:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>157</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoopSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <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>15/2/2005 - 11:42:57</creation-date>
- <lastmodification-date>15/2/2005 - 11:42:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1073</x-position>
- <y-position>216</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Negative or null" ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Even" ]]></PyFunc>
- <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>15/2/2005 - 11:42:57</creation-date>
- <lastmodification-date>15/2/2005 - 11:42:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>157</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>15/2/2005 - 11:42:57</creation-date>
- <lastmodification-date>15/2/2005 - 11:42:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>880</x-position>
- <y-position>216</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>default</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>default</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<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>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>default</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def default(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>15/2/2005 - 11:42:57</creation-date>
- <lastmodification-date>15/2/2005 - 11:42:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>655</x-position>
- <y-position>306</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/> </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>BranchNode</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>BranchNode</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>BranchNode</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>default</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>BranchNode</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>IsEven</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>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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <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>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>400</x>
- <y>121</y> </coord>
- <coord>
-<x>401</x>
- <y>188</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>391</x>
- <y>568</y> </coord>
- <coord>
-<x>392</x>
- <y>208</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>default</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</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/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>BranchNode</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>default</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>410</x>
- <y>422</y> </coord>
- <coord>
-<x>410</x>
- <y>269</y> </coord>
- <coord>
-<x>410</x>
- <y>268</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <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>
-<fromnode-name>default</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCheckBranch2NOTValid</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>GraphSwitchCheckBranch2NOTValid</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCheckBranch2NOTValid</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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCheckDefault_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCheckDefault_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Switch__default</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/1/2005 - 12:21:43</creation-date>
- <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/3/2005 - 16:47:4</creation-date>
- <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>415</x-position>
- <y-position>7</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/3/2005 - 16:47:4</creation-date>
- <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>438</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:47:4</creation-date>
- <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>415</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print_1(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:47:4</creation-date>
- <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>423</x-position>
- <y-position>289</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EmptyNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>EmptyNode</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EmptyNode</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EmptyNode(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:47:4</creation-date>
- <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>652</x-position>
- <y-position>110</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></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>8/3/2005 - 16:47:4</creation-date>
- <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoopSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <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>8/3/2005 - 16:47:4</creation-date>
- <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1074</x-position>
- <y-position>194</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Negative or null" ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Even" ]]></PyFunc>
- <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>8/3/2005 - 16:47:4</creation-date>
- <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>190</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:47:4</creation-date>
- <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>882</x-position>
- <y-position>194</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EmptyNode</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EmptyNode</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoopSwitch</tonode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <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>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>101</y> </coord>
- <coord>
-<x>401</x>
- <y>160</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>245</y> </coord>
- <coord>
-<x>401</x>
- <y>159</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>533</y> </coord>
- <coord>
-<x>392</x>
- <y>182</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>403</y> </coord>
- <coord>
-<x>392</x>
- <y>181</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>78</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>509</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>361</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>369</x>
- <y>381</y> </coord>
- <coord>
-<x>369</x>
- <y>219</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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCheckDefault_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>GraphSwitchCheckDefault_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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCheckDefault_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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCheckDefault1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCheckDefault1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/1/2005 - 12:21:43</creation-date>
- <lastmodification-date>14/1/2005 - 17:54:11</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>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>
- <comment>Python function</comment>
- <x-position>415</x-position>
- <y-position>7</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>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>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>438</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <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>
- <comment>Compute Node</comment>
- <x-position>415</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print_1(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <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>
- <comment>Compute Node</comment>
- <x-position>423</x-position>
- <y-position>289</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EmptyNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>EmptyNode</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EmptyNode</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EmptyNode(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <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>
- <comment>Compute Node</comment>
- <x-position>652</x-position>
- <y-position>110</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Default</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Default</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Default</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Default(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>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>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>592</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>InitLoopSwitch</node-name>
- <kind>4</kind>
- <coupled-node>EndOfInitLoopSwitch</coupled-node>
- <service>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></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>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>
- <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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoopSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <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>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>
- <comment>Compute Node</comment>
- <x-position>1074</x-position>
- <y-position>194</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Negative or null" ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Even" ]]></PyFunc>
- <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>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>
- <comment>Compute Node</comment>
- <x-position>190</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <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>
- <comment>Compute Node</comment>
- <x-position>882</x-position>
- <y-position>194</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EmptyNode</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EmptyNode</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>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Default</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoopSwitch</tonode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <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>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>101</y> </coord>
- <coord>
-<x>401</x>
- <y>160</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>245</y> </coord>
- <coord>
-<x>401</x>
- <y>159</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>533</y> </coord>
- <coord>
-<x>392</x>
- <y>182</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>403</y> </coord>
- <coord>
-<x>392</x>
- <y>181</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>78</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>509</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>361</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>663</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>369</x>
- <y>381</y> </coord>
- <coord>
-<x>369</x>
- <y>219</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>370</x>
- <y>683</y> </coord>
- <coord>
-<x>370</x>
- <y>220</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>363</x>
- <y>707</y> </coord>
- <coord>
-<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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCheckDefault1</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>GraphSwitchCheckDefault1</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCheckDefault1</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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCheckDefault11NOTValid</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCheckDefault11NOTValid</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>Default__a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/1/2005 - 12:21:43</creation-date>
- <lastmodification-date>19/1/2005 - 12:14:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>19/1/2005 - 12:14:37</creation-date>
- <lastmodification-date>19/1/2005 - 12:14:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>415</x-position>
- <y-position>7</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>19/1/2005 - 12:14:37</creation-date>
- <lastmodification-date>19/1/2005 - 12:14:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>438</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:14:37</creation-date>
- <lastmodification-date>19/1/2005 - 12:14:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>415</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print_1(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:14:37</creation-date>
- <lastmodification-date>19/1/2005 - 12:14:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>423</x-position>
- <y-position>289</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EmptyNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>EmptyNode</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EmptyNode</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EmptyNode(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:14:37</creation-date>
- <lastmodification-date>19/1/2005 - 12:14:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>652</x-position>
- <y-position>110</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Default</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Default</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Default</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Default(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:14:37</creation-date>
- <lastmodification-date>19/1/2005 - 12:14:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>592</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>InitLoopSwitch</node-name>
- <kind>4</kind>
- <coupled-node>EndOfInitLoopSwitch</coupled-node>
- <service>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></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>19/1/2005 - 12:14:37</creation-date>
- <lastmodification-date>19/1/2005 - 12:14:37</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoopSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:14:37</creation-date>
- <lastmodification-date>19/1/2005 - 12:14:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1074</x-position>
- <y-position>194</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Negative or null" ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Even" ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Odd" ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),a,Branch,0 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:14:37</creation-date>
- <lastmodification-date>19/1/2005 - 12:14:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>190</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:14:37</creation-date>
- <lastmodification-date>19/1/2005 - 12:14:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>882</x-position>
- <y-position>194</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EmptyNode</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EmptyNode</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>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoopSwitch</tonode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <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>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>101</y> </coord>
- <coord>
-<x>401</x>
- <y>160</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>245</y> </coord>
- <coord>
-<x>401</x>
- <y>159</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>533</y> </coord>
- <coord>
-<x>392</x>
- <y>182</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>403</y> </coord>
- <coord>
-<x>392</x>
- <y>181</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>78</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>509</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>361</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>663</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>369</x>
- <y>381</y> </coord>
- <coord>
-<x>369</x>
- <y>219</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>370</x>
- <y>683</y> </coord>
- <coord>
-<x>370</x>
- <y>220</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>363</x>
- <y>707</y> </coord>
- <coord>
-<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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCheckDefault11NOTValid</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>GraphSwitchCheckDefault11NOTValid</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCheckDefault11NOTValid</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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCheckDefault2</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCheckDefault1_1_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/1/2005 - 12:21:43</creation-date>
- <lastmodification-date>19/1/2005 - 12:15:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>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>Python function</comment>
- <x-position>415</x-position>
- <y-position>7</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>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>421</x-position>
- <y-position>438</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12: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>415</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print_1(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12: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>423</x-position>
- <y-position>289</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EmptyNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>EmptyNode</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EmptyNode</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EmptyNode(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12: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>652</x-position>
- <y-position>110</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Default</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Default</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Default</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Default(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>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>421</x-position>
- <y-position>592</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></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>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>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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoopSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12: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>1074</x-position>
- <y-position>194</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Negative or null" ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Even" ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Odd" ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),a,Branch,0 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12: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>190</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12: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>882</x-position>
- <y-position>194</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Puta</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Puta</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Puta</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Puta(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12: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>665</x-position>
- <y-position>486</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PutBranch</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PutBranch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PutBranch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PutBranch(Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12: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>662</x-position>
- <y-position>613</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EmptyNode</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EmptyNode</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>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>PutBranch</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>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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <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>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>101</y> </coord>
- <coord>
-<x>401</x>
- <y>160</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>245</y> </coord>
- <coord>
-<x>401</x>
- <y>159</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>533</y> </coord>
- <coord>
-<x>392</x>
- <y>182</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>403</y> </coord>
- <coord>
-<x>392</x>
- <y>181</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>78</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>509</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>361</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>663</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>369</x>
- <y>381</y> </coord>
- <coord>
-<x>369</x>
- <y>219</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>370</x>
- <y>683</y> </coord>
- <coord>
-<x>370</x>
- <y>220</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>363</x>
- <y>707</y> </coord>
- <coord>
-<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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Puta</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PutBranch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCheckDefault2</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>GraphSwitchCheckDefault2</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCheckDefault2</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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCheckDefault2NOTValid</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCheckDefault2NOTValid</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/1/2005 - 12:21:43</creation-date>
- <lastmodification-date>19/1/2005 - 12:15:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>19/1/2005 - 12:15:57</creation-date>
- <lastmodification-date>19/1/2005 - 12:15:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>415</x-position>
- <y-position>7</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>19/1/2005 - 12:15:57</creation-date>
- <lastmodification-date>19/1/2005 - 12:15:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>438</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:15:57</creation-date>
- <lastmodification-date>19/1/2005 - 12:15:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>415</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print_1(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:15:57</creation-date>
- <lastmodification-date>19/1/2005 - 12:15:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>423</x-position>
- <y-position>289</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EmptyNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>EmptyNode</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EmptyNode</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EmptyNode(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:15:57</creation-date>
- <lastmodification-date>19/1/2005 - 12:15:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>652</x-position>
- <y-position>110</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Default</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Default</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Default</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Default(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:15:57</creation-date>
- <lastmodification-date>19/1/2005 - 12:15:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>592</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>InitLoopSwitch</node-name>
- <kind>4</kind>
- <coupled-node>EndOfInitLoopSwitch</coupled-node>
- <service>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></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>19/1/2005 - 12:15:57</creation-date>
- <lastmodification-date>19/1/2005 - 12:15:57</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoopSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:15:57</creation-date>
- <lastmodification-date>19/1/2005 - 12:15:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1074</x-position>
- <y-position>194</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Negative or null" ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Even" ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Odd" ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),a,Branch,0 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:15:57</creation-date>
- <lastmodification-date>19/1/2005 - 12:15:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>190</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:15:57</creation-date>
- <lastmodification-date>19/1/2005 - 12:15:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>882</x-position>
- <y-position>194</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Puta</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Puta</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Puta</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Puta(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:15:57</creation-date>
- <lastmodification-date>19/1/2005 - 12:15:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>665</x-position>
- <y-position>486</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PutBranch</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PutBranch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PutBranch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PutBranch(Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:15:57</creation-date>
- <lastmodification-date>19/1/2005 - 12:15:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>662</x-position>
- <y-position>613</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EmptyNode</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EmptyNode</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>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>
- <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>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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <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>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>101</y> </coord>
- <coord>
-<x>401</x>
- <y>160</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>245</y> </coord>
- <coord>
-<x>401</x>
- <y>159</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>533</y> </coord>
- <coord>
-<x>392</x>
- <y>182</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>403</y> </coord>
- <coord>
-<x>392</x>
- <y>181</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>78</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>509</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>361</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>663</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>369</x>
- <y>381</y> </coord>
- <coord>
-<x>369</x>
- <y>219</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>370</x>
- <y>683</y> </coord>
- <coord>
-<x>370</x>
- <y>220</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>363</x>
- <y>707</y> </coord>
- <coord>
-<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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Puta</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PutBranch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCheckDefault2NOTValid</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>GraphSwitchCheckDefault2NOTValid</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCheckDefault2NOTValid</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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCheckDefault2NOTValid1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCheckDefault2NOTValid1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>Default__a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Default__Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/1/2005 - 12:21:43</creation-date>
- <lastmodification-date>19/1/2005 - 12:16:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>19/1/2005 - 12:16:32</creation-date>
- <lastmodification-date>19/1/2005 - 12:16:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>415</x-position>
- <y-position>7</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>19/1/2005 - 12:16:32</creation-date>
- <lastmodification-date>19/1/2005 - 12:16:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>438</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:16:32</creation-date>
- <lastmodification-date>19/1/2005 - 12:16:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>415</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print_1(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:16:32</creation-date>
- <lastmodification-date>19/1/2005 - 12:16:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>423</x-position>
- <y-position>289</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EmptyNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>EmptyNode</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EmptyNode</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EmptyNode(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:16:32</creation-date>
- <lastmodification-date>19/1/2005 - 12:16:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>652</x-position>
- <y-position>110</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Default</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Default</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Default</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Default(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:16:32</creation-date>
- <lastmodification-date>19/1/2005 - 12:16:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>592</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>InitLoopSwitch</node-name>
- <kind>4</kind>
- <coupled-node>EndOfInitLoopSwitch</coupled-node>
- <service>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></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>19/1/2005 - 12:16:32</creation-date>
- <lastmodification-date>19/1/2005 - 12:16:32</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoopSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:16:32</creation-date>
- <lastmodification-date>19/1/2005 - 12:16:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1074</x-position>
- <y-position>194</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Negative or null" ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Even" ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Odd" ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),a,Branch,0 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:16:32</creation-date>
- <lastmodification-date>19/1/2005 - 12:16:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>190</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/1/2005 - 12:16:32</creation-date>
- <lastmodification-date>19/1/2005 - 12:16:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>882</x-position>
- <y-position>194</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EmptyNode</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>646</x>
- <y>78</y> </coord> </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>EmptyNode</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EmptyNode</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>Gate</fromserviceparameter-name>
- <tonode-name>EmptyNode</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>101</y> </coord>
- <coord>
-<x>401</x>
- <y>160</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>245</y> </coord>
- <coord>
-<x>401</x>
- <y>159</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>533</y> </coord>
- <coord>
-<x>392</x>
- <y>182</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>403</y> </coord>
- <coord>
-<x>392</x>
- <y>181</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>78</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>509</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>361</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>663</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>369</x>
- <y>381</y> </coord>
- <coord>
-<x>369</x>
- <y>219</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>370</x>
- <y>683</y> </coord>
- <coord>
-<x>370</x>
- <y>220</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>363</x>
- <y>707</y> </coord>
- <coord>
-<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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCheckDefault2NOTValid1</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>GraphSwitchCheckDefault2NOTValid1</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCheckDefault2NOTValid1</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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCheckDefault2NOTValid2_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCheckDefault2NOTValid2_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/1/2005 - 12:21:43</creation-date>
- <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/3/2005 - 16:55:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>415</x-position>
- <y-position>7</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/3/2005 - 16:55:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>438</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:55:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>415</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print_1(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:55:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>423</x-position>
- <y-position>289</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EmptyNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>EmptyNode</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EmptyNode</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EmptyNode(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:55:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>652</x-position>
- <y-position>110</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Default</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Default</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Default</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Default(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:55:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>592</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></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>8/3/2005 - 16:55:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoopSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <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>8/3/2005 - 16:55:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1074</x-position>
- <y-position>194</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Negative or null" ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Even" ]]></PyFunc>
- <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>8/3/2005 - 16:55:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>190</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:55:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>882</x-position>
- <y-position>194</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Puta</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Puta</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Puta</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Puta(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:55:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>653</x-position>
- <y-position>414</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PutBranch</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PutBranch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PutBranch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PutBranch(Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:55:59</creation-date>
- <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>662</x-position>
- <y-position>613</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EmptyNode</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>IsEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Puta</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PrintOdd</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>EmptyNode</tonode-name>
- <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>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EmptyNode</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>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Default</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Default</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PutBranch</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>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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <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>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>101</y> </coord>
- <coord>
-<x>401</x>
- <y>160</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>245</y> </coord>
- <coord>
-<x>401</x>
- <y>159</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>533</y> </coord>
- <coord>
-<x>392</x>
- <y>182</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>403</y> </coord>
- <coord>
-<x>392</x>
- <y>181</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>78</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>509</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>361</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>663</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>369</x>
- <y>381</y> </coord>
- <coord>
-<x>369</x>
- <y>219</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>370</x>
- <y>683</y> </coord>
- <coord>
-<x>370</x>
- <y>220</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>363</x>
- <y>707</y> </coord>
- <coord>
-<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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Puta</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PutBranch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCheckDefault2NOTValid2_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>GraphSwitchCheckDefault2NOTValid2_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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCheckDefault2NOTValid2_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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCheckNoDefault2</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCheckDefault2NOTValid2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/1/2005 - 12:21:43</creation-date>
- <lastmodification-date>14/2/2005 - 14:13:3</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>14/2/2005 - 14:13:3</creation-date>
- <lastmodification-date>14/2/2005 - 14:13:3</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>415</x-position>
- <y-position>7</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>14/2/2005 - 14:13:3</creation-date>
- <lastmodification-date>14/2/2005 - 14:13:3</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>438</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 14:13:3</creation-date>
- <lastmodification-date>14/2/2005 - 14:13:3</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>415</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PrintEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PrintEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Print_1(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",a,Branch ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 14:13:3</creation-date>
- <lastmodification-date>14/2/2005 - 14:13:3</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>423</x-position>
- <y-position>289</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EmptyNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>EmptyNode</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EmptyNode</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EmptyNode(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 14:13:3</creation-date>
- <lastmodification-date>14/2/2005 - 14:13:3</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>652</x-position>
- <y-position>110</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Default</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Default</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Default</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Default(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 14:13:3</creation-date>
- <lastmodification-date>14/2/2005 - 14:13:3</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>421</x-position>
- <y-position>592</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>InitLoopSwitch</node-name>
- <kind>4</kind>
- <coupled-node>EndOfInitLoopSwitch</coupled-node>
- <service>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></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>14/2/2005 - 14:13:3</creation-date>
- <lastmodification-date>14/2/2005 - 14:13:3</lastmodification-date>
- <editor-release>2.0</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoopSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <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>14/2/2005 - 14:13:3</creation-date>
- <lastmodification-date>14/2/2005 - 14:13:3</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1074</x-position>
- <y-position>194</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Negative or null" ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = "Even" ]]></PyFunc>
- <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>14/2/2005 - 14:13:3</creation-date>
- <lastmodification-date>14/2/2005 - 14:13:3</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>190</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 14:13:3</creation-date>
- <lastmodification-date>14/2/2005 - 14:13:3</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>882</x-position>
- <y-position>194</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Puta</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Puta</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Puta</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Puta(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 14:13:3</creation-date>
- <lastmodification-date>14/2/2005 - 14:13:3</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>665</x-position>
- <y-position>486</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>PutBranch</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>PutBranch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>PutBranch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def PutBranch(Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>14/2/2005 - 14:13:3</creation-date>
- <lastmodification-date>14/2/2005 - 14:13:3</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>662</x-position>
- <y-position>613</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EmptyNode</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EmptyNode</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>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>PutBranch</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>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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <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>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>101</y> </coord>
- <coord>
-<x>401</x>
- <y>160</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>401</x>
- <y>245</y> </coord>
- <coord>
-<x>401</x>
- <y>159</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>533</y> </coord>
- <coord>
-<x>392</x>
- <y>182</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>392</x>
- <y>403</y> </coord>
- <coord>
-<x>392</x>
- <y>181</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>78</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>509</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>361</y> </coord>
- <coord>
-<x>382</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>663</y> </coord>
- <coord>
-<x>382</x>
- <y>199</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintOdd</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>PrintEven</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>369</x>
- <y>381</y> </coord>
- <coord>
-<x>369</x>
- <y>219</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>370</x>
- <y>683</y> </coord>
- <coord>
-<x>370</x>
- <y>220</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>Default</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>363</x>
- <y>707</y> </coord>
- <coord>
-<x>362</x>
- <y>239</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>
-<fromnode-name>Puta</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>PutBranch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCheckNoDefault2</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>GraphSwitchCheckNoDefault2</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCheckNoDefault2</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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchCrash_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchCrash_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Switch__Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/10/2003 - 10:29:4</creation-date>
- <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (IsOdd)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:57:44</creation-date>
- <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>387</x-position>
- <y-position>58</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>InitLoopSwitch</node-name>
- <kind>4</kind>
- <coupled-node>EndOfInitLoopSwitch</coupled-node>
- <service>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>8/3/2005 - 16:57:44</creation-date>
- <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>129</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoopSwitch</node-name>
- <kind>5</kind>
- <coupled-node>InitLoopSwitch</coupled-node>
- <service>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:57:44</creation-date>
- <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>766</x-position>
- <y-position>127</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndOfSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>8/3/2005 - 16:57:44</creation-date>
- <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>186</x-position>
- <y-position>130</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:57:44</creation-date>
- <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>126</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a,Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (IsOdd_1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:57:44</creation-date>
- <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>417</x-position>
- <y-position>287</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>InitLoop</node-name>
- <kind>4</kind>
- <coupled-node>EndOfInitLoop</coupled-node>
- <service>
-<service-name>InitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>8/3/2005 - 16:57:44</creation-date>
- <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>388</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:57:44</creation-date>
- <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>783</x-position>
- <y-position>381</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch_1</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>8/3/2005 - 16:57:44</creation-date>
- <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>193</x-position>
- <y-position>388</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch_1</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 16:57:44</creation-date>
- <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>605</x-position>
- <y-position>382</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>572</x>
- <y>157</y> </coord>
- <coord>
-<x>572</x>
- <y>130</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoopSwitch</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>Switch</fromnode-name>
- <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>
-<coord>
-<x>365</x>
- <y>129</y> </coord>
- <coord>
-<x>365</x>
- <y>201</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </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>
-<fromnode-name>IsOdd_1</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>593</x>
- <y>411</y> </coord>
- <coord>
-<x>593</x>
- <y>358</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsOdd_1</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </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>
-<coord>
-<x>377</x>
- <y>358</y> </coord>
- <coord>
-<x>377</x>
- <y>460</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchCrash_1</fromnode-name>
- <fromserviceparameter-name>InitLoopSwitch__Index</fromserviceparameter-name>
- <tonode-name>InitLoopSwitch</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCrash_1</fromnode-name>
- <fromserviceparameter-name>InitLoopSwitch__Min</fromserviceparameter-name>
- <tonode-name>InitLoopSwitch</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCrash_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>23</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCrash_1</fromnode-name>
- <fromserviceparameter-name>InitLoop__Index</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCrash_1</fromnode-name>
- <fromserviceparameter-name>InitLoop__Min</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchCrash_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>31</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchErrExec</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitch_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/10/2003 - 17:23:54</creation-date>
- <lastmodification-date>5/7/2005 - 17:11: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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>5/7/2005 - 17:11:46</creation-date>
- <lastmodification-date>5/7/2005 - 17:11:46</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = 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 >= Min : ]]></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>5/7/2005 - 17:11:46</creation-date>
- <lastmodification-date>5/7/2005 - 17:11: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>EndOfInitLoopSwitch</node-name>
- <kind>5</kind>
- <coupled-node>InitLoopSwitch</coupled-node>
- <service>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>5/7/2005 - 17:11:46</creation-date>
- <lastmodification-date>5/7/2005 - 17:11:46</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>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>5/7/2005 - 17:11:46</creation-date>
- <lastmodification-date>5/7/2005 - 17:11:46</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>397</x-position>
- <y-position>279</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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 == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a ]]></PyFunc>
- <PyFunc><![CDATA[ if a < 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 1,1,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>5/7/2005 - 17:11:46</creation-date>
- <lastmodification-date>5/7/2005 - 17:11:46</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>195</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch_1</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>5/7/2005 - 17:11:46</creation-date>
- <lastmodification-date>5/7/2005 - 17:11:46</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>
- <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/> </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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<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>Switch</fromnode-name>
- <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>IsEven</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/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchErrExec</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>GraphSwitchErrExec</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchErrExec</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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchExecutable</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchExecutable</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>EndOfSwitch__Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>8/7/2005 - 14:55:5</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/7/2005 - 14:55:5</creation-date>
- <lastmodification-date>8/7/2005 - 14:55:5</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>8/7/2005 - 14:55:5</creation-date>
- <lastmodification-date>8/7/2005 - 14:55:5</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 14:55:5</creation-date>
- <lastmodification-date>8/7/2005 - 14:55:5</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>772</x-position>
- <y-position>132</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>i</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,a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 14:55:5</creation-date>
- <lastmodification-date>8/7/2005 - 14:55:5</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>k</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfSwitch</FuncName>
- <PyFunc><![CDATA[def EndOfSwitch( a , Even , k ) : ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 14:55:5</creation-date>
- <lastmodification-date>8/7/2005 - 14:55:5</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>581</x-position>
- <y-position>132</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/> </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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>Switch</fromnode-name>
- <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/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>i</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>k</toserviceparameter-name>
- <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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchExecutable</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>GraphSwitchExecutable</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>GraphSwitchExecutable</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>35</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchGates</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchGatesDefault</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>16/2/2005 - 10:40:8</creation-date>
- <lastmodification-date>16/2/2005 - 11:44:13</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>LoopGates</node-name>
- <kind>4</kind>
- <coupled-node>EndLoopGates</coupled-node>
- <service>
-<service-name>LoopGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>InitLoop</FuncName>
- <PyFunc><![CDATA[def InitLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,Min ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Max,Min ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>NextLoop</FuncName>
- <PyFunc><![CDATA[def NextLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index - 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,Min ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:33:14</creation-date>
- <lastmodification-date>16/2/2005 - 11:33:14</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>13</x-position>
- <y-position>236</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoopGates</node-name>
- <kind>5</kind>
- <coupled-node>LoopGates</coupled-node>
- <service>
-<service-name>EndLoopGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoopGates</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:33:14</creation-date>
- <lastmodification-date>16/2/2005 - 11:33:14</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>875</x-position>
- <y-position>216</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchGates</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitchGates</coupled-node>
- <service>
-<service-name>SwitchGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchGates</FuncName>
- <PyFunc><![CDATA[def SwitchGates(Index) : ]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if (Index & 1) == 1 : ]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if (Index & 1) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Even = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Odd,Even ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:33:14</creation-date>
- <lastmodification-date>16/2/2005 - 11:33:14</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>204</x-position>
- <y-position>236</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitchGates</node-name>
- <kind>7</kind>
- <coupled-node>SwitchGates</coupled-node>
- <service>
-<service-name>EndSwitchGates</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitchGates</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndSwitchGates() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:33:14</creation-date>
- <lastmodification-date>16/2/2005 - 11:33:14</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>648</x-position>
- <y-position>276</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:33:14</creation-date>
- <lastmodification-date>16/2/2005 - 11:33:14</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>424</x-position>
- <y-position>116</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:33:14</creation-date>
- <lastmodification-date>16/2/2005 - 11:33:14</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>428</x-position>
- <y-position>345</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchGates</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoopGates</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchGates</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchGates</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitchGates</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitchGates</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitchGates</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchGates</fromnode-name>
- <fromserviceparameter-name>LoopGates__Index</fromserviceparameter-name>
- <tonode-name>LoopGates</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>GraphSwitchGates</fromnode-name>
- <fromserviceparameter-name>LoopGates__Max</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>13</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchGates</fromnode-name>
- <fromserviceparameter-name>LoopGates__Min</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-7</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchGatesDefault</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchGatesDefault_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>16/2/2005 - 10:40:8</creation-date>
- <lastmodification-date>16/2/2005 - 11:46:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>LoopGates</node-name>
- <kind>4</kind>
- <coupled-node>EndLoopGates</coupled-node>
- <service>
-<service-name>LoopGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>InitLoop</FuncName>
- <PyFunc><![CDATA[def InitLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,Min ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Max,Min ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>NextLoop</FuncName>
- <PyFunc><![CDATA[def NextLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index - 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,Min ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:46:44</creation-date>
- <lastmodification-date>16/2/2005 - 11:46:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>13</x-position>
- <y-position>236</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoopGates</node-name>
- <kind>5</kind>
- <coupled-node>LoopGates</coupled-node>
- <service>
-<service-name>EndLoopGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoopGates</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:46:44</creation-date>
- <lastmodification-date>16/2/2005 - 11:46:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>875</x-position>
- <y-position>216</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchGates</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitchGates</coupled-node>
- <service>
-<service-name>SwitchGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchGates</FuncName>
- <PyFunc><![CDATA[def SwitchGates(Index) : ]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index > 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ if (Index & 1) == 1 : ]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if (Index & 1) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Even = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Odd,Even ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:46:44</creation-date>
- <lastmodification-date>16/2/2005 - 11:46:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>204</x-position>
- <y-position>236</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitchGates</node-name>
- <kind>7</kind>
- <coupled-node>SwitchGates</coupled-node>
- <service>
-<service-name>EndSwitchGates</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitchGates</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndSwitchGates() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:46:44</creation-date>
- <lastmodification-date>16/2/2005 - 11:46:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>648</x-position>
- <y-position>276</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:46:44</creation-date>
- <lastmodification-date>16/2/2005 - 11:46:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>424</x-position>
- <y-position>116</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:46:44</creation-date>
- <lastmodification-date>16/2/2005 - 11:46:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>428</x-position>
- <y-position>345</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchGates</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoopGates</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchGates</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchGates</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchGates</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitchGates</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitchGates</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitchGates</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitchGates</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchGatesDefault</fromnode-name>
- <fromserviceparameter-name>LoopGates__Index</fromserviceparameter-name>
- <tonode-name>LoopGates</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>GraphSwitchGatesDefault</fromnode-name>
- <fromserviceparameter-name>LoopGates__Max</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>13</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchGatesDefault</fromnode-name>
- <fromserviceparameter-name>LoopGates__Min</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-7</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchGatesNoDefaultAborted</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchGatesDefault_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>16/2/2005 - 10:40:8</creation-date>
- <lastmodification-date>16/2/2005 - 12:12:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>LoopGates</node-name>
- <kind>4</kind>
- <coupled-node>EndLoopGates</coupled-node>
- <service>
-<service-name>LoopGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>InitLoop</FuncName>
- <PyFunc><![CDATA[def InitLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,Min ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Max,Min ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>NextLoop</FuncName>
- <PyFunc><![CDATA[def NextLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index - 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,Min ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 12:12:25</creation-date>
- <lastmodification-date>16/2/2005 - 12:12:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>13</x-position>
- <y-position>236</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoopGates</node-name>
- <kind>5</kind>
- <coupled-node>LoopGates</coupled-node>
- <service>
-<service-name>EndLoopGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoopGates</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 12:12:25</creation-date>
- <lastmodification-date>16/2/2005 - 12:12:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>875</x-position>
- <y-position>216</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchGates</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitchGates</coupled-node>
- <service>
-<service-name>SwitchGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchGates</FuncName>
- <PyFunc><![CDATA[def SwitchGates(Index) : ]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index > 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ if (Index & 1) == 1 : ]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if (Index & 1) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Even = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Odd,Even ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 12:12:25</creation-date>
- <lastmodification-date>16/2/2005 - 12:12:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>204</x-position>
- <y-position>236</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitchGates</node-name>
- <kind>7</kind>
- <coupled-node>SwitchGates</coupled-node>
- <service>
-<service-name>EndSwitchGates</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitchGates</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndSwitchGates() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 12:12:25</creation-date>
- <lastmodification-date>16/2/2005 - 12:12:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>648</x-position>
- <y-position>276</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 12:12:25</creation-date>
- <lastmodification-date>16/2/2005 - 12:12:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>424</x-position>
- <y-position>116</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 12:12:25</creation-date>
- <lastmodification-date>16/2/2005 - 12:12:25</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>428</x-position>
- <y-position>345</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchGates</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoopGates</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchGates</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchGates</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitchGates</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitchGates</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitchGates</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchGatesNoDefaultAborted</fromnode-name>
- <fromserviceparameter-name>LoopGates__Index</fromserviceparameter-name>
- <tonode-name>LoopGates</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>GraphSwitchGatesNoDefaultAborted</fromnode-name>
- <fromserviceparameter-name>LoopGates__Max</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>13</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchGatesNoDefaultAborted</fromnode-name>
- <fromserviceparameter-name>LoopGates__Min</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-7</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchGatesdefaultBranch</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchGatesdefaultBranch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>16/2/2005 - 10:40:8</creation-date>
- <lastmodification-date>16/2/2005 - 15:13:4</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>LoopGates</node-name>
- <kind>4</kind>
- <coupled-node>EndLoopGates</coupled-node>
- <service>
-<service-name>LoopGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>InitLoop</FuncName>
- <PyFunc><![CDATA[def InitLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,Min ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Max,Min ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>NextLoop</FuncName>
- <PyFunc><![CDATA[def NextLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index - 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,Min ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 15:4:47</creation-date>
- <lastmodification-date>16/2/2005 - 15:4:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>13</x-position>
- <y-position>236</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoopGates</node-name>
- <kind>5</kind>
- <coupled-node>LoopGates</coupled-node>
- <service>
-<service-name>EndLoopGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoopGates</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 15:4:47</creation-date>
- <lastmodification-date>16/2/2005 - 15:4:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>875</x-position>
- <y-position>216</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchGates</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitchGates</coupled-node>
- <service>
-<service-name>SwitchGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>default</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchGates</FuncName>
- <PyFunc><![CDATA[def SwitchGates(Index) : ]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ default = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index > 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ if (Index & 1) == 1 : ]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if (Index & 1) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Even = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ default = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Odd,Even,default ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 15:4:47</creation-date>
- <lastmodification-date>16/2/2005 - 15:4:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>204</x-position>
- <y-position>236</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitchGates</node-name>
- <kind>7</kind>
- <coupled-node>SwitchGates</coupled-node>
- <service>
-<service-name>EndSwitchGates</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitchGates</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndSwitchGates() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 15:4:47</creation-date>
- <lastmodification-date>16/2/2005 - 15:4:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>647</x-position>
- <y-position>272</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 15:4:47</creation-date>
- <lastmodification-date>16/2/2005 - 15:4:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>424</x-position>
- <y-position>116</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 15:4:47</creation-date>
- <lastmodification-date>16/2/2005 - 15:4:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>428</x-position>
- <y-position>345</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>defaultNode</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>defaultNode</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>defaultNode</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def defaultNode() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 15:12:49</creation-date>
- <lastmodification-date>16/2/2005 - 15:12:49</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>425</x-position>
- <y-position>232</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchGates</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoopGates</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchGates</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchGates</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchGates</fromnode-name>
- <fromserviceparameter-name>default</fromserviceparameter-name>
- <tonode-name>defaultNode</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitchGates</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitchGates</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitchGates</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>defaultNode</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitchGates</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchGatesdefaultBranch</fromnode-name>
- <fromserviceparameter-name>LoopGates__Index</fromserviceparameter-name>
- <tonode-name>LoopGates</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>GraphSwitchGatesdefaultBranch</fromnode-name>
- <fromserviceparameter-name>LoopGates__Max</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>13</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchGatesdefaultBranch</fromnode-name>
- <fromserviceparameter-name>LoopGates__Min</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-7</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchGatesDefault</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchGatesDefault_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LoopGates__Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoopGates__Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>16/2/2005 - 10:40:8</creation-date>
- <lastmodification-date>16/2/2005 - 11:46:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>LoopGates</node-name>
- <kind>4</kind>
- <coupled-node>EndLoopGates</coupled-node>
- <service>
-<service-name>LoopGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>InitLoop</FuncName>
- <PyFunc><![CDATA[def InitLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,Min ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreLoop</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def MoreLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Max,Min ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>NextLoop</FuncName>
- <PyFunc><![CDATA[def NextLoop(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index - 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,Min ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:46:44</creation-date>
- <lastmodification-date>16/2/2005 - 11:46:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>13</x-position>
- <y-position>236</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoopGates</node-name>
- <kind>5</kind>
- <coupled-node>LoopGates</coupled-node>
- <service>
-<service-name>EndLoopGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoopGates</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:46:44</creation-date>
- <lastmodification-date>16/2/2005 - 11:46:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>875</x-position>
- <y-position>216</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>SwitchGates</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitchGates</coupled-node>
- <service>
-<service-name>SwitchGates</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>SwitchGates</FuncName>
- <PyFunc><![CDATA[def SwitchGates(Index) : ]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index > 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ if (Index & 1) == 1 : ]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if (Index & 1) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Even = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Odd,Even ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:46:44</creation-date>
- <lastmodification-date>16/2/2005 - 11:46:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>204</x-position>
- <y-position>236</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitchGates</node-name>
- <kind>7</kind>
- <coupled-node>SwitchGates</coupled-node>
- <service>
-<service-name>EndSwitchGates</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitchGates</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndSwitchGates() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:46:44</creation-date>
- <lastmodification-date>16/2/2005 - 11:46:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>648</x-position>
- <y-position>276</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsOdd</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsOdd</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:46:44</creation-date>
- <lastmodification-date>16/2/2005 - 11:46:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>424</x-position>
- <y-position>116</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsEven() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/2/2005 - 11:46:44</creation-date>
- <lastmodification-date>16/2/2005 - 11:46:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>428</x-position>
- <y-position>345</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>SwitchGates</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopGates</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoopGates</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchGates</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchGates</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SwitchGates</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitchGates</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitchGates</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndLoopGates</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitchGates</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitchGates</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchGatesDefault</fromnode-name>
- <fromserviceparameter-name>LoopGates__Index</fromserviceparameter-name>
- <tonode-name>LoopGates</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>GraphSwitchGatesDefault</fromnode-name>
- <fromserviceparameter-name>LoopGates__Max</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>13</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchGatesDefault</fromnode-name>
- <fromserviceparameter-name>LoopGates__Min</fromserviceparameter-name>
- <tonode-name>LoopGates</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-7</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchManyCases</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphSwitchManyCases_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>EndSwitch__f</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Switch__f</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>29/6/2005 - 16:32:43</creation-date>
- <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndLoop</coupled-node>
- <service>
- <service-name>Loop</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,Min ]]></PyFunc>
- </PyFunction>
- <PyFunction>
- <FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Max,Min ]]></PyFunc>
- </PyFunction>
- <PyFunction>
- <FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index - 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,Min ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>25/8/2005 - 12:41:10</creation-date>
- <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>15</x-position>
- <y-position>336</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
- <service-name>EndLoop</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>EndLoop</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>25/8/2005 - 12:41:10</creation-date>
- <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>972</x-position>
- <y-position>344</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
- <service-name>Switch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>SB1</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>SB2</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>b</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>c</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>d</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>e</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>f</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>Switch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Switch(Index) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ SB1 = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ SB2 = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if (Index & 3) == 3 : ]]></PyFunc>
- <PyFunc><![CDATA[ SB1 = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ elif (Index & 3) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ SB2 = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return SB1,SB2,Index,Index+1,Index+2,Index+3,Index+4,Index+5 ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>25/8/2005 - 12:41:10</creation-date>
- <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>232</x-position>
- <y-position>285</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
- <service-name>EndSwitch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>dd</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>e</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>f</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndSwitch(a,b,dd,e,f) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if b != (a+1) : ]]></PyFunc>
- <PyFunc><![CDATA[ print 'EndSwitch ERROR' ]]></PyFunc>
- <PyFunc><![CDATA[ pass ]]></PyFunc>
- <PyFunc><![CDATA[ if dd != (a+3) : ]]></PyFunc>
- <PyFunc><![CDATA[ print 'EndSwitch ERROR' ]]></PyFunc>
- <PyFunc><![CDATA[ pass ]]></PyFunc>
- <PyFunc><![CDATA[ if e != (a+4) : ]]></PyFunc>
- <PyFunc><![CDATA[ print 'EndSwitch ERROR' ]]></PyFunc>
- <PyFunc><![CDATA[ pass ]]></PyFunc>
- <PyFunc><![CDATA[ if f != (a+5) : ]]></PyFunc>
- <PyFunc><![CDATA[ print 'EndSwitch ERROR' ]]></PyFunc>
- <PyFunc><![CDATA[ pass ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>25/8/2005 - 12:41:10</creation-date>
- <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>732</x-position>
- <y-position>344</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Case1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Case1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>Case1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Case1(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>25/8/2005 - 12:41:10</creation-date>
- <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>448</x-position>
- <y-position>13</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Case3</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Case3</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>b</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>Case3</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Case3(b) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return b ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>25/8/2005 - 12:41:10</creation-date>
- <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>458</x-position>
- <y-position>286</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Case4</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Case4</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>c</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list/>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>Case4</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Case4(c) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>25/8/2005 - 12:41:10</creation-date>
- <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>459</x-position>
- <y-position>493</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Case2a</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Case2a</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>Case2a</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Case2a(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>25/8/2005 - 12:41:10</creation-date>
- <lastmodification-date>25/8/2005 - 12:41:10</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>453</x-position>
- <y-position>154</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>Switch</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>EndLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>SB1</fromserviceparameter-name>
- <tonode-name>Case1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>SB2</fromserviceparameter-name>
- <tonode-name>Case2a</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Case1</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Case2a</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>b</fromserviceparameter-name>
- <tonode-name>Case3</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>c</fromserviceparameter-name>
- <tonode-name>Case4</tonode-name>
- <toserviceparameter-name>c</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>d</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>dd</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>e</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>e</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Case1</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Case3</fromnode-name>
- <fromserviceparameter-name>b</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Case4</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Case2a</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>GraphSwitchManyCases</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphSwitchManyCases</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>23</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphSwitchManyCases</fromnode-name>
- <fromserviceparameter-name>Loop__Min</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>-7</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchManyCasesNOTValid</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchManyCases_1_1_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>EndSwitch__f</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Switch__f</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>29/6/2005 - 16:32:43</creation-date>
- <lastmodification-date>8/7/2005 - 15:6:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,Min ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ if Index >= Min : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Max,Min ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Max,Min) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index - 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max,Min ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 15:6:33</creation-date>
- <lastmodification-date>8/7/2005 - 15:6:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>15</x-position>
- <y-position>336</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoop</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 15:6:33</creation-date>
- <lastmodification-date>8/7/2005 - 15:6:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>972</x-position>
- <y-position>344</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>SB1</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>SB2</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>b</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>c</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>d</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>e</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>f</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Switch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Switch(Index) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ SB1 = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ SB2 = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if (Index & 3) == 3 : ]]></PyFunc>
- <PyFunc><![CDATA[ SB1 = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ elif (Index & 3) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ SB2 = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return SB1,SB2,Index,Index+1,Index+2,Index+3,Index+4,Index+5 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 15:6:33</creation-date>
- <lastmodification-date>8/7/2005 - 15:6:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>232</x-position>
- <y-position>285</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>dd</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>e</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>f</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def EndSwitch(a,b,dd,e,f) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ if b != (a+1) : ]]></PyFunc>
- <PyFunc><![CDATA[ print 'EndSwitch ERROR' ]]></PyFunc>
- <PyFunc><![CDATA[ pass ]]></PyFunc>
- <PyFunc><![CDATA[ if dd != (a+3) : ]]></PyFunc>
- <PyFunc><![CDATA[ print 'EndSwitch ERROR' ]]></PyFunc>
- <PyFunc><![CDATA[ pass ]]></PyFunc>
- <PyFunc><![CDATA[ if e != (a+4) : ]]></PyFunc>
- <PyFunc><![CDATA[ print 'EndSwitch ERROR' ]]></PyFunc>
- <PyFunc><![CDATA[ pass ]]></PyFunc>
- <PyFunc><![CDATA[ if f != (a+5) : ]]></PyFunc>
- <PyFunc><![CDATA[ print 'EndSwitch ERROR' ]]></PyFunc>
- <PyFunc><![CDATA[ pass ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 15:6:33</creation-date>
- <lastmodification-date>8/7/2005 - 15:6:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>732</x-position>
- <y-position>344</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Case1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Case1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Case1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Case1(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 15:6:33</creation-date>
- <lastmodification-date>8/7/2005 - 15:6:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>448</x-position>
- <y-position>13</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Case3</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Case3</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>b</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Case3</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Case3(b) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return b ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 15:6:33</creation-date>
- <lastmodification-date>8/7/2005 - 15:6:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>461</x-position>
- <y-position>500</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Case4</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Case4</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>c</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Case4</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Case4(c) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 15:6:33</creation-date>
- <lastmodification-date>8/7/2005 - 15:6:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>455</x-position>
- <y-position>647</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Case2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Case2</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Case2</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Case2() : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 15:6:33</creation-date>
- <lastmodification-date>8/7/2005 - 15:6:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>455</x-position>
- <y-position>179</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Case2a</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Case2a</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Case2a</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Case2a(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 15:6:33</creation-date>
- <lastmodification-date>8/7/2005 - 15:6:33</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>456</x-position>
- <y-position>304</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>Switch</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>SB1</fromserviceparameter-name>
- <tonode-name>Case1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>SB2</fromserviceparameter-name>
- <tonode-name>Case2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>SB2</fromserviceparameter-name>
- <tonode-name>Case2a</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Case1</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Case2a</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>b</fromserviceparameter-name>
- <tonode-name>Case3</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>c</fromserviceparameter-name>
- <tonode-name>Case4</tonode-name>
- <toserviceparameter-name>c</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>d</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>dd</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>e</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>e</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Case1</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Case3</fromnode-name>
- <fromserviceparameter-name>b</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>b</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Case4</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Case2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Case2a</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchManyCasesNOTValid</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</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>GraphSwitchManyCasesNOTValid</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>23</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchManyCasesNOTValid</fromnode-name>
- <fromserviceparameter-name>Loop__Min</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>-7</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchNOTExecutable</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitch_3</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>22/6/2005 - 16:49:45</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>22/6/2005 - 16:49:45</creation-date>
- <lastmodification-date>22/6/2005 - 16:49:45</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>22/6/2005 - 16:49:45</creation-date>
- <lastmodification-date>22/6/2005 - 16:49:45</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>22/6/2005 - 16:49:45</creation-date>
- <lastmodification-date>22/6/2005 - 16:49:45</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>n</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>22/6/2005 - 16:49:45</creation-date>
- <lastmodification-date>22/6/2005 - 16:49:45</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>22/6/2005 - 16:49:45</creation-date>
- <lastmodification-date>22/6/2005 - 16:49:45</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>
-<coord>
-<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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>Switch</fromnode-name>
- <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>n</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>371</x>
- <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/> </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>
-<data>
-<fromnode-name>GraphSwitchNOTExecutable</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>GraphSwitchNOTExecutable</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>GraphSwitchNOTExecutable</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-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchNOTExecutable1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchExecutable_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>22/6/2005 - 16:57:22</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>22/6/2005 - 16:57:22</creation-date>
- <lastmodification-date>22/6/2005 - 16:57:22</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>22/6/2005 - 16:57:22</creation-date>
- <lastmodification-date>22/6/2005 - 16:57:22</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>22/6/2005 - 16:57:22</creation-date>
- <lastmodification-date>22/6/2005 - 16:57:22</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>n</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>22/6/2005 - 16:57:22</creation-date>
- <lastmodification-date>22/6/2005 - 16:57:22</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>22/6/2005 - 16:57:22</creation-date>
- <lastmodification-date>22/6/2005 - 16:57:22</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>
-<coord>
-<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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>Switch</fromnode-name>
- <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>n</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>371</x>
- <y>136</y> </coord>
- <coord>
-<x>371</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchNOTExecutable1</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>GraphSwitchNOTExecutable1</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>GraphSwitchNOTExecutable1</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-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchNOTExecutable2</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchExecutable</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>EndOfSwitch__Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>23/6/2005 - 10:53:15</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>23/6/2005 - 10:53:15</creation-date>
- <lastmodification-date>23/6/2005 - 10:53:15</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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<FuncName>NextLoop</FuncName>
- <PyFunc><![CDATA[def NextLoop(Index,Min,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>23/6/2005 - 10:53:15</creation-date>
- <lastmodification-date>23/6/2005 - 10:53:15</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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>23/6/2005 - 10:53:15</creation-date>
- <lastmodification-date>23/6/2005 - 10:53:15</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>772</x-position>
- <y-position>132</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>n</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Switch</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def Switch(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>23/6/2005 - 10:53:15</creation-date>
- <lastmodification-date>23/6/2005 - 10:53:15</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>k</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>23/6/2005 - 10:53:15</creation-date>
- <lastmodification-date>23/6/2005 - 10:53:15</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>581</x-position>
- <y-position>132</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/> </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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>Switch</fromnode-name>
- <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>n</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>371</x>
- <y>136</y> </coord>
- <coord>
-<x>371</x>
- <y>200</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>n</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>k</toserviceparameter-name>
- <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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchNOTExecutable2</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>GraphSwitchNOTExecutable2</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>GraphSwitchNOTExecutable2</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-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitch_1_1_2</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitch_1_1_2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Switch__default</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Print__Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Print_1__Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/10/2003 - 17:23:54</creation-date>
- <lastmodification-date>20/1/2005 - 13:2:4</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <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>
- <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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = 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 >= Min : ]]></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>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>
- <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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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 - 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>
- <comment>Compute Node</comment>
- <x-position>1082</x-position>
- <y-position>150</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsEven</FuncName>
- <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>
- <comment>Compute Node</comment>
- <x-position>395</x-position>
- <y-position>334</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ Branch = 'Negative or null' ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = 'Even' ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = 'Odd' ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a & 1,1-(a&1),a,Branch,0 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/1/2005 - 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>
- <comment>Compute Node</comment>
- <x-position>195</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch_1</FuncName>
- <PyFunc><![CDATA[?]]></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>
- <comment>Compute Node</comment>
- <x-position>880</x-position>
- <y-position>150</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Print</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Print</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print</FuncName>
- <PyFunc><![CDATA[def Print(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",Branch ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/1/2005 - 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>
- <comment>Compute Node</comment>
- <x-position>639</x-position>
- <y-position>63</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Print_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Print_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <PyFunc><![CDATA[def Print_1(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",Branch ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/1/2005 - 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>
- <comment>Compute Node</comment>
- <x-position>639</x-position>
- <y-position>263</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Print</tonode-name>
- <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>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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>EndOfInitLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoopSwitch</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Print_1</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>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</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/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-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>IsEven</tonode-name>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Print</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Print_1</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitch_1_1_2</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>GraphSwitch_1_1_2</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitch_1_1_2</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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSwitchOutputNOTValid</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSwitchOutputNOTValid</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name> </inParameter>
- <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>EndOfInitLoopSwitch__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>Switch__default</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Print__Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Print_1__Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/10/2003 - 17:23:54</creation-date>
- <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/3/2005 - 17:1:28</creation-date>
- <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <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>
-<service-name>InitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = 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 >= Min : ]]></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>8/3/2005 - 17:1:28</creation-date>
- <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <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>
-<service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 17:1:28</creation-date>
- <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1082</x-position>
- <y-position>150</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>IsEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>IsEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>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>8/3/2005 - 17:1:28</creation-date>
- <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>432</x-position>
- <y-position>337</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>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>default</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[ Branch = 'Negative or null' ]]></PyFunc>
- <PyFunc><![CDATA[ if a <= 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,0,a,Branch,1 ]]></PyFunc>
- <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
- <PyFunc><![CDATA[ Branch = 'Even' ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <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>8/3/2005 - 17:1:28</creation-date>
- <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>195</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>
-<service-name>EndOfSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch_1</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 17:1:28</creation-date>
- <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>880</x-position>
- <y-position>150</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Print</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Print</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print</FuncName>
- <PyFunc><![CDATA[def Print(a,Branch) : ]]></PyFunc>
- <PyFunc><![CDATA[ print "Print ",Branch ]]></PyFunc>
- <PyFunc><![CDATA[ return a,Branch ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/3/2005 - 17:1:28</creation-date>
- <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>639</x-position>
- <y-position>50</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Print_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Print_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>Branch</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>Branch</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Print_1</FuncName>
- <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>8/3/2005 - 17:1:28</creation-date>
- <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>645</x-position>
- <y-position>250</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Print</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
-<fromnode-name>IsEven</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>Print_1</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>IsEven</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/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsEven</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Branch</fromserviceparameter-name>
- <tonode-name>Print</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>
- <toserviceparameter-name>Branch</toserviceparameter-name>
- <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>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Print</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Print_1</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSwitchOutputNOTValid</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>GraphSwitchOutputNOTValid</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>-5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSwitchOutputNOTValid</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>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <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-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoopSwitch__Max</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>int</outParameter-type>
- <outParameter-name>Switch__Even</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/10/2003 - 10:29:4</creation-date>
- <lastmodification-date>6/9/2005 - 11:18:10</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>
- <service-name>IsOdd</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>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>6/9/2005 - 11:18:10</creation-date>
- <lastmodification-date>6/9/2005 - 11:18:10</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>
- <service-name>InitLoopSwitch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <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>
- <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>
- <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>6/9/2005 - 11:18:10</creation-date>
- <lastmodification-date>6/9/2005 - 11:18:10</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>
- <service-name>EndOfInitLoopSwitch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>6/9/2005 - 11:18:10</creation-date>
- <lastmodification-date>6/9/2005 - 11:18:10</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>
- <service-name>Switch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>int</outParameter-type>
- <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>6/9/2005 - 11:18:10</creation-date>
- <lastmodification-date>6/9/2005 - 11:18:10</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>186</x-position>
- <y-position>130</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
- <service-name>EndOfSwitch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>6/9/2005 - 11:18:10</creation-date>
- <lastmodification-date>6/9/2005 - 11:18:10</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>
- <service-name>IsOdd_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>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>6/9/2005 - 11:18:10</creation-date>
- <lastmodification-date>6/9/2005 - 11:18:10</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>
- <service-name>InitLoop</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <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>
- <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>
- <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>6/9/2005 - 11:18:10</creation-date>
- <lastmodification-date>6/9/2005 - 11:18:10</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>
- <service-name>EndOfInitLoop</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>6/9/2005 - 11:18:10</creation-date>
- <lastmodification-date>6/9/2005 - 11:18:10</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>
- <service-name>Switch_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>int</outParameter-type>
- <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>6/9/2005 - 11:18:10</creation-date>
- <lastmodification-date>6/9/2005 - 11:18:10</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>
- <service-name>EndSwitch</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>6/9/2005 - 11:18:10</creation-date>
- <lastmodification-date>6/9/2005 - 11:18:10</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>
- <coord>
- <x>573</x>
- <y>160</y>
- </coord>
- <coord>
- <x>572</x>
- <y>130</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>InitLoopSwitch</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInitLoopSwitch</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
- <fromnode-name>InitLoopSwitch</fromnode-name>
- <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>
- <fromnode-name>Switch</fromnode-name>
- <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>
- <coord>
- <x>365</x>
- <y>129</y>
- </coord>
- <coord>
- <x>365</x>
- <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>
- <coord>
- <x>572</x>
- <y>194</y>
- </coord>
- <coord>
- <x>571</x>
- <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>
- <fromnode-name>IsOdd_1</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>599</x>
- <y>416</y>
- </coord>
- <coord>
- <x>598</x>
- <y>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>
- <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>
- <fromnode-name>InitLoop</fromnode-name>
- <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>
- <fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>Switch_1</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>IsOdd_1</tonode-name>
- <toserviceparameter-name>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>
- <fromnode-name>Switch_1</fromnode-name>
- <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>
- <x>378</x>
- <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>
- <data>
- <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_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_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>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_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_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>20</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSyrControl</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSyrControl</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__KB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>test__Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch_OneEven__Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch_OneEven__K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 18:34:21</creation-date>
- <lastmodification-date>6/7/2005 - 10:21:5</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>test_ISEVEN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISEVEN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:21:5</creation-date>
- <lastmodification-date>6/7/2005 - 10:21:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISEVEN from SyrComponent</comment>
- <x-position>190</x-position>
- <y-position>338</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>test_ISONE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISONE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolOne</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:21:5</creation-date>
- <lastmodification-date>6/7/2005 - 10:21:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISONE from SyrComponent</comment>
- <x-position>196</x-position>
- <y-position>131</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>m3p1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_M3P1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>anEvenInteger</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:21:5</creation-date>
- <lastmodification-date>6/7/2005 - 10:21:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_M3P1 from SyrComponent</comment>
- <x-position>788</x-position>
- <y-position>22</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>
-<service-name>C_DIV2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:21:5</creation-date>
- <lastmodification-date>6/7/2005 - 10:21:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_DIV2 from SyrComponent</comment>
- <x-position>794</x-position>
- <y-position>427</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>incr</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:21:5</creation-date>
- <lastmodification-date>6/7/2005 - 10:21:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_INCR from SyrComponent</comment>
- <x-position>790</x-position>
- <y-position>158</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_begin</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_begin</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_begin</FuncName>
- <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>6/7/2005 - 10:21:5</creation-date>
- <lastmodification-date>6/7/2005 - 10:21:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>7</x-position>
- <y-position>216</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_test</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_test</FuncName>
- <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>6/7/2005 - 10:21:5</creation-date>
- <lastmodification-date>6/7/2005 - 10:21:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>385</x-position>
- <y-position>159</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>test</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch_OneEven</coupled-node>
- <service>
-<service-name>test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Switch_OneEven</FuncName>
- <PyFunc><![CDATA[def Switch_OneEven( ValOne , ValEven , NT , KT ) :]]></PyFunc>
- <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
- <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0]]></PyFunc>
- <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>6/7/2005 - 10:21:5</creation-date>
- <lastmodification-date>6/7/2005 - 10:21:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>592</x-position>
- <y-position>205</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch_OneEven</node-name>
- <kind>7</kind>
- <coupled-node>test</coupled-node>
- <service>
-<service-name>EndSwitch_OneEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Finished</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch_OneEven</FuncName>
- <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>6/7/2005 - 10:21:5</creation-date>
- <lastmodification-date>6/7/2005 - 10:21:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1065</x-position>
- <y-position>321</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_m3p1</node-name>
- <kind>8</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>control_m3p1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>control_m3p1</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def control_m3p1( N , K ): ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,1,N,K ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 10:21:5</creation-date>
- <lastmodification-date>6/7/2005 - 10:21:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1012</x-position>
- <y-position>68</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_div2</node-name>
- <kind>8</kind>
- <coupled-node>label_begin</coupled-node>
- <service>
-<service-name>control_div2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KB</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>control_div2</FuncName>
- <PyFunc><![CDATA[from time import * ]]></PyFunc>
- <PyFunc><![CDATA[def control_div2( N , NB ) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return N,NB ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 10:21:5</creation-date>
- <lastmodification-date>6/7/2005 - 10:21:5</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1010</x-position>
- <y-position>473</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>test_ISEVEN</fromnode-name>
- <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>380</x>
- <y>236</y> </coord>
- <coord>
-<x>379</x>
- <y>419</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test_ISONE</fromnode-name>
- <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValOne</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>367</x>
- <y>269</y> </coord>
- <coord>
-<x>367</x>
- <y>213</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>m3p1</fromnode-name>
- <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>div2</fromnode-name>
- <fromserviceparameter-name>anInteger</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>978</x>
- <y>132</y> </coord>
- <coord>
-<x>978</x>
- <y>239</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>979</x>
- <y>536</y> </coord>
- <coord>
-<x>978</x>
- <y>240</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISEVEN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>184</x>
- <y>416</y> </coord>
- <coord>
-<x>185</x>
- <y>298</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISONE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>186</x>
- <y>211</y> </coord>
- <coord>
-<x>185</x>
- <y>297</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>ValEven</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <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/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Finished</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>Finished</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>764</x>
- <y>536</y> </coord>
- <coord>
-<x>763</x>
- <y>297</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>773</x>
- <y>133</y> </coord>
- <coord>
-<x>773</x>
- <y>326</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>753</x>
- <y>102</y> </coord>
- <coord>
-<x>752</x>
- <y>355</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>753</x>
- <y>508</y> </coord>
- <coord>
-<x>752</x>
- <y>356</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>incr</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>779</x>
- <y>239</y> </coord>
- <coord>
-<x>780</x>
- <y>385</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>control_m3p1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>373</x>
- <y>354</y> </coord>
- <coord>
-<x>372</x>
- <y>10</y> </coord>
- <coord>
-<x>1180</x>
- <y>9</y> </coord>
- <coord>
-<x>1181</x>
- <y>217</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_div2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>5</x>
- <y>355</y> </coord>
- <coord>
-<x>4</x>
- <y>608</y> </coord>
- <coord>
-<x>1177</x>
- <y>608</y> </coord>
- <coord>
-<x>1177</x>
- <y>563</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSyrControl</fromnode-name>
- <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>NB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>7</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControl</fromnode-name>
- <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>KB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSyrControl1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSyrControlGUI</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__KB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>label_test__Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>label_test__Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 18:28:48</creation-date>
- <lastmodification-date>6/7/2005 - 10:7:41</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>test_ISEVEN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISEVEN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:7:41</creation-date>
- <lastmodification-date>6/7/2005 - 10:7:41</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISEVEN from SyrComponent</comment>
- <x-position>190</x-position>
- <y-position>338</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>test_ISONE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISONE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolOne</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:7:41</creation-date>
- <lastmodification-date>6/7/2005 - 10:7:41</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISONE from SyrComponent</comment>
- <x-position>196</x-position>
- <y-position>131</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>m3p1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_M3P1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>anEvenInteger</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:7:41</creation-date>
- <lastmodification-date>6/7/2005 - 10:7:41</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_M3P1 from SyrComponent</comment>
- <x-position>615</x-position>
- <y-position>30</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>
-<service-name>C_DIV2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:7:41</creation-date>
- <lastmodification-date>6/7/2005 - 10:7:41</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_DIV2 from SyrComponent</comment>
- <x-position>624</x-position>
- <y-position>391</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>incr</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:7:41</creation-date>
- <lastmodification-date>6/7/2005 - 10:7:41</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_INCR from SyrComponent</comment>
- <x-position>623</x-position>
- <y-position>206</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_begin</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_begin</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_begin</FuncName>
- <PyFunc><![CDATA[def label_begin( NB , KB ) :]]></PyFunc>
- <PyFunc><![CDATA[ return NB,KB]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 10:7:41</creation-date>
- <lastmodification-date>6/7/2005 - 10:7:41</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>5</x-position>
- <y-position>190</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_test</node-name>
- <kind>6</kind>
- <coupled-node>EndL_OneEven</coupled-node>
- <service>
-<service-name>label_test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>L_OneEven</FuncName>
- <PyFunc><![CDATA[def L_OneEven( ValOne , ValEven , NT , KT ):]]></PyFunc>
- <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
- <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0]]></PyFunc>
- <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>6/7/2005 - 10:7:41</creation-date>
- <lastmodification-date>6/7/2005 - 10:7:41</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>399</x-position>
- <y-position>177</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndL_OneEven</node-name>
- <kind>7</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>EndL_OneEven</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 10:7:41</creation-date>
- <lastmodification-date>6/7/2005 - 10:7:41</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1017</x-position>
- <y-position>247</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_m3p1</node-name>
- <kind>8</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>control_m3p1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>C_NotOneIsEven</FuncName>
- <PyFunc><![CDATA[def C_NotOneIsEven( N , K ):]]></PyFunc>
- <PyFunc><![CDATA[ return 0,1,N,K]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 10:7:41</creation-date>
- <lastmodification-date>6/7/2005 - 10:7:41</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>821</x-position>
- <y-position>28</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_div2</node-name>
- <kind>8</kind>
- <coupled-node>label_begin</coupled-node>
- <service>
-<service-name>control_div2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KB</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>control_div2</FuncName>
- <PyFunc><![CDATA[def control_div2( N , K ) :]]></PyFunc>
- <PyFunc><![CDATA[ return N,K]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 10:7:41</creation-date>
- <lastmodification-date>6/7/2005 - 10:7:41</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>818</x-position>
- <y-position>358</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>test_ISEVEN</fromnode-name>
- <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>383</x>
- <y>239</y> </coord>
- <coord>
-<x>382</x>
- <y>417</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test_ISONE</fromnode-name>
- <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValOne</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>m3p1</fromnode-name>
- <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>793</x>
- <y>62</y> </coord>
- <coord>
-<x>792</x>
- <y>111</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>div2</fromnode-name>
- <fromserviceparameter-name>anInteger</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>797</x>
- <y>392</y> </coord>
- <coord>
-<x>798</x>
- <y>471</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>809</x>
- <y>420</y> </coord>
- <coord>
-<x>808</x>
- <y>288</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>807</x>
- <y>91</y> </coord>
- <coord>
-<x>808</x>
- <y>286</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISONE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>180</x>
- <y>211</y> </coord>
- <coord>
-<x>179</x>
- <y>269</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISEVEN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>179</x>
- <y>417</y> </coord>
- <coord>
-<x>179</x>
- <y>271</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>583</x>
- <y>500</y> </coord>
- <coord>
-<x>582</x>
- <y>269</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>571</x>
- <y>138</y> </coord>
- <coord>
-<x>573</x>
- <y>298</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>604</x>
- <y>110</y> </coord>
- <coord>
-<x>605</x>
- <y>328</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>606</x>
- <y>471</y> </coord>
- <coord>
-<x>605</x>
- <y>328</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>incr</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>594</x>
- <y>287</y> </coord>
- <coord>
-<x>595</x>
- <y>356</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1008</x>
- <y>281</y> </coord>
- <coord>
-<x>1008</x>
- <y>560</y> </coord>
- <coord>
-<x>565</x>
- <y>559</y> </coord>
- <coord>
-<x>564</x>
- <y>385</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_m3p1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>368</x>
- <y>327</y> </coord>
- <coord>
-<x>369</x>
- <y>7</y> </coord>
- <coord>
-<x>1009</x>
- <y>8</y> </coord>
- <coord>
-<x>1009</x>
- <y>179</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_div2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>3</x>
- <y>327</y> </coord>
- <coord>
-<x>2</x>
- <y>582</y> </coord>
- <coord>
-<x>991</x>
- <y>583</y> </coord>
- <coord>
-<x>991</x>
- <y>451</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSyrControl1</fromnode-name>
- <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>NB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>7</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControl1</fromnode-name>
- <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>KB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSyrControlAborted</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSyrControl</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__KB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>test__Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch_OneEven__Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch_OneEven__K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 18:34:21</creation-date>
- <lastmodification-date>15/2/2005 - 11:29:21</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>test_ISEVEN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISEVEN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>15/2/2005 - 11:4:0</creation-date>
- <lastmodification-date>15/2/2005 - 11:4:0</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISEVEN from SyrComponent</comment>
- <x-position>190</x-position>
- <y-position>338</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>test_ISONE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISONE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolOne</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>15/2/2005 - 11:4:1</creation-date>
- <lastmodification-date>15/2/2005 - 11:4:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISONE from SyrComponent</comment>
- <x-position>196</x-position>
- <y-position>131</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>m3p1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_M3P1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>anEvenInteger</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>15/2/2005 - 11:4:1</creation-date>
- <lastmodification-date>15/2/2005 - 11:4:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_M3P1 from SyrComponent</comment>
- <x-position>788</x-position>
- <y-position>22</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>
-<service-name>C_DIV2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>15/2/2005 - 11:4:1</creation-date>
- <lastmodification-date>15/2/2005 - 11:4:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_DIV2 from SyrComponent</comment>
- <x-position>794</x-position>
- <y-position>427</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>incr</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>15/2/2005 - 11:4:1</creation-date>
- <lastmodification-date>15/2/2005 - 11:4:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_INCR from SyrComponent</comment>
- <x-position>790</x-position>
- <y-position>158</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_begin</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_begin</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_begin</FuncName>
- <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>15/2/2005 - 11:4:1</creation-date>
- <lastmodification-date>15/2/2005 - 11:4:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>8</x-position>
- <y-position>205</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_test</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_test</FuncName>
- <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>15/2/2005 - 11:4:1</creation-date>
- <lastmodification-date>15/2/2005 - 11:4:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>165</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>test</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch_OneEven</coupled-node>
- <service>
-<service-name>test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Switch_OneEven</FuncName>
- <PyFunc><![CDATA[def Switch_OneEven( ValOne , ValEven , NT , KT ) :]]></PyFunc>
- <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
- <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0]]></PyFunc>
- <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>15/2/2005 - 11:4:1</creation-date>
- <lastmodification-date>15/2/2005 - 11:4:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>575</x-position>
- <y-position>205</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch_OneEven</node-name>
- <kind>7</kind>
- <coupled-node>test</coupled-node>
- <service>
-<service-name>EndSwitch_OneEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Finished</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch_OneEven</FuncName>
- <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>15/2/2005 - 11:4:1</creation-date>
- <lastmodification-date>15/2/2005 - 11:4:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1065</x-position>
- <y-position>356</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_m3p1</node-name>
- <kind>8</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>control_m3p1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<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>15/2/2005 - 11:4:1</creation-date>
- <lastmodification-date>15/2/2005 - 11:4:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1013</x-position>
- <y-position>63</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_div2</node-name>
- <kind>8</kind>
- <coupled-node>label_begin</coupled-node>
- <service>
-<service-name>control_div2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KB</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>control_div2</FuncName>
- <PyFunc><![CDATA[def control_div2( N , NB ) :]]></PyFunc>
- <PyFunc><![CDATA[ return N,NB]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>15/2/2005 - 11:4:1</creation-date>
- <lastmodification-date>15/2/2005 - 11:4:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1010</x-position>
- <y-position>473</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>test_ISEVEN</fromnode-name>
- <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>234</y> </coord>
- <coord>
-<x>381</x>
- <y>410</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test_ISONE</fromnode-name>
- <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValOne</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>367</x>
- <y>256</y> </coord>
- <coord>
-<x>367</x>
- <y>201</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>m3p1</fromnode-name>
- <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>div2</fromnode-name>
- <fromserviceparameter-name>anInteger</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>978</x>
- <y>114</y> </coord>
- <coord>
-<x>978</x>
- <y>230</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>981</x>
- <y>524</y> </coord>
- <coord>
-<x>978</x>
- <y>229</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISEVEN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>179</x>
- <y>408</y> </coord>
- <coord>
-<x>179</x>
- <y>276</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISONE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>179</x>
- <y>203</y> </coord>
- <coord>
-<x>180</x>
- <y>275</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>ValEven</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <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/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Finished</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>Finished</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>763</x>
- <y>522</y> </coord>
- <coord>
-<x>763</x>
- <y>278</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>772</x>
- <y>117</y> </coord>
- <coord>
-<x>772</x>
- <y>297</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>751</x>
- <y>93</y> </coord>
- <coord>
-<x>752</x>
- <y>317</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>751</x>
- <y>498</y> </coord>
- <coord>
-<x>752</x>
- <y>318</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>incr</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>779</x>
- <y>229</y> </coord>
- <coord>
-<x>779</x>
- <y>336</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_m3p1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>374</x>
- <y>321</y> </coord>
- <coord>
-<x>374</x>
- <y>15</y> </coord>
- <coord>
-<x>1180</x>
- <y>9</y> </coord>
- <coord>
-<x>1181</x>
- <y>217</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_div2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>4</x>
- <y>608</y> </coord>
- <coord>
-<x>1184</x>
- <y>604</y> </coord>
- <coord>
-<x>1184</x>
- <y>548</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSyrControlAborted</fromnode-name>
- <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>NB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>7</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAborted</fromnode-name>
- <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>KB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSyrControlAve</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSyrControlAveNOTExecutable_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__KB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__MINB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__MAXB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>label_begin__AVERAGEB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>EndL_OneEven__MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>EndL_OneEven__MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>EndL_OneEven__AVERAGET</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>label_test__Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>label_test__Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>label_test__AVERAGET</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndL_OneEven__MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndL_OneEven__MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>EndL_OneEven__AVERAGE</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>2/10/2003 - 11:17:14</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</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>test_ISEVEN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISEVEN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 11:35:16</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISEVEN from SyrComponent</comment>
- <x-position>370</x-position>
- <y-position>455</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>test_ISONE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISONE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolOne</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 11:35:16</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISONE from SyrComponent</comment>
- <x-position>370</x-position>
- <y-position>127</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>m3p1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_M3P1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>anEvenInteger</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 11:35:16</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_M3P1 from SyrComponent</comment>
- <x-position>789</x-position>
- <y-position>0</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>
-<service-name>C_DIV2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 11:35:16</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_DIV2 from SyrComponent</comment>
- <x-position>789</x-position>
- <y-position>255</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>incr</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 11:35:16</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_INCR from SyrComponent</comment>
- <x-position>790</x-position>
- <y-position>136</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_MIN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_MIN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aMinVal</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>aNewMinVal</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 11:35:16</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_MIN from SyrComponent</comment>
- <x-position>798</x-position>
- <y-position>833</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_MAX</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_MAX</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aMaxVal</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>aNewMaxVal</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 11:35:16</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_MAX from SyrComponent</comment>
- <x-position>798</x-position>
- <y-position>668</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_AVERAGE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_AVERAGE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>aListOfSyr</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aCount</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>aNewListOfSyr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>anAverage</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 11:35:16</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_AVERAGE from SyrComponent</comment>
- <x-position>784</x-position>
- <y-position>476</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_LISTOFSYR</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_LISTOFSYR</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>aListOfSyr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 11:35:16</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_LISTOFSYR from SyrComponent</comment>
- <x-position>5</x-position>
- <y-position>321</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_begin</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_begin</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGEB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLIST</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_begin</FuncName>
- <PyFunc><![CDATA[def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :]]></PyFunc>
- <PyFunc><![CDATA[ return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>22/6/2005 - 11:35:16</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>183</x-position>
- <y-position>220</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_test</node-name>
- <kind>6</kind>
- <coupled-node>EndL_OneEven</coupled-node>
- <service>
-<service-name>label_test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MIN</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGE</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLIST</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MINT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAXT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGET</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLISTT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>L_OneEven</FuncName>
- <PyFunc><![CDATA[def L_OneEven( ValOne , ValEven , NT , KT , MIN , MAX , AVERAGE , SYRLIST ):]]></PyFunc>
- <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
- <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>22/6/2005 - 11:35:16</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>564</x-position>
- <y-position>219</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndL_OneEven</node-name>
- <kind>7</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>EndL_OneEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>22/6/2005 - 11:35:16</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1064</x-position>
- <y-position>339</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_m3p1</node-name>
- <kind>8</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>control_m3p1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLIST</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>C_NotOneIsEven</FuncName>
- <PyFunc><![CDATA[def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):]]></PyFunc>
- <PyFunc><![CDATA[ return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>22/6/2005 - 11:35:16</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1058</x-position>
- <y-position>8</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_div2</node-name>
- <kind>8</kind>
- <coupled-node>label_begin</coupled-node>
- <service>
-<service-name>control_div2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MINB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAXB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGEB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLISTB</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>control_div2</FuncName>
- <PyFunc><![CDATA[def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :]]></PyFunc>
- <PyFunc><![CDATA[ return N,K,MINT,MAXT,AVERAGET,SYRLISTT]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>22/6/2005 - 11:35:16</creation-date>
- <lastmodification-date>22/6/2005 - 11:35:16</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1048</x-position>
- <y-position>555</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>test_ISEVEN</fromnode-name>
- <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>544</x>
- <y>256</y> </coord>
- <coord>
-<x>544</x>
- <y>524</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test_ISONE</fromnode-name>
- <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValOne</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>546</x>
- <y>237</y> </coord>
- <coord>
-<x>546</x>
- <y>198</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>m3p1</fromnode-name>
- <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>975</x>
- <y>38</y> </coord>
- <coord>
-<x>976</x>
- <y>81</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>div2</fromnode-name>
- <fromserviceparameter-name>anInteger</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1012</x>
- <y>585</y> </coord>
- <coord>
-<x>1011</x>
- <y>346</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>966</x>
- <y>606</y> </coord>
- <coord>
-<x>968</x>
- <y>207</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>965</x>
- <y>59</y> </coord>
- <coord>
-<x>966</x>
- <y>208</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>751</x>
- <y>588</y> </coord>
- <coord>
-<x>751</x>
- <y>460</y> </coord>
- <coord>
-<x>965</x>
- <y>462</y> </coord>
- <coord>
-<x>968</x>
- <y>205</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MIN</fromnode-name>
- <fromserviceparameter-name>aNewMinVal</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>MINT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>991</x>
- <y>78</y> </coord>
- <coord>
-<x>991</x>
- <y>905</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MIN</fromnode-name>
- <fromserviceparameter-name>aNewMinVal</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>MINT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>991</x>
- <y>626</y> </coord>
- <coord>
-<x>991</x>
- <y>905</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MAX</fromnode-name>
- <fromserviceparameter-name>aNewMaxVal</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>MAXT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>976</x>
- <y>98</y> </coord>
- <coord>
-<x>974</x>
- <y>738</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MAX</fromnode-name>
- <fromserviceparameter-name>aNewMaxVal</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>MAXT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>972</x>
- <y>648</y> </coord>
- <coord>
-<x>974</x>
- <y>738</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>aNewListOfSyr</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>SYRLISTT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1037</x>
- <y>137</y> </coord>
- <coord>
-<x>1038</x>
- <y>556</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>aNewListOfSyr</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>SYRLISTT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1038</x>
- <y>686</y> </coord>
- <coord>
-<x>1038</x>
- <y>555</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>anAverage</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>AVERAGET</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1026</x>
- <y>118</y> </coord>
- <coord>
-<x>1027</x>
- <y>567</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>anAverage</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>AVERAGET</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1027</x>
- <y>668</y> </coord>
- <coord>
-<x>1026</x>
- <y>568</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_LISTOFSYR</fromnode-name>
- <fromserviceparameter-name>aListOfSyr</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>SYRLISTB</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISONE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>361</x>
- <y>197</y> </coord>
- <coord>
-<x>360</x>
- <y>290</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISEVEN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>359</x>
- <y>525</y> </coord>
- <coord>
-<x>361</x>
- <y>291</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>MIN</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>MIN</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>MAX</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>MAX</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>AVERAGE</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>AVERAGE</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>SYRLIST</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>SYRLIST</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>777</x>
- <y>351</y> </coord>
- <coord>
-<x>777</x>
- <y>286</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>757</x>
- <y>95</y> </coord>
- <coord>
-<x>757</x>
- <y>310</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>741</x>
- <y>72</y> </coord>
- <coord>
-<x>741</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_MIN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>744</x>
- <y>923</y> </coord>
- <coord>
-<x>742</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_MAX</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>742</x>
- <y>759</y> </coord>
- <coord>
-<x>743</x>
- <y>332</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>741</x>
- <y>568</y> </coord>
- <coord>
-<x>742</x>
- <y>330</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>incr</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>766</x>
- <y>207</y> </coord>
- <coord>
-<x>766</x>
- <y>343</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MINT</fromserviceparameter-name>
- <tonode-name>C_MIN</tonode-name>
- <toserviceparameter-name>aMinVal</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>760</x>
- <y>904</y> </coord>
- <coord>
-<x>756</x>
- <y>372</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MAXT</fromserviceparameter-name>
- <tonode-name>C_MAX</tonode-name>
- <toserviceparameter-name>aMaxVal</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>765</x>
- <y>742</y> </coord>
- <coord>
-<x>766</x>
- <y>384</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>SYRLISTT</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>aListOfSyr</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>773</x>
- <y>546</y> </coord>
- <coord>
-<x>772</x>
- <y>424</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>control_m3p1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>553</x>
- <y>453</y> </coord>
- <coord>
-<x>554</x>
- <y>1025</y> </coord>
- <coord>
-<x>1242</x>
- <y>1026</y> </coord>
- <coord>
-<x>1234</x>
- <y>204</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_div2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>176</x>
- <y>419</y> </coord>
- <coord>
-<x>176</x>
- <y>997</y> </coord>
- <coord>
-<x>1217</x>
- <y>996</y> </coord>
- <coord>
-<x>1223</x>
- <y>711</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSyrControlAve</fromnode-name>
- <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>NB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>31</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAve</fromnode-name>
- <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>KB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAve</fromnode-name>
- <fromserviceparameter-name>label_begin__MINB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>MINB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAve</fromnode-name>
- <fromserviceparameter-name>label_begin__MAXB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>MAXB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAve</fromnode-name>
- <fromserviceparameter-name>label_begin__AVERAGEB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>AVERAGEB</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSyrControlAveAborted</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSyrControlAveNOTValid1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__KB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__MINB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__MAXB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>label_begin__AVERAGEB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>label_test__Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>label_test__Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndL_OneEven__MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndL_OneEven__MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>EndL_OneEven__AVERAGE</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>2/10/2003 - 11:17:14</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</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>test_ISEVEN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISEVEN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:32:56</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISEVEN from SyrComponent</comment>
- <x-position>370</x-position>
- <y-position>455</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>test_ISONE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISONE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolOne</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:32:56</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISONE from SyrComponent</comment>
- <x-position>370</x-position>
- <y-position>127</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>m3p1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_M3P1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>anEvenInteger</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:32:56</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_M3P1 from SyrComponent</comment>
- <x-position>789</x-position>
- <y-position>0</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>
-<service-name>C_DIV2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:32:56</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_DIV2 from SyrComponent</comment>
- <x-position>789</x-position>
- <y-position>255</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>incr</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:32:56</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_INCR from SyrComponent</comment>
- <x-position>790</x-position>
- <y-position>136</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_MIN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_MIN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aMinVal</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>aNewMinVal</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:32:56</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_MIN from SyrComponent</comment>
- <x-position>798</x-position>
- <y-position>833</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_MAX</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_MAX</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aMaxVal</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>aNewMaxVal</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:32:56</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_MAX from SyrComponent</comment>
- <x-position>798</x-position>
- <y-position>668</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_AVERAGE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_AVERAGE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>aListOfSyr</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aCount</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>aNewListOfSyr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>anAverage</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:32:56</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_AVERAGE from SyrComponent</comment>
- <x-position>784</x-position>
- <y-position>476</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_LISTOFSYR</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_LISTOFSYR</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>aListOfSyr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>6/7/2005 - 10:32:56</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_LISTOFSYR from SyrComponent</comment>
- <x-position>5</x-position>
- <y-position>321</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_begin</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_begin</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGEB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLIST</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_begin</FuncName>
- <PyFunc><![CDATA[def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :]]></PyFunc>
- <PyFunc><![CDATA[ return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 10:32:56</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>183</x-position>
- <y-position>220</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_test</node-name>
- <kind>6</kind>
- <coupled-node>EndL_OneEven</coupled-node>
- <service>
-<service-name>label_test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MIN</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGE</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLIST</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLIST</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>L_OneEven</FuncName>
- <PyFunc><![CDATA[def L_OneEven( ValOne , ValEven , NT , KT , MIN , MAX , AVERAGE , SYRLIST ):]]></PyFunc>
- <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
- <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 10:32:56</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>564</x-position>
- <y-position>219</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndL_OneEven</node-name>
- <kind>7</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>EndL_OneEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 10:32:56</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1064</x-position>
- <y-position>339</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_m3p1</node-name>
- <kind>8</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>control_m3p1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLIST</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>C_NotOneIsEven</FuncName>
- <PyFunc><![CDATA[def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):]]></PyFunc>
- <PyFunc><![CDATA[ return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 10:32:56</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1058</x-position>
- <y-position>8</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_div2</node-name>
- <kind>8</kind>
- <coupled-node>label_begin</coupled-node>
- <service>
-<service-name>control_div2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MINB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAXB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGEB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLISTB</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>control_div2</FuncName>
- <PyFunc><![CDATA[def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :]]></PyFunc>
- <PyFunc><![CDATA[ return N,K,MINT,MAXT,AVERAGET,SYRLISTT]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/7/2005 - 10:32:56</creation-date>
- <lastmodification-date>6/7/2005 - 10:32:56</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1048</x-position>
- <y-position>555</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>test_ISEVEN</fromnode-name>
- <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>544</x>
- <y>256</y> </coord>
- <coord>
-<x>544</x>
- <y>524</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test_ISONE</fromnode-name>
- <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValOne</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>546</x>
- <y>237</y> </coord>
- <coord>
-<x>546</x>
- <y>198</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>m3p1</fromnode-name>
- <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>975</x>
- <y>38</y> </coord>
- <coord>
-<x>976</x>
- <y>81</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>div2</fromnode-name>
- <fromserviceparameter-name>anInteger</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1012</x>
- <y>585</y> </coord>
- <coord>
-<x>1011</x>
- <y>346</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>966</x>
- <y>606</y> </coord>
- <coord>
-<x>968</x>
- <y>207</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>965</x>
- <y>59</y> </coord>
- <coord>
-<x>966</x>
- <y>208</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>751</x>
- <y>588</y> </coord>
- <coord>
-<x>751</x>
- <y>460</y> </coord>
- <coord>
-<x>965</x>
- <y>462</y> </coord>
- <coord>
-<x>968</x>
- <y>205</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MIN</fromnode-name>
- <fromserviceparameter-name>aNewMinVal</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>MINT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>991</x>
- <y>78</y> </coord>
- <coord>
-<x>991</x>
- <y>905</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MIN</fromnode-name>
- <fromserviceparameter-name>aNewMinVal</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>MINT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>991</x>
- <y>626</y> </coord>
- <coord>
-<x>991</x>
- <y>905</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MAX</fromnode-name>
- <fromserviceparameter-name>aNewMaxVal</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>MAXT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>976</x>
- <y>98</y> </coord>
- <coord>
-<x>974</x>
- <y>738</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MAX</fromnode-name>
- <fromserviceparameter-name>aNewMaxVal</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>MAXT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>972</x>
- <y>648</y> </coord>
- <coord>
-<x>974</x>
- <y>738</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>aNewListOfSyr</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>SYRLISTT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1037</x>
- <y>137</y> </coord>
- <coord>
-<x>1038</x>
- <y>556</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>aNewListOfSyr</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>SYRLISTT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1038</x>
- <y>686</y> </coord>
- <coord>
-<x>1038</x>
- <y>555</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>anAverage</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>AVERAGET</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1026</x>
- <y>118</y> </coord>
- <coord>
-<x>1027</x>
- <y>567</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>anAverage</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>AVERAGET</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1027</x>
- <y>668</y> </coord>
- <coord>
-<x>1026</x>
- <y>568</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_LISTOFSYR</fromnode-name>
- <fromserviceparameter-name>aListOfSyr</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>SYRLISTB</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISONE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>361</x>
- <y>197</y> </coord>
- <coord>
-<x>360</x>
- <y>290</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISEVEN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>359</x>
- <y>525</y> </coord>
- <coord>
-<x>361</x>
- <y>291</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>MIN</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>MIN</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>MAX</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>MAX</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>AVERAGE</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>AVERAGE</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>SYRLIST</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>SYRLIST</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>777</x>
- <y>351</y> </coord>
- <coord>
-<x>777</x>
- <y>286</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>757</x>
- <y>95</y> </coord>
- <coord>
-<x>757</x>
- <y>310</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>741</x>
- <y>72</y> </coord>
- <coord>
-<x>741</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_MIN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>744</x>
- <y>923</y> </coord>
- <coord>
-<x>742</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_MAX</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>742</x>
- <y>759</y> </coord>
- <coord>
-<x>743</x>
- <y>332</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>741</x>
- <y>568</y> </coord>
- <coord>
-<x>742</x>
- <y>330</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>incr</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>766</x>
- <y>207</y> </coord>
- <coord>
-<x>766</x>
- <y>343</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MIN</fromserviceparameter-name>
- <tonode-name>C_MIN</tonode-name>
- <toserviceparameter-name>aMinVal</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>771</x>
- <y>902</y> </coord>
- <coord>
-<x>777</x>
- <y>371</y> </coord>
- <coord>
-<x>777</x>
- <y>370</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MIN</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>MINT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MAX</fromserviceparameter-name>
- <tonode-name>C_MAX</tonode-name>
- <toserviceparameter-name>aMaxVal</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>764</x>
- <y>739</y> </coord>
- <coord>
-<x>762</x>
- <y>390</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MAX</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>MAXT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>AVERAGE</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>AVERAGET</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>SYRLIST</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>aListOfSyr</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>769</x>
- <y>546</y> </coord>
- <coord>
-<x>769</x>
- <y>431</y> </coord>
- <coord>
-<x>768</x>
- <y>431</y> </coord>
- <coord>
-<x>768</x>
- <y>430</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_m3p1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>553</x>
- <y>453</y> </coord>
- <coord>
-<x>554</x>
- <y>1025</y> </coord>
- <coord>
-<x>1242</x>
- <y>1026</y> </coord>
- <coord>
-<x>1234</x>
- <y>204</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_div2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>176</x>
- <y>419</y> </coord>
- <coord>
-<x>176</x>
- <y>997</y> </coord>
- <coord>
-<x>1217</x>
- <y>996</y> </coord>
- <coord>
-<x>1223</x>
- <y>711</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSyrControlAveAborted</fromnode-name>
- <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>NB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>31</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveAborted</fromnode-name>
- <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>KB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveAborted</fromnode-name>
- <fromserviceparameter-name>label_begin__MINB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>MINB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveAborted</fromnode-name>
- <fromserviceparameter-name>label_begin__MAXB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>MAXB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveAborted</fromnode-name>
- <fromserviceparameter-name>label_begin__AVERAGEB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>AVERAGEB</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSyrControlAveExecutable</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSyrControlAveNOTExecutable</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__KB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__MINB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__MAXB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>label_begin__AVERAGEB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>label_test__Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>label_test__Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndL_OneEven__MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndL_OneEven__MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>EndL_OneEven__AVERAGE</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>2/10/2003 - 11:17:14</creation-date>
- <lastmodification-date>22/6/2005 - 15:5:27</lastmodification-date>
- <editor-release>1.05</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>test_ISEVEN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISEVEN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 15:4:37</creation-date>
- <lastmodification-date>22/6/2005 - 15:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISEVEN from SyrComponent</comment>
- <x-position>370</x-position>
- <y-position>455</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>test_ISONE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISONE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolOne</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 15:4:37</creation-date>
- <lastmodification-date>22/6/2005 - 15:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISONE from SyrComponent</comment>
- <x-position>370</x-position>
- <y-position>127</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>m3p1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_M3P1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>anEvenInteger</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 15:4:37</creation-date>
- <lastmodification-date>22/6/2005 - 15:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_M3P1 from SyrComponent</comment>
- <x-position>789</x-position>
- <y-position>0</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>
-<service-name>C_DIV2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 15:4:37</creation-date>
- <lastmodification-date>22/6/2005 - 15:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_DIV2 from SyrComponent</comment>
- <x-position>789</x-position>
- <y-position>255</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>incr</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 15:4:37</creation-date>
- <lastmodification-date>22/6/2005 - 15:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_INCR from SyrComponent</comment>
- <x-position>790</x-position>
- <y-position>136</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_MIN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_MIN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aMinVal</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>aNewMinVal</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 15:4:37</creation-date>
- <lastmodification-date>22/6/2005 - 15:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_MIN from SyrComponent</comment>
- <x-position>798</x-position>
- <y-position>833</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_MAX</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_MAX</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aMaxVal</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>aNewMaxVal</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 15:4:37</creation-date>
- <lastmodification-date>22/6/2005 - 15:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_MAX from SyrComponent</comment>
- <x-position>798</x-position>
- <y-position>668</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_AVERAGE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_AVERAGE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>aListOfSyr</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aCount</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>aNewListOfSyr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>anAverage</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 15:4:37</creation-date>
- <lastmodification-date>22/6/2005 - 15:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_AVERAGE from SyrComponent</comment>
- <x-position>784</x-position>
- <y-position>476</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_LISTOFSYR</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_LISTOFSYR</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>aListOfSyr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/6/2005 - 15:4:37</creation-date>
- <lastmodification-date>22/6/2005 - 15:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_LISTOFSYR from SyrComponent</comment>
- <x-position>5</x-position>
- <y-position>321</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_begin</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_begin</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGEB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLIST</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_begin</FuncName>
- <PyFunc><![CDATA[def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :]]></PyFunc>
- <PyFunc><![CDATA[ return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>22/6/2005 - 15:4:37</creation-date>
- <lastmodification-date>22/6/2005 - 15:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>183</x-position>
- <y-position>220</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_test</node-name>
- <kind>6</kind>
- <coupled-node>EndL_OneEven</coupled-node>
- <service>
-<service-name>label_test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MIN</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGE</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLIST</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLIST</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>L_OneEven</FuncName>
- <PyFunc><![CDATA[def L_OneEven( ValOne , ValEven , NT , KT , MIN , MAX , AVERAGE , SYRLIST ):]]></PyFunc>
- <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
- <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>22/6/2005 - 15:4:37</creation-date>
- <lastmodification-date>22/6/2005 - 15:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>564</x-position>
- <y-position>219</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndL_OneEven</node-name>
- <kind>7</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>EndL_OneEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>22/6/2005 - 15:4:37</creation-date>
- <lastmodification-date>22/6/2005 - 15:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1064</x-position>
- <y-position>339</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_m3p1</node-name>
- <kind>8</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>control_m3p1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLIST</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>C_NotOneIsEven</FuncName>
- <PyFunc><![CDATA[def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):]]></PyFunc>
- <PyFunc><![CDATA[ return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>22/6/2005 - 15:4:37</creation-date>
- <lastmodification-date>22/6/2005 - 15:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1058</x-position>
- <y-position>8</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_div2</node-name>
- <kind>8</kind>
- <coupled-node>label_begin</coupled-node>
- <service>
-<service-name>control_div2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MINB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAXB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGEB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLISTB</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>control_div2</FuncName>
- <PyFunc><![CDATA[def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :]]></PyFunc>
- <PyFunc><![CDATA[ return N,K,MINT,MAXT,AVERAGET,SYRLISTT]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>22/6/2005 - 15:4:37</creation-date>
- <lastmodification-date>22/6/2005 - 15:4:37</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1048</x-position>
- <y-position>555</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>test_ISEVEN</fromnode-name>
- <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>544</x>
- <y>256</y> </coord>
- <coord>
-<x>544</x>
- <y>524</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test_ISONE</fromnode-name>
- <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValOne</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>546</x>
- <y>237</y> </coord>
- <coord>
-<x>546</x>
- <y>198</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>m3p1</fromnode-name>
- <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>975</x>
- <y>38</y> </coord>
- <coord>
-<x>976</x>
- <y>81</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>div2</fromnode-name>
- <fromserviceparameter-name>anInteger</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1012</x>
- <y>585</y> </coord>
- <coord>
-<x>1011</x>
- <y>346</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>966</x>
- <y>606</y> </coord>
- <coord>
-<x>968</x>
- <y>207</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>965</x>
- <y>59</y> </coord>
- <coord>
-<x>966</x>
- <y>208</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>751</x>
- <y>588</y> </coord>
- <coord>
-<x>751</x>
- <y>460</y> </coord>
- <coord>
-<x>965</x>
- <y>462</y> </coord>
- <coord>
-<x>968</x>
- <y>205</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MIN</fromnode-name>
- <fromserviceparameter-name>aNewMinVal</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>MINT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>991</x>
- <y>78</y> </coord>
- <coord>
-<x>991</x>
- <y>905</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MIN</fromnode-name>
- <fromserviceparameter-name>aNewMinVal</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>MINT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>991</x>
- <y>626</y> </coord>
- <coord>
-<x>991</x>
- <y>905</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MAX</fromnode-name>
- <fromserviceparameter-name>aNewMaxVal</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>MAXT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>976</x>
- <y>98</y> </coord>
- <coord>
-<x>974</x>
- <y>738</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MAX</fromnode-name>
- <fromserviceparameter-name>aNewMaxVal</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>MAXT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>972</x>
- <y>648</y> </coord>
- <coord>
-<x>974</x>
- <y>738</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>aNewListOfSyr</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>SYRLISTT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1037</x>
- <y>137</y> </coord>
- <coord>
-<x>1038</x>
- <y>556</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>aNewListOfSyr</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>SYRLISTT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1038</x>
- <y>686</y> </coord>
- <coord>
-<x>1038</x>
- <y>555</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>anAverage</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>AVERAGET</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1026</x>
- <y>118</y> </coord>
- <coord>
-<x>1027</x>
- <y>567</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>anAverage</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>AVERAGET</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1027</x>
- <y>668</y> </coord>
- <coord>
-<x>1026</x>
- <y>568</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_LISTOFSYR</fromnode-name>
- <fromserviceparameter-name>aListOfSyr</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>SYRLISTB</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISONE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>361</x>
- <y>197</y> </coord>
- <coord>
-<x>360</x>
- <y>290</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISEVEN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>359</x>
- <y>525</y> </coord>
- <coord>
-<x>361</x>
- <y>291</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>MIN</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>MIN</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>MAX</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>MAX</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>AVERAGE</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>AVERAGE</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>SYRLIST</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>SYRLIST</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>777</x>
- <y>351</y> </coord>
- <coord>
-<x>777</x>
- <y>286</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>757</x>
- <y>95</y> </coord>
- <coord>
-<x>757</x>
- <y>310</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>741</x>
- <y>72</y> </coord>
- <coord>
-<x>741</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_MIN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>744</x>
- <y>923</y> </coord>
- <coord>
-<x>742</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_MAX</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>742</x>
- <y>759</y> </coord>
- <coord>
-<x>743</x>
- <y>332</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>741</x>
- <y>568</y> </coord>
- <coord>
-<x>742</x>
- <y>330</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>incr</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>766</x>
- <y>207</y> </coord>
- <coord>
-<x>766</x>
- <y>343</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MIN</fromserviceparameter-name>
- <tonode-name>C_MIN</tonode-name>
- <toserviceparameter-name>aMinVal</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>771</x>
- <y>902</y> </coord>
- <coord>
-<x>777</x>
- <y>371</y> </coord>
- <coord>
-<x>777</x>
- <y>370</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MIN</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>MINT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MAX</fromserviceparameter-name>
- <tonode-name>C_MAX</tonode-name>
- <toserviceparameter-name>aMaxVal</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>764</x>
- <y>739</y> </coord>
- <coord>
-<x>762</x>
- <y>390</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MAX</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>MAXT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>AVERAGE</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>AVERAGET</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>SYRLIST</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>aListOfSyr</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>769</x>
- <y>546</y> </coord>
- <coord>
-<x>769</x>
- <y>431</y> </coord>
- <coord>
-<x>768</x>
- <y>431</y> </coord>
- <coord>
-<x>768</x>
- <y>430</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>control_m3p1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>553</x>
- <y>453</y> </coord>
- <coord>
-<x>554</x>
- <y>1025</y> </coord>
- <coord>
-<x>1242</x>
- <y>1026</y> </coord>
- <coord>
-<x>1234</x>
- <y>204</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_div2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>176</x>
- <y>419</y> </coord>
- <coord>
-<x>176</x>
- <y>997</y> </coord>
- <coord>
-<x>1217</x>
- <y>996</y> </coord>
- <coord>
-<x>1223</x>
- <y>711</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSyrControlAveExecutable</fromnode-name>
- <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>NB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>31</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveExecutable</fromnode-name>
- <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>KB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveExecutable</fromnode-name>
- <fromserviceparameter-name>label_begin__MINB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>MINB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveExecutable</fromnode-name>
- <fromserviceparameter-name>label_begin__MAXB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>MAXB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveExecutable</fromnode-name>
- <fromserviceparameter-name>label_begin__AVERAGEB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>AVERAGEB</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSyrControlAveNOTValid</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSyrControlAveNOTValid</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__KB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__MINB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__MAXB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>label_begin__AVERAGEB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>EndL_OneEven__MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>EndL_OneEven__MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>EndL_OneEven__AVERAGET</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>label_test__Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>label_test__Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>label_test__AVERAGE</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndL_OneEven__MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndL_OneEven__MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>EndL_OneEven__AVERAGE</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>2/10/2003 - 11:17:14</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</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>test_ISEVEN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISEVEN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 12:6:44</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISEVEN from SyrComponent</comment>
- <x-position>370</x-position>
- <y-position>455</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>test_ISONE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISONE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolOne</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 12:6:44</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISONE from SyrComponent</comment>
- <x-position>370</x-position>
- <y-position>127</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>m3p1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_M3P1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>anEvenInteger</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 12:6:44</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_M3P1 from SyrComponent</comment>
- <x-position>789</x-position>
- <y-position>0</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>
-<service-name>C_DIV2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 12:6:44</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_DIV2 from SyrComponent</comment>
- <x-position>789</x-position>
- <y-position>255</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>incr</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 12:6:44</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_INCR from SyrComponent</comment>
- <x-position>790</x-position>
- <y-position>136</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_MIN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_MIN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aMinVal</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>aNewMinVal</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 12:6:44</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_MIN from SyrComponent</comment>
- <x-position>798</x-position>
- <y-position>833</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_MAX</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_MAX</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aMaxVal</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>aNewMaxVal</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 12:6:44</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_MAX from SyrComponent</comment>
- <x-position>798</x-position>
- <y-position>668</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_AVERAGE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_AVERAGE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>aListOfSyr</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aCount</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>aNewListOfSyr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>anAverage</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 12:6:44</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_AVERAGE from SyrComponent</comment>
- <x-position>784</x-position>
- <y-position>476</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_LISTOFSYR</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_LISTOFSYR</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>aListOfSyr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 12:6:44</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_LISTOFSYR from SyrComponent</comment>
- <x-position>5</x-position>
- <y-position>321</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_begin</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_begin</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGEB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLIST</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_begin</FuncName>
- <PyFunc><![CDATA[def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :]]></PyFunc>
- <PyFunc><![CDATA[ return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>28/6/2005 - 12:6:44</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>183</x-position>
- <y-position>220</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_test</node-name>
- <kind>6</kind>
- <coupled-node>EndL_OneEven</coupled-node>
- <service>
-<service-name>label_test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MIN</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGE</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLIST</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLIST</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>L_OneEven</FuncName>
- <PyFunc><![CDATA[def L_OneEven( ValOne , ValEven , NT , KT , MIN , MAX , AVERAGE , SYRLIST ):]]></PyFunc>
- <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
- <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>28/6/2005 - 12:6:44</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>564</x-position>
- <y-position>219</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndL_OneEven</node-name>
- <kind>7</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>EndL_OneEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>28/6/2005 - 12:6:44</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1064</x-position>
- <y-position>339</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_m3p1</node-name>
- <kind>8</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>control_m3p1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLIST</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>C_NotOneIsEven</FuncName>
- <PyFunc><![CDATA[def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):]]></PyFunc>
- <PyFunc><![CDATA[ return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>28/6/2005 - 12:6:44</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1058</x-position>
- <y-position>8</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_div2</node-name>
- <kind>8</kind>
- <coupled-node>label_begin</coupled-node>
- <service>
-<service-name>control_div2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MINB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAXB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGEB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLISTB</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>control_div2</FuncName>
- <PyFunc><![CDATA[def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :]]></PyFunc>
- <PyFunc><![CDATA[ return N,K,MINT,MAXT,AVERAGET,SYRLISTT]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>28/6/2005 - 12:6:44</creation-date>
- <lastmodification-date>28/6/2005 - 12:6:44</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1048</x-position>
- <y-position>555</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>test_ISEVEN</fromnode-name>
- <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>544</x>
- <y>256</y> </coord>
- <coord>
-<x>544</x>
- <y>524</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test_ISONE</fromnode-name>
- <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValOne</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>546</x>
- <y>237</y> </coord>
- <coord>
-<x>546</x>
- <y>198</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>m3p1</fromnode-name>
- <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>975</x>
- <y>38</y> </coord>
- <coord>
-<x>976</x>
- <y>81</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>div2</fromnode-name>
- <fromserviceparameter-name>anInteger</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1012</x>
- <y>585</y> </coord>
- <coord>
-<x>1011</x>
- <y>346</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>966</x>
- <y>606</y> </coord>
- <coord>
-<x>968</x>
- <y>207</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>965</x>
- <y>59</y> </coord>
- <coord>
-<x>966</x>
- <y>208</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>751</x>
- <y>588</y> </coord>
- <coord>
-<x>751</x>
- <y>460</y> </coord>
- <coord>
-<x>965</x>
- <y>462</y> </coord>
- <coord>
-<x>968</x>
- <y>205</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MIN</fromnode-name>
- <fromserviceparameter-name>aNewMinVal</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>MINT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>991</x>
- <y>78</y> </coord>
- <coord>
-<x>991</x>
- <y>905</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MIN</fromnode-name>
- <fromserviceparameter-name>aNewMinVal</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>MINT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>991</x>
- <y>626</y> </coord>
- <coord>
-<x>991</x>
- <y>905</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MAX</fromnode-name>
- <fromserviceparameter-name>aNewMaxVal</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>MAXT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>976</x>
- <y>98</y> </coord>
- <coord>
-<x>974</x>
- <y>738</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MAX</fromnode-name>
- <fromserviceparameter-name>aNewMaxVal</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>MAXT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>972</x>
- <y>648</y> </coord>
- <coord>
-<x>974</x>
- <y>738</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>aNewListOfSyr</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>SYRLISTT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1037</x>
- <y>137</y> </coord>
- <coord>
-<x>1038</x>
- <y>556</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>aNewListOfSyr</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>SYRLISTT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1038</x>
- <y>686</y> </coord>
- <coord>
-<x>1038</x>
- <y>555</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>anAverage</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>AVERAGET</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1026</x>
- <y>118</y> </coord>
- <coord>
-<x>1027</x>
- <y>567</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>anAverage</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>AVERAGET</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1027</x>
- <y>668</y> </coord>
- <coord>
-<x>1026</x>
- <y>568</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_LISTOFSYR</fromnode-name>
- <fromserviceparameter-name>aListOfSyr</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>SYRLISTB</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISONE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>361</x>
- <y>197</y> </coord>
- <coord>
-<x>360</x>
- <y>290</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISEVEN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>359</x>
- <y>525</y> </coord>
- <coord>
-<x>361</x>
- <y>291</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>MIN</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>MIN</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>MAX</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>MAX</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>AVERAGE</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>AVERAGE</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>SYRLIST</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>SYRLIST</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>777</x>
- <y>351</y> </coord>
- <coord>
-<x>777</x>
- <y>286</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>757</x>
- <y>95</y> </coord>
- <coord>
-<x>757</x>
- <y>310</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>741</x>
- <y>72</y> </coord>
- <coord>
-<x>741</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_MIN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>744</x>
- <y>923</y> </coord>
- <coord>
-<x>742</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_MAX</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>742</x>
- <y>759</y> </coord>
- <coord>
-<x>743</x>
- <y>332</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>741</x>
- <y>568</y> </coord>
- <coord>
-<x>742</x>
- <y>330</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>incr</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>766</x>
- <y>207</y> </coord>
- <coord>
-<x>766</x>
- <y>343</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MIN</fromserviceparameter-name>
- <tonode-name>C_MIN</tonode-name>
- <toserviceparameter-name>aMinVal</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>771</x>
- <y>902</y> </coord>
- <coord>
-<x>777</x>
- <y>371</y> </coord>
- <coord>
-<x>777</x>
- <y>370</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MAX</fromserviceparameter-name>
- <tonode-name>C_MAX</tonode-name>
- <toserviceparameter-name>aMaxVal</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>764</x>
- <y>739</y> </coord>
- <coord>
-<x>762</x>
- <y>390</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>SYRLIST</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>aListOfSyr</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>769</x>
- <y>546</y> </coord>
- <coord>
-<x>769</x>
- <y>431</y> </coord>
- <coord>
-<x>768</x>
- <y>431</y> </coord>
- <coord>
-<x>768</x>
- <y>430</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>control_m3p1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>553</x>
- <y>453</y> </coord>
- <coord>
-<x>554</x>
- <y>1025</y> </coord>
- <coord>
-<x>1242</x>
- <y>1026</y> </coord>
- <coord>
-<x>1234</x>
- <y>204</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_div2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>176</x>
- <y>419</y> </coord>
- <coord>
-<x>176</x>
- <y>997</y> </coord>
- <coord>
-<x>1217</x>
- <y>996</y> </coord>
- <coord>
-<x>1223</x>
- <y>711</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSyrControlAveNOTValid</fromnode-name>
- <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>NB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>31</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveNOTValid</fromnode-name>
- <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>KB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveNOTValid</fromnode-name>
- <fromserviceparameter-name>label_begin__MINB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>MINB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveNOTValid</fromnode-name>
- <fromserviceparameter-name>label_begin__MAXB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>MAXB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveNOTValid</fromnode-name>
- <fromserviceparameter-name>label_begin__AVERAGEB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>AVERAGEB</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSyrControlAveValid</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSyrControlAveValid</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__KB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__MINB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__MAXB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>label_begin__AVERAGEB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>label_test__Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>label_test__Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndL_OneEven__MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndL_OneEven__MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>EndL_OneEven__AVERAGE</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>2/10/2003 - 11:17:14</creation-date>
- <lastmodification-date>28/6/2005 - 14:10:50</lastmodification-date>
- <editor-release>1.05</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>test_ISEVEN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISEVEN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 14:8:24</creation-date>
- <lastmodification-date>28/6/2005 - 14:8:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISEVEN from SyrComponent</comment>
- <x-position>370</x-position>
- <y-position>455</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>test_ISONE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISONE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolOne</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 14:8:24</creation-date>
- <lastmodification-date>28/6/2005 - 14:8:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISONE from SyrComponent</comment>
- <x-position>370</x-position>
- <y-position>127</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>m3p1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_M3P1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>anEvenInteger</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 14:8:24</creation-date>
- <lastmodification-date>28/6/2005 - 14:8:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_M3P1 from SyrComponent</comment>
- <x-position>789</x-position>
- <y-position>0</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>
-<service-name>C_DIV2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 14:8:24</creation-date>
- <lastmodification-date>28/6/2005 - 14:8:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_DIV2 from SyrComponent</comment>
- <x-position>789</x-position>
- <y-position>255</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>incr</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 14:8:24</creation-date>
- <lastmodification-date>28/6/2005 - 14:8:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_INCR from SyrComponent</comment>
- <x-position>790</x-position>
- <y-position>136</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_MIN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_MIN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aMinVal</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>aNewMinVal</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 14:8:24</creation-date>
- <lastmodification-date>28/6/2005 - 14:8:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_MIN from SyrComponent</comment>
- <x-position>798</x-position>
- <y-position>833</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_MAX</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_MAX</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aMaxVal</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>aNewMaxVal</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 14:8:24</creation-date>
- <lastmodification-date>28/6/2005 - 14:8:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_MAX from SyrComponent</comment>
- <x-position>798</x-position>
- <y-position>668</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_AVERAGE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_AVERAGE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>aListOfSyr</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>aCount</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>aNewListOfSyr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>anAverage</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 14:8:24</creation-date>
- <lastmodification-date>28/6/2005 - 14:8:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_AVERAGE from SyrComponent</comment>
- <x-position>784</x-position>
- <y-position>476</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>C_LISTOFSYR</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_LISTOFSYR</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>aListOfSyr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>28/6/2005 - 14:8:24</creation-date>
- <lastmodification-date>28/6/2005 - 14:8:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_LISTOFSYR from SyrComponent</comment>
- <x-position>5</x-position>
- <y-position>321</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_begin</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_begin</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGEB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLIST</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_begin</FuncName>
- <PyFunc><![CDATA[def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :]]></PyFunc>
- <PyFunc><![CDATA[ return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>28/6/2005 - 14:8:24</creation-date>
- <lastmodification-date>28/6/2005 - 14:8:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>183</x-position>
- <y-position>220</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_test</node-name>
- <kind>6</kind>
- <coupled-node>EndL_OneEven</coupled-node>
- <service>
-<service-name>label_test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MIN</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGE</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLIST</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MINT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAXT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGET</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLISTT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>L_OneEven</FuncName>
- <PyFunc><![CDATA[def L_OneEven( ValOne , ValEven , NT , KT , MIN , MAX , AVERAGE , SYRLIST ):]]></PyFunc>
- <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
- <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>28/6/2005 - 14:8:24</creation-date>
- <lastmodification-date>28/6/2005 - 14:8:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>564</x-position>
- <y-position>219</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndL_OneEven</node-name>
- <kind>7</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>EndL_OneEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>28/6/2005 - 14:8:24</creation-date>
- <lastmodification-date>28/6/2005 - 14:8:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1064</x-position>
- <y-position>339</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_m3p1</node-name>
- <kind>8</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>control_m3p1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MIN</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAX</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGE</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLIST</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>C_NotOneIsEven</FuncName>
- <PyFunc><![CDATA[def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):]]></PyFunc>
- <PyFunc><![CDATA[ return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>28/6/2005 - 14:8:24</creation-date>
- <lastmodification-date>28/6/2005 - 14:8:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1058</x-position>
- <y-position>8</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_div2</node-name>
- <kind>8</kind>
- <coupled-node>label_begin</coupled-node>
- <service>
-<service-name>control_div2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MINT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>MAXT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>AVERAGET</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>ListOfSyr</inParameter-type>
- <inParameter-name>SYRLISTT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MINB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MAXB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>AVERAGEB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>ListOfSyr</outParameter-type>
- <outParameter-name>SYRLISTB</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>control_div2</FuncName>
- <PyFunc><![CDATA[def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :]]></PyFunc>
- <PyFunc><![CDATA[ return N,K,MINT,MAXT,AVERAGET,SYRLISTT]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>28/6/2005 - 14:8:24</creation-date>
- <lastmodification-date>28/6/2005 - 14:8:24</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1048</x-position>
- <y-position>555</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>test_ISEVEN</fromnode-name>
- <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>544</x>
- <y>256</y> </coord>
- <coord>
-<x>544</x>
- <y>524</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test_ISONE</fromnode-name>
- <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValOne</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>546</x>
- <y>237</y> </coord>
- <coord>
-<x>546</x>
- <y>198</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>m3p1</fromnode-name>
- <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>975</x>
- <y>38</y> </coord>
- <coord>
-<x>976</x>
- <y>81</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>div2</fromnode-name>
- <fromserviceparameter-name>anInteger</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1012</x>
- <y>585</y> </coord>
- <coord>
-<x>1011</x>
- <y>346</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>966</x>
- <y>606</y> </coord>
- <coord>
-<x>968</x>
- <y>207</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>965</x>
- <y>59</y> </coord>
- <coord>
-<x>966</x>
- <y>208</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>751</x>
- <y>588</y> </coord>
- <coord>
-<x>751</x>
- <y>460</y> </coord>
- <coord>
-<x>965</x>
- <y>462</y> </coord>
- <coord>
-<x>968</x>
- <y>205</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MIN</fromnode-name>
- <fromserviceparameter-name>aNewMinVal</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>MINT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>991</x>
- <y>78</y> </coord>
- <coord>
-<x>991</x>
- <y>905</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MIN</fromnode-name>
- <fromserviceparameter-name>aNewMinVal</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>MINT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>991</x>
- <y>626</y> </coord>
- <coord>
-<x>991</x>
- <y>905</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MAX</fromnode-name>
- <fromserviceparameter-name>aNewMaxVal</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>MAXT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>976</x>
- <y>98</y> </coord>
- <coord>
-<x>974</x>
- <y>738</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_MAX</fromnode-name>
- <fromserviceparameter-name>aNewMaxVal</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>MAXT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>972</x>
- <y>648</y> </coord>
- <coord>
-<x>974</x>
- <y>738</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>aNewListOfSyr</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>SYRLISTT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1037</x>
- <y>137</y> </coord>
- <coord>
-<x>1038</x>
- <y>556</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>aNewListOfSyr</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>SYRLISTT</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1038</x>
- <y>686</y> </coord>
- <coord>
-<x>1038</x>
- <y>555</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>anAverage</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>AVERAGET</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1026</x>
- <y>118</y> </coord>
- <coord>
-<x>1027</x>
- <y>567</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_AVERAGE</fromnode-name>
- <fromserviceparameter-name>anAverage</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>AVERAGET</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1027</x>
- <y>668</y> </coord>
- <coord>
-<x>1026</x>
- <y>568</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>C_LISTOFSYR</fromnode-name>
- <fromserviceparameter-name>aListOfSyr</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>SYRLISTB</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISONE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>361</x>
- <y>197</y> </coord>
- <coord>
-<x>360</x>
- <y>290</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISEVEN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>359</x>
- <y>525</y> </coord>
- <coord>
-<x>361</x>
- <y>291</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>MIN</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>MIN</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>MAX</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>MAX</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>AVERAGE</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>AVERAGE</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>SYRLIST</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>SYRLIST</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>777</x>
- <y>351</y> </coord>
- <coord>
-<x>777</x>
- <y>286</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>757</x>
- <y>95</y> </coord>
- <coord>
-<x>757</x>
- <y>310</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>741</x>
- <y>72</y> </coord>
- <coord>
-<x>741</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_MIN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>744</x>
- <y>923</y> </coord>
- <coord>
-<x>742</x>
- <y>331</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_MAX</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>742</x>
- <y>759</y> </coord>
- <coord>
-<x>743</x>
- <y>332</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>741</x>
- <y>568</y> </coord>
- <coord>
-<x>742</x>
- <y>330</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>incr</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>766</x>
- <y>207</y> </coord>
- <coord>
-<x>766</x>
- <y>343</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MINT</fromserviceparameter-name>
- <tonode-name>C_MIN</tonode-name>
- <toserviceparameter-name>aMinVal</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>760</x>
- <y>904</y> </coord>
- <coord>
-<x>756</x>
- <y>372</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MINT</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>MINT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MAXT</fromserviceparameter-name>
- <tonode-name>C_MAX</tonode-name>
- <toserviceparameter-name>aMaxVal</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>765</x>
- <y>742</y> </coord>
- <coord>
-<x>766</x>
- <y>384</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>MAXT</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>MAXT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>AVERAGET</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>AVERAGET</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>SYRLISTT</fromserviceparameter-name>
- <tonode-name>C_AVERAGE</tonode-name>
- <toserviceparameter-name>aListOfSyr</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>773</x>
- <y>546</y> </coord>
- <coord>
-<x>772</x>
- <y>424</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>control_m3p1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>553</x>
- <y>453</y> </coord>
- <coord>
-<x>554</x>
- <y>1025</y> </coord>
- <coord>
-<x>1242</x>
- <y>1026</y> </coord>
- <coord>
-<x>1234</x>
- <y>204</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_div2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>176</x>
- <y>419</y> </coord>
- <coord>
-<x>176</x>
- <y>997</y> </coord>
- <coord>
-<x>1217</x>
- <y>996</y> </coord>
- <coord>
-<x>1223</x>
- <y>711</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSyrControlAveValid</fromnode-name>
- <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>NB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>31</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveValid</fromnode-name>
- <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>KB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveValid</fromnode-name>
- <fromserviceparameter-name>label_begin__MINB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>MINB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveValid</fromnode-name>
- <fromserviceparameter-name>label_begin__MAXB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>MAXB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlAveValid</fromnode-name>
- <fromserviceparameter-name>label_begin__AVERAGEB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>AVERAGEB</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSyrControlDefault</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphSyrControlDefault</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__KB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>test__Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndSwitch_OneEven__K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>19/3/2003 - 16:49:51</creation-date>
- <lastmodification-date>20/1/2005 - 13:15:44</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>test_ISEVEN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISEVEN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolEven</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>20/1/2005 - 13:15:28</creation-date>
- <lastmodification-date>20/1/2005 - 13:15:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISEVEN from SyrComponent</comment>
- <x-position>204</x-position>
- <y-position>444</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>test_ISONE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_ISONE</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>BoolOne</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>20/1/2005 - 13:15:28</creation-date>
- <lastmodification-date>20/1/2005 - 13:15:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISONE from SyrComponent</comment>
- <x-position>201</x-position>
- <y-position>52</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>m3p1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_M3P1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>anEvenInteger</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>20/1/2005 - 13:15:28</creation-date>
- <lastmodification-date>20/1/2005 - 13:15:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_M3P1 from SyrComponent</comment>
- <x-position>806</x-position>
- <y-position>19</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>
-<service-name>C_DIV2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>20/1/2005 - 13:15:29</creation-date>
- <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_DIV2 from SyrComponent</comment>
- <x-position>803</x-position>
- <y-position>451</y-position> </node>
- <node>
-<component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>incr</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>20/1/2005 - 13:15:29</creation-date>
- <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_INCR from SyrComponent</comment>
- <x-position>802</x-position>
- <y-position>170</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_begin</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_begin</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NB</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KB</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_begin</FuncName>
- <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>20/1/2005 - 13:15:29</creation-date>
- <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>12</x-position>
- <y-position>264</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_test</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>label_test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>label_test</FuncName>
- <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>20/1/2005 - 13:15:29</creation-date>
- <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>415</x-position>
- <y-position>206</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>test</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch_OneEven</coupled-node>
- <service>
-<service-name>test</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Switch_OneEven</FuncName>
- <PyFunc><![CDATA[def Switch_OneEven( ValOne , ValEven , NT , KT ) :]]></PyFunc>
- <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
- <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ return Incr,Even,Odd,NT,KT]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/1/2005 - 13:15:29</creation-date>
- <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>597</x-position>
- <y-position>251</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch_OneEven</node-name>
- <kind>7</kind>
- <coupled-node>test</coupled-node>
- <service>
-<service-name>EndSwitch_OneEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/1/2005 - 13:15:29</creation-date>
- <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1074</x-position>
- <y-position>367</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_m3p1</node-name>
- <kind>8</kind>
- <coupled-node>label_test</coupled-node>
- <service>
-<service-name>control_m3p1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<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>20/1/2005 - 13:15:29</creation-date>
- <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1002</x-position>
- <y-position>64</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_div2</node-name>
- <kind>8</kind>
- <coupled-node>label_begin</coupled-node>
- <service>
-<service-name>control_div2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>NB</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>KB</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>control_div2</FuncName>
- <PyFunc><![CDATA[def control_div2( N , NB ) :]]></PyFunc>
- <PyFunc><![CDATA[ return N,NB]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>20/1/2005 - 13:15:29</creation-date>
- <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1013</x-position>
- <y-position>496</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>test_ISEVEN</fromnode-name>
- <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>381</x>
- <y>286</y> </coord>
- <coord>
-<x>382</x>
- <y>524</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test_ISONE</fromnode-name>
- <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValOne</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>393</x>
- <y>314</y> </coord>
- <coord>
-<x>393</x>
- <y>133</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>m3p1</fromnode-name>
- <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>div2</fromnode-name>
- <fromserviceparameter-name>anInteger</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>985</x>
- <y>128</y> </coord>
- <coord>
-<x>985</x>
- <y>250</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>987</x>
- <y>559</y> </coord>
- <coord>
-<x>985</x>
- <y>250</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISEVEN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>191</x>
- <y>524</y> </coord>
- <coord>
-<x>192</x>
- <y>345</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISONE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>192</x>
- <y>131</y> </coord>
- <coord>
-<x>193</x>
- <y>345</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>ValEven</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <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/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>793</x>
- <y>567</y> </coord>
- <coord>
-<x>792</x>
- <y>314</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>786</x>
- <y>132</y> </coord>
- <coord>
-<x>785</x>
- <y>343</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>767</x>
- <y>100</y> </coord>
- <coord>
-<x>767</x>
- <y>371</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>768</x>
- <y>531</y> </coord>
- <coord>
-<x>767</x>
- <y>371</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>incr</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>773</x>
- <y>251</y> </coord>
- <coord>
-<x>774</x>
- <y>400</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>test</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch_OneEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>control_m3p1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>402</x>
- <y>406</y> </coord>
- <coord>
-<x>403</x>
- <y>4</y> </coord>
- <coord>
-<x>1174</x>
- <y>5</y> </coord>
- <coord>
-<x>1175</x>
- <y>219</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>control_div2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>3</x>
- <y>409</y> </coord>
- <coord>
-<x>2</x>
- <y>671</y> </coord>
- <coord>
-<x>1199</x>
- <y>670</y> </coord>
- <coord>
-<x>1198</x>
- <y>592</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphSyrControlDefault</fromnode-name>
- <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>NB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>7</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphSyrControlDefault</fromnode-name>
- <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>KB</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphSyrControlGUI_2</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>GraphSyrControlGUI_2</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__NB</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>label_begin__KB</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>label_test__Finished</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>label_test__Incr</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 18:28:48</creation-date>
- <lastmodification-date>1/2/2007 - 10:25:28</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>test_ISEVEN</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>C_ISEVEN</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>BoolEven</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/2/2007 - 10:25:28</creation-date>
- <lastmodification-date>1/2/2007 - 10:25:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISEVEN from SyrComponent</comment>
- <x-position>288</x-position>
- <y-position>337</y-position>
- </node>
- <node>
- <component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>test_ISONE</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>C_ISONE</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>anInteger</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>BoolOne</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/2/2007 - 10:25:28</creation-date>
- <lastmodification-date>1/2/2007 - 10:25:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_ISONE from SyrComponent</comment>
- <x-position>293</x-position>
- <y-position>130</y-position>
- </node>
- <node>
- <component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>m3p1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>C_M3P1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>anOddInteger</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>anEvenInteger</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/2/2007 - 10:25:28</creation-date>
- <lastmodification-date>1/2/2007 - 10:25:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_M3P1 from SyrComponent</comment>
- <x-position>761</x-position>
- <y-position>19</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>
- <service-name>C_DIV2</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/2/2007 - 10:25:28</creation-date>
- <lastmodification-date>1/2/2007 - 10:25:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_DIV2 from SyrComponent</comment>
- <x-position>770</x-position>
- <y-position>384</y-position>
- </node>
- <node>
- <component-name>SyrComponent</component-name>
- <interface-name>SyrComponent</interface-name>
- <node-name>incr</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>C_INCR</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <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>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>1/2/2007 - 10:25:28</creation-date>
- <lastmodification-date>1/2/2007 - 10:25:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>C_INCR from SyrComponent</comment>
- <x-position>764</x-position>
- <y-position>179</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_begin</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>label_begin</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>NB</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>KB</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>label_begin</FuncName>
- <PyFunc><![CDATA[def label_begin( NB , KB ) :]]></PyFunc>
- <PyFunc><![CDATA[ return NB,KB]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>1/2/2007 - 10:25:28</creation-date>
- <lastmodification-date>1/2/2007 - 10:25:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>58</x-position>
- <y-position>189</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>label_test</node-name>
- <kind>6</kind>
- <coupled-node>EndL_OneEven</coupled-node>
- <service>
- <service-name>label_test</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>ValOne</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>ValEven</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>NT</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>KT</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Finished</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>L_OneEven</FuncName>
- <PyFunc><![CDATA[def L_OneEven( ValOne , ValEven , NT , KT ):]]></PyFunc>
- <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
- <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
- <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
- <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
- <PyFunc><![CDATA[ else :]]></PyFunc>
- <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
- <PyFunc><![CDATA[ Even = 0]]></PyFunc>
- <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>1/2/2007 - 10:25:28</creation-date>
- <lastmodification-date>1/2/2007 - 10:25:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>515</x-position>
- <y-position>190</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndL_OneEven</node-name>
- <kind>7</kind>
- <coupled-node>label_test</coupled-node>
- <service>
- <service-name>EndL_OneEven</service-name>
- <inParameter-list/>
- <outParameter-list/>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>1/2/2007 - 10:25:28</creation-date>
- <lastmodification-date>1/2/2007 - 10:25:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1069</x-position>
- <y-position>310</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_m3p1</node-name>
- <kind>8</kind>
- <coupled-node>label_test</coupled-node>
- <service>
- <service-name>control_m3p1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>ValOne</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>ValEven</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>NT</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>KT</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>C_NotOneIsEven</FuncName>
- <PyFunc><![CDATA[def C_NotOneIsEven( N , K ):]]></PyFunc>
- <PyFunc><![CDATA[ return 0,1,N,K]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>1/2/2007 - 10:25:28</creation-date>
- <lastmodification-date>1/2/2007 - 10:25:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>973</x-position>
- <y-position>59</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>control_div2</node-name>
- <kind>8</kind>
- <coupled-node>label_begin</coupled-node>
- <service>
- <service-name>control_div2</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>NB</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>long</outParameter-type>
- <outParameter-name>KB</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>control_div2</FuncName>
- <PyFunc><![CDATA[def control_div2( N , K ) :]]></PyFunc>
- <PyFunc><![CDATA[ return N,K]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>1/2/2007 - 10:25:28</creation-date>
- <lastmodification-date>1/2/2007 - 10:25:28</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>973</x-position>
- <y-position>424</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>test_ISEVEN</fromnode-name>
- <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValEven</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>493</x>
- <y>241</y>
- </coord>
- <coord>
- <x>492</x>
- <y>405</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>test_ISONE</fromnode-name>
- <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>ValOne</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>476</x>
- <y>222</y>
- </coord>
- <coord>
- <x>476</x>
- <y>202</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>m3p1</fromnode-name>
- <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>div2</fromnode-name>
- <fromserviceparameter-name>anInteger</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_div2</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>954</x>
- <y>475</y>
- </coord>
- <coord>
- <x>953</x>
- <y>251</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>control_m3p1</tonode-name>
- <toserviceparameter-name>K</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>955</x>
- <y>110</y>
- </coord>
- <coord>
- <x>953</x>
- <y>250</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISONE</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>275</x>
- <y>201</y>
- </coord>
- <coord>
- <x>275</x>
- <y>260</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>NT</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>NT</fromserviceparameter-name>
- <tonode-name>test_ISEVEN</tonode-name>
- <toserviceparameter-name>anInteger</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>275</x>
- <y>408</y>
- </coord>
- <coord>
- <x>275</x>
- <y>261</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>label_begin</fromnode-name>
- <fromserviceparameter-name>KT</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>KT</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>476</x>
- <y>282</y>
- </coord>
- <coord>
- <x>475</x>
- <y>515</y>
- </coord>
- <coord>
- <x>260</x>
- <y>515</y>
- </coord>
- <coord>
- <x>260</x>
- <y>280</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>722</x>
- <y>480</y>
- </coord>
- <coord>
- <x>722</x>
- <y>261</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Odd</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>698</x>
- <y>114</y>
- </coord>
- <coord>
- <x>698</x>
- <y>281</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>m3p1</tonode-name>
- <toserviceparameter-name>anOddInteger</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>745</x>
- <y>90</y>
- </coord>
- <coord>
- <x>747</x>
- <y>301</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>div2</tonode-name>
- <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>746</x>
- <y>455</y>
- </coord>
- <coord>
- <x>748</x>
- <y>301</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>incr</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>733</x>
- <y>250</y>
- </coord>
- <coord>
- <x>734</x>
- <y>321</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>label_test</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndL_OneEven</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>control_m3p1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_test</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>504</x>
- <y>344</y>
- </coord>
- <coord>
- <x>505</x>
- <y>5</y>
- </coord>
- <coord>
- <x>1149</x>
- <y>5</y>
- </coord>
- <coord>
- <x>1150</x>
- <y>174</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>control_div2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>34</x>
- <y>304</y>
- </coord>
- <coord>
- <x>34</x>
- <y>592</y>
- </coord>
- <coord>
- <x>1145</x>
- <y>586</y>
- </coord>
- <coord>
- <x>1145</x>
- <y>499</y>
- </coord>
- </coord-list>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>GraphSyrControlGUI_2</fromnode-name>
- <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>NB</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>7</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>GraphSyrControlGUI_2</fromnode-name>
- <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
- <tonode-name>label_begin</tonode-name>
- <toserviceparameter-name>KB</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphTwoLoops</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>aNewDataFlow</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop1__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop1__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop1__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop1__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>17/12/2004 - 11:3:21</creation-date>
- <lastmodification-date>17/12/2004 - 16:23:40</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>Loop1</node-name>
- <kind>4</kind>
- <coupled-node>EndLoop1</coupled-node>
- <service>
-<service-name>Loop1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Loop1</FuncName>
- <PyFunc><![CDATA[def Loop1(Index,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def More(Index,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index < Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/12/2004 - 16:23:40</creation-date>
- <lastmodification-date>17/12/2004 - 16:23:40</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>7</x-position>
- <y-position>175</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoop1</node-name>
- <kind>5</kind>
- <coupled-node>Loop1</coupled-node>
- <service>
-<service-name>EndLoop1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoop1</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/12/2004 - 16:23:40</creation-date>
- <lastmodification-date>17/12/2004 - 16:23:40</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>634</x-position>
- <y-position>177</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/12/2004 - 16:23:40</creation-date>
- <lastmodification-date>17/12/2004 - 16:23:40</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>208</x-position>
- <y-position>179</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoop</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def EndLoop(DoLoop,Index,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index < Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>17/12/2004 - 16:23:40</creation-date>
- <lastmodification-date>17/12/2004 - 16:23:40</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>426</x-position>
- <y-position>180</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Loop1</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoop1</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop1</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoop1</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop1</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoop1</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoop1</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop1</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoop</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndLoop1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphTwoLoops</fromnode-name>
- <fromserviceparameter-name>Loop1__Index</fromserviceparameter-name>
- <tonode-name>Loop1</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphTwoLoops</fromnode-name>
- <fromserviceparameter-name>Loop1__Max</fromserviceparameter-name>
- <tonode-name>Loop1</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>15</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphTwoLoops</fromnode-name>
- <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>2</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphTwoLoops</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>20</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphTwoLoops1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphTwoLoops1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop1__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop1__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Loop__Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop1__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop1__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>17/12/2004 - 11:3:21</creation-date>
- <lastmodification-date>8/7/2005 - 15:57:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</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>Loop1</node-name>
- <kind>4</kind>
- <coupled-node>EndLoop1</coupled-node>
- <service>
-<service-name>Loop1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Loop1</FuncName>
- <PyFunc><![CDATA[def Loop1(Index,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def More(Index,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index < Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 15:51:35</creation-date>
- <lastmodification-date>8/7/2005 - 15:51:35</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>7</x-position>
- <y-position>175</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoop1</node-name>
- <kind>5</kind>
- <coupled-node>Loop1</coupled-node>
- <service>
-<service-name>EndLoop1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoop1</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 15:51:35</creation-date>
- <lastmodification-date>8/7/2005 - 15:51:35</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>634</x-position>
- <y-position>177</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Loop</node-name>
- <kind>4</kind>
- <coupled-node>EndLoop</coupled-node>
- <service>
-<service-name>Loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(Index,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 15:51:35</creation-date>
- <lastmodification-date>8/7/2005 - 15:51:35</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>208</x-position>
- <y-position>179</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndLoop</node-name>
- <kind>5</kind>
- <coupled-node>Loop</coupled-node>
- <service>
-<service-name>EndLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoop</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def EndLoop(DoLoop,Index,Max) : ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index < Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/7/2005 - 15:51:35</creation-date>
- <lastmodification-date>8/7/2005 - 15:51:35</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>426</x-position>
- <y-position>180</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Loop1</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoop1</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop1</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoop1</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop1</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop1</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoop1</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoop1</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop1</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Loop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndLoop</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>EndLoop1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphTwoLoops1</fromnode-name>
- <fromserviceparameter-name>Loop1__Index</fromserviceparameter-name>
- <tonode-name>Loop1</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphTwoLoops1</fromnode-name>
- <fromserviceparameter-name>Loop1__Max</fromserviceparameter-name>
- <tonode-name>Loop1</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>15</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphTwoLoops1</fromnode-name>
- <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
- <tonode-name>Loop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>20</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphTypesCheck</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphTypesCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>BoolCheck\InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>CharCheck\InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>ShortCheck\InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>FloatCheck\InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>LongCheck\InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MiscTypes\InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>StringCheck\InString</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>MiscTypes\OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>MiscTypes\OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>MiscTypes\OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>MiscTypes\OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>MiscTypes\OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>MiscTypes\OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>MiscTypes\OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>MiscTypes\OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 10:53:21</creation-date>
- <lastmodification-date>11/9/2003 - 14:45:54</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>BoolCheck</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>BoolCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 14:45:53</creation-date>
- <lastmodification-date>11/9/2003 - 14:45:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>BoolCheck from TypesCheck</comment>
- <x-position>202</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>CharCheck</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>CharCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 14:45:53</creation-date>
- <lastmodification-date>11/9/2003 - 14:45:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>CharCheck from TypesCheck</comment>
- <x-position>13</x-position>
- <y-position>166</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>ShortCheck</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>ShortCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 14:45:53</creation-date>
- <lastmodification-date>11/9/2003 - 14:45:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>ShortCheck from TypesCheck</comment>
- <x-position>205</x-position>
- <y-position>258</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>FloatCheck</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>FloatCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 14:45:53</creation-date>
- <lastmodification-date>11/9/2003 - 14:45:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>FloatCheck from TypesCheck</comment>
- <x-position>204</x-position>
- <y-position>409</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>Adder</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 14:45:53</creation-date>
- <lastmodification-date>11/9/2003 - 14:45:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Addition from AddComponent</comment>
- <x-position>16</x-position>
- <y-position>459</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>LongCheck</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>LongCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 14:45:53</creation-date>
- <lastmodification-date>11/9/2003 - 14:45:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>LongCheck from TypesCheck</comment>
- <x-position>17</x-position>
- <y-position>318</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>MiscTypes</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MiscTypes</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>boolean</inParameter-type>
- <inParameter-name>InBool</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>char</inParameter-type>
- <inParameter-name>InChar</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>short</inParameter-type>
- <inParameter-name>InShort</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InLong</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>float</inParameter-type>
- <inParameter-name>InFloat</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>InDouble</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>SuperVisionTest::Adder</inParameter-type>
- <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>boolean</outParameter-type>
- <outParameter-name>OutBool</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>char</outParameter-type>
- <outParameter-name>OutChar</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>short</outParameter-type>
- <outParameter-name>OutShort</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>OutLong</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>float</outParameter-type>
- <outParameter-name>OutFloat</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>OutDouble</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>SuperVisionTest::Adder</outParameter-type>
- <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 14:45:53</creation-date>
- <lastmodification-date>11/9/2003 - 14:45:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MiscTypes from TypesCheck</comment>
- <x-position>431</x-position>
- <y-position>170</y-position> </node>
- <node>
-<component-name>TypesCheck</component-name>
- <interface-name>TypesCheck</interface-name>
- <node-name>StringCheck</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>StringCheck</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>InString</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>string</outParameter-type>
- <outParameter-name>OutString</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/9/2003 - 14:45:53</creation-date>
- <lastmodification-date>11/9/2003 - 14:45:53</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>StringCheck from TypesCheck</comment>
- <x-position>13</x-position>
- <y-position>10</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>BoolCheck</fromnode-name>
- <fromserviceparameter-name>OutBool</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>402</x>
- <y>280</y> </coord>
- <coord>
-<x>401</x>
- <y>188</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>CharCheck</fromnode-name>
- <fromserviceparameter-name>OutChar</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>382</x>
- <y>307</y> </coord>
- <coord>
-<x>382</x>
- <y>247</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>ShortCheck</fromnode-name>
- <fromserviceparameter-name>OutShort</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>FloatCheck</fromnode-name>
- <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>400</x>
- <y>395</y> </coord>
- <coord>
-<x>399</x>
- <y>490</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Addition</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InObjRef</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>415</x>
- <y>453</y> </coord>
- <coord>
-<x>415</x>
- <y>540</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>LongCheck</fromnode-name>
- <fromserviceparameter-name>OutLong</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>383</x>
- <y>367</y> </coord>
- <coord>
-<x>383</x>
- <y>399</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>StringCheck</fromnode-name>
- <fromserviceparameter-name>OutString</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>412</x>
- <y>251</y> </coord>
- <coord>
-<x>411</x>
- <y>91</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphTypesCheck</fromnode-name>
- <fromserviceparameter-name>BoolCheck\InBool</fromserviceparameter-name>
- <tonode-name>BoolCheck</tonode-name>
- <toserviceparameter-name>InBool</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphTypesCheck</fromnode-name>
- <fromserviceparameter-name>CharCheck\InChar</fromserviceparameter-name>
- <tonode-name>CharCheck</tonode-name>
- <toserviceparameter-name>InChar</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>255</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphTypesCheck</fromnode-name>
- <fromserviceparameter-name>ShortCheck\InShort</fromserviceparameter-name>
- <tonode-name>ShortCheck</tonode-name>
- <toserviceparameter-name>InShort</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>16383</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphTypesCheck</fromnode-name>
- <fromserviceparameter-name>FloatCheck\InFloat</fromserviceparameter-name>
- <tonode-name>FloatCheck</tonode-name>
- <toserviceparameter-name>InFloat</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3.14159</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphTypesCheck</fromnode-name>
- <fromserviceparameter-name>LongCheck\InLong</fromserviceparameter-name>
- <tonode-name>LongCheck</tonode-name>
- <toserviceparameter-name>InLong</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>2147483647</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphTypesCheck</fromnode-name>
- <fromserviceparameter-name>MiscTypes\InDouble</fromserviceparameter-name>
- <tonode-name>MiscTypes</tonode-name>
- <toserviceparameter-name>InDouble</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3.14159</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphTypesCheck</fromnode-name>
- <fromserviceparameter-name>StringCheck\InString</fromserviceparameter-name>
- <tonode-name>StringCheck</tonode-name>
- <toserviceparameter-name>InString</toserviceparameter-name>
- <data-value>
-<value-type>18</value-type>
- <value>aString</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphUnValid</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphEssai</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add__FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Div__z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 9:58:58</creation-date>
- <lastmodification-date>8/7/2005 - 16:1:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>8/7/2005 - 16:1:1</creation-date>
- <lastmodification-date>8/7/2005 - 16:1:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>8</x-position>
- <y-position>62</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>8/7/2005 - 16:1:1</creation-date>
- <lastmodification-date>8/7/2005 - 16:1:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>203</x-position>
- <y-position>4</y-position> </node>
- <node>
-<component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>8/7/2005 - 16:1:1</creation-date>
- <lastmodification-date>8/7/2005 - 16:1:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>390</x-position>
- <y-position>62</y-position> </node>
- <node>
-<component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Div</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>8/7/2005 - 16:1:1</creation-date>
- <lastmodification-date>8/7/2005 - 16:1:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Div from DivComponent</comment>
- <x-position>575</x-position>
- <y-position>11</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>182</x>
- <y>113</y> </coord>
- <coord>
-<x>183</x>
- <y>170</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>566</x>
- <y>91</y> </coord>
- <coord>
-<x>566</x>
- <y>49</y> </coord>
- <coord>
-<x>380</x>
- <y>49</y> </coord>
- <coord>
-<x>379</x>
- <y>84</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>379</x>
- <y>141</y> </coord>
- <coord>
-<x>378</x>
- <y>85</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>565</x>
- <y>120</y> </coord>
- <coord>
-<x>565</x>
- <y>141</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>194</x>
- <y>84</y> </coord>
- <coord>
-<x>195</x>
- <y>252</y> </coord>
- <coord>
-<x>566</x>
- <y>252</y> </coord>
- <coord>
-<x>565</x>
- <y>141</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphUnValid</fromnode-name>
- <fromserviceparameter-name>Add__x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphUnValid</fromnode-name>
- <fromserviceparameter-name>Add__y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>4.5</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphUndefinedSymbol</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphUndefinedSymbol</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>UndefinedSymbol__return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>8/12/2004 - 18:16:21</creation-date>
- <lastmodification-date>8/12/2004 - 18:16:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>UndefinedSymbolComponent</component-name>
- <interface-name>UndefinedSymbolComponent</interface-name>
- <node-name>UndefinedSymbol</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>UndefinedSymbol</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>8/12/2004 - 18:16:32</creation-date>
- <lastmodification-date>8/12/2004 - 18:16:32</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>UndefinedSymbol from UndefinedSymbolComponent</comment>
- <x-position>146</x-position>
- <y-position>166</y-position> </node> </node-list>
- <link-list/>
- <data-list/> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphNonVoidEndLoop_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphNonVoidEndLoop_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>24/3/2003 - 14:44:35</creation-date>
- <lastmodification-date>16/12/2004 - 11:17:3</lastmodification-date>
- <editor-release>1.04</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>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ if Min <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Max ]]></PyFunc>
- <PyFunc><![CDATA[ print 'Init',Index,Min,Max,Incr ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def Next(Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + Incr ]]></PyFunc>
- <PyFunc><![CDATA[ print 'Next', Index,Min,Max,Incr ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max,Incr ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/12/2004 - 11:17:3</creation-date>
- <lastmodification-date>16/12/2004 - 11:17:3</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>17</x-position>
- <y-position>257</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoop</FuncName>
- <PyFunc><![CDATA[def EndLoop(DoLoop,Index,Min,Max,Incr) : ]]></PyFunc>
- <PyFunc><![CDATA[ print 'EndLoop',DoLoop,Index,Min,Max,Incr ]]></PyFunc>
- <PyFunc><![CDATA[ if Index == Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max,Incr ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>16/12/2004 - 11:17:3</creation-date>
- <lastmodification-date>16/12/2004 - 11:17:3</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>411</x-position>
- <y-position>260</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Index</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Min</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>Incr</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>InitLoop</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphNonVoidEndLoop_1</fromnode-name>
- <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
- <tonode-name>Init</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>GraphNonVoidEndLoop_1</fromnode-name>
- <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphNonVoidEndLoop_1</fromnode-name>
- <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphNonVoidEndLoop_1</fromnode-name>
- <fromserviceparameter-name>Init__Incr</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>Incr</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphWrongContainerOrComponent</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphEssai</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add__y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub__y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add__FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add__z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Sub__z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 9:58:58</creation-date>
- <lastmodification-date>21/6/2005 - 11:29:39</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>JR</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>NOAddComponent</component-name>
- <interface-name>NOAddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>21/6/2005 - 11:29:24</creation-date>
- <lastmodification-date>21/6/2005 - 11:29:24</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>99</x-position>
- <y-position>304</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>21/6/2005 - 11:29:24</creation-date>
- <lastmodification-date>21/6/2005 - 11:29:24</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>NOComputer/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>98</x-position>
- <y-position>59</y-position> </node> </node-list>
- <link-list/>
- <data-list>
-<data>
-<fromnode-name>GraphWrongContainerOrComponent</fromnode-name>
- <fromserviceparameter-name>Add__x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphWrongContainerOrComponent</fromnode-name>
- <fromserviceparameter-name>Add__y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>4.5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphWrongContainerOrComponent</fromnode-name>
- <fromserviceparameter-name>Sub__x</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1.5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphWrongContainerOrComponent</fromnode-name>
- <fromserviceparameter-name>Sub__y</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>GraphWrongPythonFunctions_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>GraphWrongPythonFunctions_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>22/10/2003 - 10:36:39</creation-date>
- <lastmodification-date>21/6/2005 - 10:54:1</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>JR</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>
-<service-name>IsOdd</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>IsOdd</FuncName>
- <PyFunc><![CDATA[from timed import * ]]></PyFunc>
- <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
- <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
- <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
- <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/6/2005 - 10:54:1</creation-date>
- <lastmodification-date>21/6/2005 - 10:54:1</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>397</x-position>
- <y-position>1</y-position> </node>
- <node>
-<component-name>?</component-name>
- <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>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ Index = Min ]]></PyFunc>
- <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More() ]]></PyFunc>
- <PyFunc><![CDATA[ return toto ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(...) ]]></PyFunc>
- <PyFunc><![CDATA[ return Ok ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/6/2005 - 10:54:1</creation-date>
- <lastmodification-date>21/6/2005 - 10:54:1</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>10</x-position>
- <y-position>108</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInitLoop</node-name>
- <kind>5</kind>
- <coupled-node>InitLoop</coupled-node>
- <service>
-<service-name>EndOfInitLoop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndOfInitLoop</FuncName>
- <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) : ]]></PyFunc>
- <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,Index,Min,Max : ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/6/2005 - 10:54:1</creation-date>
- <lastmodification-date>21/6/2005 - 10:54:1</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>767</x-position>
- <y-position>102</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Switch</node-name>
- <kind>6</kind>
- <coupled-node>EndSwitch</coupled-node>
- <service>
-<service-name>Switch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <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>21/6/2005 - 10:54:1</creation-date>
- <lastmodification-date>21/6/2005 - 10:54:1</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>109</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndSwitch</node-name>
- <kind>7</kind>
- <coupled-node>Switch</coupled-node>
- <service>
-<service-name>EndSwitch</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndSwitch</FuncName>
- <PyFunc><![CDATA[def EndSwitch(a,Even) ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return a, ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/6/2005 - 10:54:1</creation-date>
- <lastmodification-date>21/6/2005 - 10:54:1</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>587</x-position>
- <y-position>103</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>ValEven</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>ValEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>ValEven</FuncName>
- <PyFunc><![CDATA[from timed import * ]]></PyFunc>
- <PyFunc><![CDATA[def ValEven(Even) : ]]></PyFunc>
- <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
- <PyFunc><![CDATA[ return Even ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>21/6/2005 - 10:54:1</creation-date>
- <lastmodification-date>21/6/2005 - 10:54:1</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>396</x-position>
- <y-position>222</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>IsOdd</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </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>
-<fromnode-name>InitLoop</fromnode-name>
- <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>
-<fromnode-name>InitLoop</fromnode-name>
- <fromserviceparameter-name>Max</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInitLoop</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>InitLoop</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <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>ValEven</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>IsOdd</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Switch</fromnode-name>
- <fromserviceparameter-name>Default</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Default</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndSwitch</fromnode-name>
- <fromserviceparameter-name>a</fromserviceparameter-name>
- <tonode-name>EndOfInitLoop</tonode-name>
- <toserviceparameter-name>Index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>ValEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>EndSwitch</tonode-name>
- <toserviceparameter-name>Even</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>GraphWrongPythonFunctions_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>GraphWrongPythonFunctions_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>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>GraphWrongPythonFunctions_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>23</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Graphs</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Graphs</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add\x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add\y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub\y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Mul\y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add_1\x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add_1\y</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Mul_1\y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Add\FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Div\z</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Div_1\z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>11/3/2003 - 15:3:57</creation-date>
- <lastmodification-date>19/9/2003 - 15:18:32</lastmodification-date>
- <editor-release>1.04</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>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>19/9/2003 - 15:18:1</creation-date>
- <lastmodification-date>19/9/2003 - 15:18:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>30</x-position>
- <y-position>8</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>19/9/2003 - 15:18:1</creation-date>
- <lastmodification-date>19/9/2003 - 15:18:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>241</x-position>
- <y-position>38</y-position> </node>
- <node>
-<component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>19/9/2003 - 15:18:1</creation-date>
- <lastmodification-date>19/9/2003 - 15:18:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>439</x-position>
- <y-position>39</y-position> </node>
- <node>
-<component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Div</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>19/9/2003 - 15:18:1</creation-date>
- <lastmodification-date>19/9/2003 - 15:18:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Div from DivComponent</comment>
- <x-position>633</x-position>
- <y-position>120</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>19/9/2003 - 15:18:1</creation-date>
- <lastmodification-date>19/9/2003 - 15:18:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Add from AddComponent</comment>
- <x-position>13</x-position>
- <y-position>297</y-position> </node>
- <node>
-<component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>19/9/2003 - 15:18:1</creation-date>
- <lastmodification-date>19/9/2003 - 15:18:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>235</x-position>
- <y-position>217</y-position> </node>
- <node>
-<component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>19/9/2003 - 15:18:1</creation-date>
- <lastmodification-date>19/9/2003 - 15:18:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>423</x-position>
- <y-position>375</y-position> </node>
- <node>
-<component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Div</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>19/9/2003 - 15:18:1</creation-date>
- <lastmodification-date>19/9/2003 - 15:18:1</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>Div from DivComponent</comment>
- <x-position>630</x-position>
- <y-position>284</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>426</x>
- <y>201</y> </coord>
- <coord>
-<x>425</x>
- <y>119</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>619</x>
- <y>230</y> </coord>
- <coord>
-<x>620</x>
- <y>120</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add_1</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Mul_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>396</x>
- <y>455</y> </coord>
- <coord>
-<x>395</x>
- <y>378</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add_1</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>215</x>
- <y>297</y> </coord>
- <coord>
-<x>215</x>
- <y>378</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add_1</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>197</x>
- <y>327</y> </coord>
- <coord>
-<x>196</x>
- <y>406</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Sub_1</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>604</x>
- <y>364</y> </coord>
- <coord>
-<x>603</x>
- <y>297</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Mul_1</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>610</x>
- <y>394</y> </coord>
- <coord>
-<x>610</x>
- <y>455</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>Graphs</fromnode-name>
- <fromserviceparameter-name>Add\x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>Graphs</fromnode-name>
- <fromserviceparameter-name>Add\y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>Graphs</fromnode-name>
- <fromserviceparameter-name>Sub\y</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>7</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>Graphs</fromnode-name>
- <fromserviceparameter-name>Mul\y</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>11</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>Graphs</fromnode-name>
- <fromserviceparameter-name>Add_1\x</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>Graphs</fromnode-name>
- <fromserviceparameter-name>Add_1\y</fromserviceparameter-name>
- <tonode-name>Add_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>2</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>Graphs</fromnode-name>
- <fromserviceparameter-name>Mul_1\y</fromserviceparameter-name>
- <tonode-name>Mul_1</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>4</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>test_superv_basic_loop</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>test_superv_basic_loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>fori\index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>fori\min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>fori\max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>fori\sum</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Add\incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Endfori\index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Endfori\min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Endfori\max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Endfori\sum</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>2/5/2003 - 13:43:38</creation-date>
- <lastmodification-date>2/12/2003 - 9:26:10</lastmodification-date>
- <editor-release>1.04</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>Add</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>sum</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Sum</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Sum</FuncName>
- <PyFunc><![CDATA[def Sum(sum,incr): ]]></PyFunc>
- <PyFunc><![CDATA[ result = sum+incr ]]></PyFunc>
- <PyFunc><![CDATA[ return result,incr ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>2/12/2003 - 9:26:10</creation-date>
- <lastmodification-date>2/12/2003 - 9:26:10</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>220</x-position>
- <y-position>40</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>fori</node-name>
- <kind>4</kind>
- <coupled-node>Endfori</coupled-node>
- <service>
-<service-name>fori</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>sum</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>sum</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(index,min,max,sum): ]]></PyFunc>
- <PyFunc><![CDATA[ if max > min : ]]></PyFunc>
- <PyFunc><![CDATA[ index = min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ index = max ]]></PyFunc>
- <PyFunc><![CDATA[ #print index,min,max,sum ]]></PyFunc>
- <PyFunc><![CDATA[ return index,min,max,sum ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(index,min,max,sum): ]]></PyFunc>
- <PyFunc><![CDATA[ OutLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if max > index : ]]></PyFunc>
- <PyFunc><![CDATA[ OutLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ #print OutLoop,index,min,max,sum ]]></PyFunc>
- <PyFunc><![CDATA[ return OutLoop,index,min,max,sum ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(index,min,max,sum): ]]></PyFunc>
- <PyFunc><![CDATA[ index = index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ #print index,min,max,sum ]]></PyFunc>
- <PyFunc><![CDATA[ return index,min,max,sum ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>2/12/2003 - 9:26:10</creation-date>
- <lastmodification-date>2/12/2003 - 9:26:10</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>12</x-position>
- <y-position>0</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Endfori</node-name>
- <kind>5</kind>
- <coupled-node>fori</coupled-node>
- <service>
-<service-name>Endfori</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>sum</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>sum</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>2/12/2003 - 9:26:10</creation-date>
- <lastmodification-date>2/12/2003 - 9:26:10</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>432</x-position>
- <y-position>0</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>Sum</fromserviceparameter-name>
- <tonode-name>Endfori</tonode-name>
- <toserviceparameter-name>sum</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>fori</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Endfori</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>fori</fromnode-name>
- <fromserviceparameter-name>index</fromserviceparameter-name>
- <tonode-name>Endfori</tonode-name>
- <toserviceparameter-name>index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>fori</fromnode-name>
- <fromserviceparameter-name>index</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>incr</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>186</x>
- <y>150</y> </coord>
- <coord>
-<x>187</x>
- <y>34</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>fori</fromnode-name>
- <fromserviceparameter-name>min</fromserviceparameter-name>
- <tonode-name>Endfori</tonode-name>
- <toserviceparameter-name>min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>fori</fromnode-name>
- <fromserviceparameter-name>max</fromserviceparameter-name>
- <tonode-name>Endfori</tonode-name>
- <toserviceparameter-name>max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>fori</fromnode-name>
- <fromserviceparameter-name>sum</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>sum</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Endfori</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>fori</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>8</x>
- <y>215</y> </coord>
- <coord>
-<x>7</x>
- <y>5</y> </coord>
- <coord>
-<x>747</x>
- <y>5</y> </coord>
- <coord>
-<x>748</x>
- <y>214</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>test_superv_basic_loop</fromnode-name>
- <fromserviceparameter-name>fori\index</fromserviceparameter-name>
- <tonode-name>fori</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>test_superv_basic_loop</fromnode-name>
- <fromserviceparameter-name>fori\min</fromserviceparameter-name>
- <tonode-name>fori</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>test_superv_basic_loop</fromnode-name>
- <fromserviceparameter-name>fori\max</fromserviceparameter-name>
- <tonode-name>fori</tonode-name>
- <toserviceparameter-name>max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1001</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>test_superv_basic_loop</fromnode-name>
- <fromserviceparameter-name>fori\sum</fromserviceparameter-name>
- <tonode-name>fori</tonode-name>
- <toserviceparameter-name>sum</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>aNewDataFlow</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Macro_aNewDataFlow_1__sum__a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Macro_aNewDataFlow_1__sum__b</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDZ</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theX1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theY1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theZ1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theX2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theY2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theZ2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theZ</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theRadius</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>SetStudyID__theStudyID</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>MakeFuse_1__return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>29/10/2004 - 14:37:33</creation-date>
- <lastmodification-date>11/11/2004 - 13:15:14</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Macro_aNewDataFlow_1</node-name>
- <kind>10</kind>
- <coupled-node>aNewDataFlow_1</coupled-node>
- <service>
-<service-name>aNewDataFlow_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>sum__a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>sum__b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Mult__b</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/11/2004 - 13:11:17</creation-date>
- <lastmodification-date>11/11/2004 - 13:11:17</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Macro Node</comment>
- <x-position>480</x-position>
- <y-position>145</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>TranslateDXDYDZ</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>TranslateDXDYDZ</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theObject</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theDX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theDY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theDZ</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 13:11:58</creation-date>
- <lastmodification-date>11/11/2004 - 13:11:58</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>TranslateDXDYDZ from GEOM_Superv</comment>
- <x-position>735</x-position>
- <y-position>14</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeCopy</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeCopy</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theOriginal</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 13:12:24</creation-date>
- <lastmodification-date>11/11/2004 - 13:12:24</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeCopy from GEOM_Superv</comment>
- <x-position>477</x-position>
- <y-position>14</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeBox</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeBox</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theX1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theY1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theZ1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theX2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theY2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theZ2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 13:12:49</creation-date>
- <lastmodification-date>11/11/2004 - 13:12:49</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeBox from GEOM_Superv</comment>
- <x-position>219</x-position>
- <y-position>14</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeCopy_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeCopy</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theOriginal</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 13:13:9</creation-date>
- <lastmodification-date>11/11/2004 - 13:13:9</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeCopy from GEOM_Superv</comment>
- <x-position>482</x-position>
- <y-position>306</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeFuse</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeFuse</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 13:13:47</creation-date>
- <lastmodification-date>11/11/2004 - 13:13:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeFuse from GEOM_Superv</comment>
- <x-position>950</x-position>
- <y-position>121</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeSphere</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeSphere</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theZ</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theRadius</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 13:14:15</creation-date>
- <lastmodification-date>11/11/2004 - 13:14:15</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeSphere from GEOM_Superv</comment>
- <x-position>227</x-position>
- <y-position>409</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeFuse_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeFuse</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 13:14:36</creation-date>
- <lastmodification-date>11/11/2004 - 13:14:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeFuse from GEOM_Superv</comment>
- <x-position>1217</x-position>
- <y-position>389</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>SetStudyID</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SetStudyID</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>theStudyID</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 13:15:1</creation-date>
- <lastmodification-date>11/11/2004 - 13:15:1</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>SetStudyID from GEOM_Superv</comment>
- <x-position>7</x-position>
- <y-position>269</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Macro_aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>Mult__b</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDY</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>TranslateDXDYDZ</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeCopy</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theObject</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeBox</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeCopy</tonode-name>
- <toserviceparameter-name>theOriginal</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeBox</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>theOriginal</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeFuse</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>theShape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeSphere</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>theShape2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SetStudyID</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>SetStudyID</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>Macro_aNewDataFlow_1__sum__a</fromserviceparameter-name>
- <tonode-name>Macro_aNewDataFlow_1</tonode-name>
- <toserviceparameter-name>sum__a</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>Macro_aNewDataFlow_1__sum__b</fromserviceparameter-name>
- <tonode-name>Macro_aNewDataFlow_1</tonode-name>
- <toserviceparameter-name>sum__b</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>2</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDX</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDX</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>25</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDZ</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDZ</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>25</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeBox__theX1</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theX1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeBox__theY1</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theY1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeBox__theZ1</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theZ1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeBox__theX2</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theX2</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>50</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeBox__theY2</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theY2</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>50</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeBox__theZ2</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theZ2</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>50</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theX</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theX</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theY</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theY</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theZ</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theZ</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theRadius</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theRadius</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>12</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>SetStudyID__theStudyID</fromserviceparameter-name>
- <tonode-name>SetStudyID</tonode-name>
- <toserviceparameter-name>theStudyID</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow>
- <dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>aNewDataFlow_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>sum__a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>sum__b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Mult__b</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>29/10/2004 - 14:40:44</creation-date>
- <lastmodification-date>11/11/2004 - 13:11:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Mult</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mult</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>b</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Mult</FuncName>
- <PyFunc><![CDATA[def Mult(a): ]]></PyFunc>
- <PyFunc><![CDATA[ b = a*3 ]]></PyFunc>
- <PyFunc><![CDATA[ return b ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/11/2004 - 13:11:18</creation-date>
- <lastmodification-date>11/11/2004 - 13:11:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>382</x-position>
- <y-position>78</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>sum</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>sum</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>s</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>sum</FuncName>
- <PyFunc><![CDATA[def sum(a, b): ]]></PyFunc>
- <PyFunc><![CDATA[ return a+b]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>11/11/2004 - 13:11:18</creation-date>
- <lastmodification-date>11/11/2004 - 13:11:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>47</x-position>
- <y-position>87</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>sum</fromnode-name>
- <fromserviceparameter-name>s</fromserviceparameter-name>
- <tonode-name>Mult</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_1_4</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>aNewDataFlow_1_4</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Macro_aNewDataFlow_1__sum__a</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Macro_aNewDataFlow_1__sum__b</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDZ</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theX1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theY1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theZ1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theX2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theY2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox__theZ2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theZ</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theRadius</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>SetStudyID__theStudyID</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>MakeFuse_1__return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>29/10/2004 - 14:37:33</creation-date>
- <lastmodification-date>3/3/2006 - 17:3:13</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Macro_aNewDataFlow_1</node-name>
- <kind>10</kind>
- <coupled-node>aNewDataFlow_1_1_2</coupled-node>
- <service>
- <service-name>aNewDataFlow_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>sum__a</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>sum__b</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Mult__b</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>3/3/2006 - 17:2:48</creation-date>
- <lastmodification-date>3/3/2006 - 17:2:48</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Macro Node</comment>
- <x-position>718</x-position>
- <y-position>263</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>TranslateDXDYDZ</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>TranslateDXDYDZ</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theObject</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theDX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theDY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theDZ</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/3/2006 - 17:2:48</creation-date>
- <lastmodification-date>3/3/2006 - 17:2:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>TranslateDXDYDZ from GEOM_Superv</comment>
- <x-position>1051</x-position>
- <y-position>118</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeCopy</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeCopy</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theOriginal</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/3/2006 - 17:2:48</creation-date>
- <lastmodification-date>3/3/2006 - 17:2:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeCopy from GEOM_Superv</comment>
- <x-position>656</x-position>
- <y-position>101</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeBox</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeBox</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theX1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theY1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theZ1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theX2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theY2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theZ2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/3/2006 - 17:2:48</creation-date>
- <lastmodification-date>3/3/2006 - 17:2:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeBox from GEOM_Superv</comment>
- <x-position>219</x-position>
- <y-position>14</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeCopy_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeCopy</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theOriginal</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/3/2006 - 17:2:48</creation-date>
- <lastmodification-date>3/3/2006 - 17:2:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeCopy from GEOM_Superv</comment>
- <x-position>1286</x-position>
- <y-position>14</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeFuse</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeFuse</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/3/2006 - 17:2:48</creation-date>
- <lastmodification-date>3/3/2006 - 17:2:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeFuse from GEOM_Superv</comment>
- <x-position>1549</x-position>
- <y-position>146</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeSphere</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeSphere</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theZ</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theRadius</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/3/2006 - 17:2:48</creation-date>
- <lastmodification-date>3/3/2006 - 17:2:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeSphere from GEOM_Superv</comment>
- <x-position>1749</x-position>
- <y-position>41</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeFuse_1</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeFuse</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/3/2006 - 17:2:48</creation-date>
- <lastmodification-date>3/3/2006 - 17:2:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeFuse from GEOM_Superv</comment>
- <x-position>2007</x-position>
- <y-position>210</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>SetStudyID</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>SetStudyID</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>theStudyID</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list/>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>3/3/2006 - 17:2:48</creation-date>
- <lastmodification-date>3/3/2006 - 17:2:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>SetStudyID from GEOM_Superv</comment>
- <x-position>7</x-position>
- <y-position>269</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>Macro_aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>Mult__b</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDY</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>TranslateDXDYDZ</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>TranslateDXDYDZ</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theObject</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeBox</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeCopy</tonode-name>
- <toserviceparameter-name>theOriginal</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeBox</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>theOriginal</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeBox</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeCopy</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape2</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeFuse</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>theShape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeFuse</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>theShape2</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>SetStudyID</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>Macro_aNewDataFlow_1__sum__a</fromserviceparameter-name>
- <tonode-name>Macro_aNewDataFlow_1</tonode-name>
- <toserviceparameter-name>sum__a</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>1</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>Macro_aNewDataFlow_1__sum__b</fromserviceparameter-name>
- <tonode-name>Macro_aNewDataFlow_1</tonode-name>
- <toserviceparameter-name>sum__b</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>2</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDX</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDX</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>25</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDZ</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDZ</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>25</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>MakeBox__theX1</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theX1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>MakeBox__theY1</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theY1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>MakeBox__theZ1</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theZ1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>MakeBox__theX2</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theX2</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>50</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>MakeBox__theY2</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theY2</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>50</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>MakeBox__theZ2</fromserviceparameter-name>
- <tonode-name>MakeBox</tonode-name>
- <toserviceparameter-name>theZ2</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>50</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theX</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theX</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theY</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theY</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theZ</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theZ</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theRadius</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theRadius</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>12</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4</fromnode-name>
- <fromserviceparameter-name>SetStudyID__theStudyID</fromserviceparameter-name>
- <tonode-name>SetStudyID</tonode-name>
- <toserviceparameter-name>theStudyID</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>12</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_1_1_2</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>aNewDataFlow_1_1_2</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>sum__a</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>sum__b</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Mult__b</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>29/10/2004 - 14:40:44</creation-date>
- <lastmodification-date>3/3/2006 - 17:2:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Mult</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Mult</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>b</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>Mult</FuncName>
- <PyFunc><![CDATA[def Mult(a): ]]></PyFunc>
- <PyFunc><![CDATA[ b = a*3 ]]></PyFunc>
- <PyFunc><![CDATA[ return b ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>3/3/2006 - 17:2:48</creation-date>
- <lastmodification-date>3/3/2006 - 17:2:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>382</x-position>
- <y-position>78</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>sum</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>sum</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>b</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>s</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>sum</FuncName>
- <PyFunc><![CDATA[def sum(a, b): ]]></PyFunc>
- <PyFunc><![CDATA[ return a+b]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>3/3/2006 - 17:2:48</creation-date>
- <lastmodification-date>3/3/2006 - 17:2:48</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>47</x-position>
- <y-position>87</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>sum</fromnode-name>
- <fromserviceparameter-name>s</fromserviceparameter-name>
- <tonode-name>Mult</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list/>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_1_4_1_1_1_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>aNewDataFlow_1_4_1_1_1_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__z1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__x2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__y2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__z2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__z1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__radius</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Macro_aNewDataFlow_1_5_1_1__sum__a</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Macro_aNewDataFlow_1_5_1_1__sum__b</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__z1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>MakeFuse_2__shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/8/2004 - 16:28:50</creation-date>
- <lastmodification-date>14/12/2005 - 14:50:46</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>gag</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>gag</service-name>
- <inParameter-list/>
- <outParameter-list/>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>gag</FuncName>
- <PyFunc><![CDATA[from batchmode_geompy import * ]]></PyFunc>
- <PyFunc><![CDATA[def gag(): ]]></PyFunc>
- <PyFunc><![CDATA[ # This is a gag ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:49:53</creation-date>
- <lastmodification-date>14/12/2005 - 14:49:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>0</x-position>
- <y-position>123</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeBox1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeBox1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y2</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>z2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeBox1</FuncName>
- <PyFunc><![CDATA[def MakeBox1(x1,y1,z1,x2,y2,z2): ]]></PyFunc>
- <PyFunc><![CDATA[ aBox = MakeBox(x1,y1,z1,x2,y2,z2) ]]></PyFunc>
- <PyFunc><![CDATA[ return aBox ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:49:53</creation-date>
- <lastmodification-date>14/12/2005 - 14:49:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>3</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeCopy_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeCopy_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeCopy_1</FuncName>
- <PyFunc><![CDATA[def MakeCopy_1(shape1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeCopy(shape1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:49:53</creation-date>
- <lastmodification-date>14/12/2005 - 14:49:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>389</x-position>
- <y-position>3</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeCopy_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeCopy_2</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeCopy_2</FuncName>
- <PyFunc><![CDATA[def MakeCopy_2(shape1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeCopy(shape1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:49:53</creation-date>
- <lastmodification-date>14/12/2005 - 14:49:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>391</x-position>
- <y-position>264</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeSphere_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeSphere_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>radius</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeSphere_1</FuncName>
- <PyFunc><![CDATA[def MakeSphere_1(x1,y1,z1,radius): ]]></PyFunc>
- <PyFunc><![CDATA[ apoint=MakeVertex(x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeSpherePntR(apoint,radius) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:49:53</creation-date>
- <lastmodification-date>14/12/2005 - 14:49:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>641</x-position>
- <y-position>326</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeFuse_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeFuse_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeFuse_1</FuncName>
- <PyFunc><![CDATA[def MakeFuse_1(shape1,shape2): ]]></PyFunc>
- <PyFunc><![CDATA[ # fuse operation 3 ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeBoolean(shape1,shape2,3) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:49:53</creation-date>
- <lastmodification-date>14/12/2005 - 14:49:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>823</x-position>
- <y-position>116</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeFuse_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeFuse_2</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeFuse_2</FuncName>
- <PyFunc><![CDATA[def MakeFuse_2(shape1,shape2): ]]></PyFunc>
- <PyFunc><![CDATA[ # fuse operation 3 ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeBoolean(shape1,shape2,3) ]]></PyFunc>
- <PyFunc><![CDATA[ from SALOME_NamingServicePy import SALOME_NamingServicePy_i ]]></PyFunc>
- <PyFunc><![CDATA[ myNamingService = SALOME_NamingServicePy_i(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ aSession = myNamingService.Resolve('/Kernel/Session') ]]></PyFunc>
- <PyFunc><![CDATA[ aStudyId = aSession.GetActiveStudyId() ]]></PyFunc>
- <PyFunc><![CDATA[ myStudyManager = myNamingService.Resolve('/myStudyManager') ]]></PyFunc>
- <PyFunc><![CDATA[ aStudy = myStudyManager.GetStudyByID(aStudyId) ]]></PyFunc>
- <PyFunc><![CDATA[ aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:49:53</creation-date>
- <lastmodification-date>14/12/2005 - 14:49:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1049</x-position>
- <y-position>295</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Macro_aNewDataFlow_1_5_1_1</node-name>
- <kind>10</kind>
- <coupled-node>aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1</coupled-node>
- <service>
- <service-name>aNewDataFlow_1_5_1_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>sum__a</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>sum__b</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Mult__b</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:49:53</creation-date>
- <lastmodification-date>14/12/2005 - 14:49:53</lastmodification-date>
- <editor-release>3.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Macro Node</comment>
- <x-position>391</x-position>
- <y-position>121</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeTranslation_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeTranslation_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeTranslation_1</FuncName>
- <PyFunc><![CDATA[def MakeTranslation_1(shape1,x1,y1,z1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeTranslation(shape1,x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:49:53</creation-date>
- <lastmodification-date>14/12/2005 - 14:49:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>621</x-position>
- <y-position>12</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>gag</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeBox1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeBox1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeCopy_2</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>373</x>
- <y>211</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeBox1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeCopy_2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>365</x>
- <y>359</y>
- </coord>
- <coord>
- <x>570</x>
- <y>98</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeCopy_2</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape2</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>674</x>
- <y>207</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeCopy_2</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_2</tonode-name>
- <toserviceparameter-name>shape2</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>593</x>
- <y>167</y>
- </coord>
- <coord>
- <x>828</x>
- <y>481</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeFuse_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_2</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>1017</x>
- <y>366</y>
- </coord>
- <coord>
- <x>1017</x>
- <y>187</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeFuse_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeFuse_2</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>1001</x>
- <y>410</y>
- </coord>
- <coord>
- <x>1001</x>
- <y>231</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Macro_aNewDataFlow_1_5_1_1</fromnode-name>
- <fromserviceparameter-name>Mult__b</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeTranslation_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeTranslation_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__x1</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__y1</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__z1</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__x2</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>x2</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>50</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__y2</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>y2</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>50</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__z2</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>z2</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>50</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__x1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__y1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__z1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__radius</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>radius</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>12</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>Macro_aNewDataFlow_1_5_1_1__sum__a</fromserviceparameter-name>
- <tonode-name>Macro_aNewDataFlow_1_5_1_1</tonode-name>
- <toserviceparameter-name>sum__a</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>1</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>Macro_aNewDataFlow_1_5_1_1__sum__b</fromserviceparameter-name>
- <tonode-name>Macro_aNewDataFlow_1_5_1_1</tonode-name>
- <toserviceparameter-name>sum__b</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>2</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__x1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>25</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__z1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>25</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>sum__a</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>sum__b</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Mult__b</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/6/2004 - 17:42:12</creation-date>
- <lastmodification-date>14/12/2005 - 14:49:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>sum</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>sum</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>b</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>s</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>sum</FuncName>
- <PyFunc><![CDATA[def sum(a, b): ]]></PyFunc>
- <PyFunc><![CDATA[ return a+b ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:49:53</creation-date>
- <lastmodification-date>14/12/2005 - 14:49:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>52</x-position>
- <y-position>80</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Mult</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Mult</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>a</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>b</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>Mult</FuncName>
- <PyFunc><![CDATA[def Mult(a): ]]></PyFunc>
- <PyFunc><![CDATA[ b = a*3 ]]></PyFunc>
- <PyFunc><![CDATA[ return b ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:49:53</creation-date>
- <lastmodification-date>14/12/2005 - 14:49:53</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>298</x-position>
- <y-position>72</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>sum</fromnode-name>
- <fromserviceparameter-name>s</fromserviceparameter-name>
- <tonode-name>Mult</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list/>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_1_4_1_1_1_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>aNewDataFlow_1_4_1_1_1_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__z1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__x2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__y2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeBox1__z2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__z1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__radius</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Macro_aNewDataFlow_1_5_1_1__sum__a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Macro_aNewDataFlow_1_5_1_1__sum__b</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__z1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>MakeFuse_2__shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/8/2004 - 16:28:50</creation-date>
- <lastmodification-date>29/10/2004 - 15:25:57</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>gag</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>gag</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>gag</FuncName>
- <PyFunc><![CDATA[from batchmode_geompy import * ]]></PyFunc>
- <PyFunc><![CDATA[def gag(): ]]></PyFunc>
- <PyFunc><![CDATA[ # This is a gag ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:22:47</creation-date>
- <lastmodification-date>29/10/2004 - 15:22:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>0</x-position>
- <y-position>123</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeBox1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeBox1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y2</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeBox1</FuncName>
- <PyFunc><![CDATA[def MakeBox1(x1,y1,z1,x2,y2,z2): ]]></PyFunc>
- <PyFunc><![CDATA[ aBox = MakeBox(x1,y1,z1,x2,y2,z2) ]]></PyFunc>
- <PyFunc><![CDATA[ return aBox ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:22:47</creation-date>
- <lastmodification-date>29/10/2004 - 15:22:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>194</x-position>
- <y-position>3</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeCopy_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeCopy_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeCopy_1</FuncName>
- <PyFunc><![CDATA[def MakeCopy_1(shape1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeCopy(shape1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:22:47</creation-date>
- <lastmodification-date>29/10/2004 - 15:22:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>389</x-position>
- <y-position>3</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeCopy_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeCopy_2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeCopy_2</FuncName>
- <PyFunc><![CDATA[def MakeCopy_2(shape1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeCopy(shape1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:22:47</creation-date>
- <lastmodification-date>29/10/2004 - 15:22:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>391</x-position>
- <y-position>264</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeSphere_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeSphere_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>radius</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeSphere_1</FuncName>
- <PyFunc><![CDATA[def MakeSphere_1(x1,y1,z1,radius): ]]></PyFunc>
- <PyFunc><![CDATA[ apoint=MakeVertex(x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeSpherePntR(apoint,radius) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:22:47</creation-date>
- <lastmodification-date>29/10/2004 - 15:22:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>203</x-position>
- <y-position>315</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeFuse_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeFuse_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeFuse_1</FuncName>
- <PyFunc><![CDATA[def MakeFuse_1(shape1,shape2): ]]></PyFunc>
- <PyFunc><![CDATA[ # fuse operation 3 ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeBoolean(shape1,shape2,3) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:22:47</creation-date>
- <lastmodification-date>29/10/2004 - 15:22:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>823</x-position>
- <y-position>116</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeFuse_2</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeFuse_2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeFuse_2</FuncName>
- <PyFunc><![CDATA[def MakeFuse_2(shape1,shape2): ]]></PyFunc>
- <PyFunc><![CDATA[ # fuse operation 3 ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeBoolean(shape1,shape2,3) ]]></PyFunc>
- <PyFunc><![CDATA[ from SALOME_NamingServicePy import SALOME_NamingServicePy_i ]]></PyFunc>
- <PyFunc><![CDATA[ myNamingService = SALOME_NamingServicePy_i(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ aSession = myNamingService.Resolve('/Kernel/Session') ]]></PyFunc>
- <PyFunc><![CDATA[ if aSession == None : ]]></PyFunc>
- <PyFunc><![CDATA[ aStudyId = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ aStudyId = aSession.GetActiveStudyId() ]]></PyFunc>
- <PyFunc><![CDATA[ myStudyManager = myNamingService.Resolve('/myStudyManager') ]]></PyFunc>
- <PyFunc><![CDATA[ aStudy = myStudyManager.GetStudyByID(aStudyId) ]]></PyFunc>
- <PyFunc><![CDATA[ aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:22:47</creation-date>
- <lastmodification-date>29/10/2004 - 15:22:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1049</x-position>
- <y-position>295</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Macro_aNewDataFlow_1_5_1_1</node-name>
- <kind>10</kind>
- <coupled-node>aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1</coupled-node>
- <service>
-<service-name>aNewDataFlow_1_5_1_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>sum__a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>sum__b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Mult__b</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:22:47</creation-date>
- <lastmodification-date>29/10/2004 - 15:22:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Macro Node</comment>
- <x-position>391</x-position>
- <y-position>121</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeTranslation_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeTranslation_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeTranslation_1</FuncName>
- <PyFunc><![CDATA[def MakeTranslation_1(shape1,x1,y1,z1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeTranslation(shape1,x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:24:21</creation-date>
- <lastmodification-date>29/10/2004 - 15:24:21</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>621</x-position>
- <y-position>12</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>gag</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>gag</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>175</x>
- <y>470</y> </coord>
- <coord>
-<x>175</x>
- <y>198</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>MakeBox1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeBox1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeCopy_2</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>373</x>
- <y>211</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeCopy_2</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape2</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>674</x>
- <y>207</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_2</tonode-name>
- <toserviceparameter-name>shape2</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeFuse_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_2</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1017</x>
- <y>366</y> </coord>
- <coord>
-<x>1017</x>
- <y>187</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Macro_aNewDataFlow_1_5_1_1</fromnode-name>
- <fromserviceparameter-name>Mult__b</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeTranslation_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__x1</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__y1</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__z1</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__x2</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>x2</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>50</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__y2</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>y2</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>50</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeBox1__z2</fromserviceparameter-name>
- <tonode-name>MakeBox1</tonode-name>
- <toserviceparameter-name>z2</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>50</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__x1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__y1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__z1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__radius</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>radius</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>12</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>Macro_aNewDataFlow_1_5_1_1__sum__a</fromserviceparameter-name>
- <tonode-name>Macro_aNewDataFlow_1_5_1_1</tonode-name>
- <toserviceparameter-name>sum__a</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>Macro_aNewDataFlow_1_5_1_1__sum__b</fromserviceparameter-name>
- <tonode-name>Macro_aNewDataFlow_1_5_1_1</tonode-name>
- <toserviceparameter-name>sum__b</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>2</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__x1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>25</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_1_1_1_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__z1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>25</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow>
- <dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>sum__a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>sum__b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Mult__b</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/6/2004 - 17:42:12</creation-date>
- <lastmodification-date>29/10/2004 - 15:22:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>sum</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>sum</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>b</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>s</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>sum</FuncName>
- <PyFunc><![CDATA[def sum(a, b): ]]></PyFunc>
- <PyFunc><![CDATA[ return a+b ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:22:47</creation-date>
- <lastmodification-date>29/10/2004 - 15:22:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>52</x-position>
- <y-position>80</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Mult</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mult</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>b</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Mult</FuncName>
- <PyFunc><![CDATA[def Mult(a): ]]></PyFunc>
- <PyFunc><![CDATA[ b = a*3 ]]></PyFunc>
- <PyFunc><![CDATA[ return b ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:22:47</creation-date>
- <lastmodification-date>29/10/2004 - 15:22:47</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>298</x-position>
- <y-position>72</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>sum</fromnode-name>
- <fromserviceparameter-name>s</fromserviceparameter-name>
- <tonode-name>Mult</tonode-name>
- <toserviceparameter-name>a</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list/> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>NewGraphEssai</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>NewGraphEssai</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Sub\x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add\x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Add\y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>Div\z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>21/11/2001 - 17:17:23</creation-date>
- <lastmodification-date>19/9/2003 - 15:23:10</lastmodification-date>
- <editor-release>1.00</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>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Sub</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>19/9/2003 - 15:20:52</creation-date>
- <lastmodification-date>19/9/2003 - 15:20:52</lastmodification-date>
- <editor-release>1.00</editor-release>
- <author>?</author>
- <container>SubDivServer</container>
- <comment>Sub from SubComponent</comment>
- <x-position>413</x-position>
- <y-position>74</y-position> </node>
- <node>
-<component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>19/9/2003 - 15:20:52</creation-date>
- <lastmodification-date>19/9/2003 - 15:20:52</lastmodification-date>
- <editor-release>1.00</editor-release>
- <author>?</author>
- <container>MulServer</container>
- <comment>Mul from MulComponent</comment>
- <x-position>617</x-position>
- <y-position>268</y-position> </node>
- <node>
-<component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Div</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>19/9/2003 - 15:20:52</creation-date>
- <lastmodification-date>19/9/2003 - 15:20:52</lastmodification-date>
- <editor-release>1.00</editor-release>
- <author>?</author>
- <container>SubDivServer</container>
- <comment>Div from DivComponent</comment>
- <x-position>823</x-position>
- <y-position>74</y-position> </node>
- <node>
-<component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Addition</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Addition</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>Adder</outParameter-type>
- <outParameter-name>Adder</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>19/9/2003 - 15:20:52</creation-date>
- <lastmodification-date>19/9/2003 - 15:20:52</lastmodification-date>
- <editor-release>1.03</editor-release>
- <author>?</author>
- <container>localhost/AddServer</container>
- <comment>Addition from AddComponent</comment>
- <x-position>11</x-position>
- <y-position>268</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Add</node-name>
- <kind>2</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>Adder</inParameter-type>
- <inParameter-name>Adder</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>19/9/2003 - 15:20:52</creation-date>
- <lastmodification-date>19/9/2003 - 15:20:52</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>215</x-position>
- <y-position>268</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>595</x>
- <y>348</y> </coord>
- <coord>
-<x>595</x>
- <y>154</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>805</x>
- <y>183</y> </coord>
- <coord>
-<x>806</x>
- <y>348</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Addition</fromnode-name>
- <fromserviceparameter-name>Adder</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>Adder</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>FuncValue</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>395</x>
- <y>183</y> </coord>
- <coord>
-<x>395</x>
- <y>349</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>NewGraphEssai</fromnode-name>
- <fromserviceparameter-name>Sub\x</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>4.5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>NewGraphEssai</fromnode-name>
- <fromserviceparameter-name>Add\x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1.5</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>NewGraphEssai</fromnode-name>
- <fromserviceparameter-name>Add\y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>3</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>aNewDataFlow_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>SetStudyID__theStudyID</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theZ</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theRadius</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDZ</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>MakeFuse__return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>29/10/2004 - 11:15:45</creation-date>
- <lastmodification-date>11/11/2004 - 13:5:45</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>SetStudyID</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>SetStudyID</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>theStudyID</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 13:3:46</creation-date>
- <lastmodification-date>11/11/2004 - 13:3:46</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>SetStudyID from GEOM_Superv</comment>
- <x-position>9</x-position>
- <y-position>118</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeSphere</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeSphere</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theZ</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theRadius</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 13:4:18</creation-date>
- <lastmodification-date>11/11/2004 - 13:4:18</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeSphere from GEOM_Superv</comment>
- <x-position>202</x-position>
- <y-position>58</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeCopy</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeCopy</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theOriginal</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 13:4:49</creation-date>
- <lastmodification-date>11/11/2004 - 13:4:49</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeCopy from GEOM_Superv</comment>
- <x-position>425</x-position>
- <y-position>11</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>TranslateDXDYDZ</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>TranslateDXDYDZ</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theObject</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theDX</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theDY</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>theDZ</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 13:5:12</creation-date>
- <lastmodification-date>11/11/2004 - 13:5:12</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>TranslateDXDYDZ from GEOM_Superv</comment>
- <x-position>428</x-position>
- <y-position>197</y-position> </node>
- <node>
-<component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeFuse</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeFuse</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>11/11/2004 - 13:5:36</creation-date>
- <lastmodification-date>11/11/2004 - 13:5:36</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeFuse from GEOM_Superv</comment>
- <x-position>651</x-position>
- <y-position>103</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>SetStudyID</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeSphere</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeCopy</tonode-name>
- <toserviceparameter-name>theOriginal</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeSphere</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theObject</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeCopy</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>TranslateDXDYDZ</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape2</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>SetStudyID__theStudyID</fromserviceparameter-name>
- <tonode-name>SetStudyID</tonode-name>
- <toserviceparameter-name>theStudyID</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theX</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theX</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theY</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theY</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theZ</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theZ</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theRadius</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theRadius</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>50</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDX</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDX</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>80</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDY</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDY</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDZ</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDZ</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>aNewDataFlow_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>SetStudyID__theStudyID</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theZ</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere__theRadius</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>TranslateDXDYDZ__theDZ</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>MakeFuse__return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>29/10/2004 - 11:15:45</creation-date>
- <lastmodification-date>14/12/2005 - 14:54:54</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>SetStudyID</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>SetStudyID</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>long</inParameter-type>
- <inParameter-name>theStudyID</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list/>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/12/2005 - 14:54:37</creation-date>
- <lastmodification-date>14/12/2005 - 14:54:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>SetStudyID from GEOM_Superv</comment>
- <x-position>9</x-position>
- <y-position>118</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeSphere</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeSphere</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theZ</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theRadius</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/12/2005 - 14:54:37</creation-date>
- <lastmodification-date>14/12/2005 - 14:54:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeSphere from GEOM_Superv</comment>
- <x-position>202</x-position>
- <y-position>58</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeCopy</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeCopy</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theOriginal</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/12/2005 - 14:54:37</creation-date>
- <lastmodification-date>14/12/2005 - 14:54:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeCopy from GEOM_Superv</comment>
- <x-position>425</x-position>
- <y-position>11</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>TranslateDXDYDZ</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>TranslateDXDYDZ</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theObject</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theDX</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theDY</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>theDZ</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/12/2005 - 14:54:37</creation-date>
- <lastmodification-date>14/12/2005 - 14:54:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>TranslateDXDYDZ from GEOM_Superv</comment>
- <x-position>428</x-position>
- <y-position>197</y-position>
- </node>
- <node>
- <component-name>GEOM_Superv</component-name>
- <interface-name>GEOM_Superv</interface-name>
- <node-name>MakeFuse</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeFuse</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>GEOM_Object</inParameter-type>
- <inParameter-name>theShape2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>GEOM_Object</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>14/12/2005 - 14:54:37</creation-date>
- <lastmodification-date>14/12/2005 - 14:54:37</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>localhost/FactoryServer</container>
- <comment>MakeFuse from GEOM_Superv</comment>
- <x-position>651</x-position>
- <y-position>103</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>SetStudyID</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeCopy</tonode-name>
- <toserviceparameter-name>theOriginal</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theObject</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeCopy</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>390</x>
- <y>352</y>
- </coord>
- <coord>
- <x>618</x>
- <y>107</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>TranslateDXDYDZ</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>theShape2</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>TranslateDXDYDZ</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeFuse</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>SetStudyID__theStudyID</fromserviceparameter-name>
- <tonode-name>SetStudyID</tonode-name>
- <toserviceparameter-name>theStudyID</toserviceparameter-name>
- <data-value>
- <value-type>3</value-type>
- <value>1</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theX</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theX</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theY</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theY</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theZ</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theZ</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere__theRadius</fromserviceparameter-name>
- <tonode-name>MakeSphere</tonode-name>
- <toserviceparameter-name>theRadius</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>50</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDX</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDX</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>80</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDY</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDY</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1</fromnode-name>
- <fromserviceparameter-name>TranslateDXDYDZ__theDZ</fromserviceparameter-name>
- <tonode-name>TranslateDXDYDZ</tonode-name>
- <toserviceparameter-name>theDZ</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
- <dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_1_4_2_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>aNewDataFlow_1_4_2_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__z1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__radius</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__z1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>MakeFuse_1__shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/8/2004 - 16:28:50</creation-date>
- <lastmodification-date>14/12/2005 - 14:55:42</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
- <node-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>gag</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>gag</service-name>
- <inParameter-list/>
- <outParameter-list/>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>gag</FuncName>
- <PyFunc><![CDATA[from batchmode_geompy import * ]]></PyFunc>
- <PyFunc><![CDATA[def gag(): ]]></PyFunc>
- <PyFunc><![CDATA[ # This is a gag ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:55:28</creation-date>
- <lastmodification-date>14/12/2005 - 14:55:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>0</x-position>
- <y-position>123</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeCopy_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeCopy_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeCopy_1</FuncName>
- <PyFunc><![CDATA[def MakeCopy_1(shape1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeCopy(shape1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:55:28</creation-date>
- <lastmodification-date>14/12/2005 - 14:55:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>385</x-position>
- <y-position>3</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeSphere_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeSphere_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>radius</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeSphere_1</FuncName>
- <PyFunc><![CDATA[def MakeSphere_1(x1,y1,z1,radius): ]]></PyFunc>
- <PyFunc><![CDATA[ apoint=MakeVertex(x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeSpherePntR(apoint,radius) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:55:28</creation-date>
- <lastmodification-date>14/12/2005 - 14:55:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>193</x-position>
- <y-position>67</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeTranslation_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeTranslation_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeTranslation_1</FuncName>
- <PyFunc><![CDATA[def MakeTranslation_1(shape1,x1,y1,z1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeTranslation(shape1,x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:55:28</creation-date>
- <lastmodification-date>14/12/2005 - 14:55:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>388</x-position>
- <y-position>146</y-position>
- </node>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeFuse_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>MakeFuse_1</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>objref</inParameter-type>
- <inParameter-name>shape2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <DataStream-list/>
- <PyFunction-list>
- <PyFunction>
- <FuncName>MakeFuse_1</FuncName>
- <PyFunc><![CDATA[def MakeFuse_1(shape1,shape2): ]]></PyFunc>
- <PyFunc><![CDATA[ # fuse operation 3 ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeBoolean(shape1,shape2,3) ]]></PyFunc>
- <PyFunc><![CDATA[ from SALOME_NamingServicePy import SALOME_NamingServicePy_i ]]></PyFunc>
- <PyFunc><![CDATA[ myNamingService = SALOME_NamingServicePy_i(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ aSession = myNamingService.Resolve('/Kernel/Session') ]]></PyFunc>
- <PyFunc><![CDATA[ aStudyId = aSession.GetActiveStudyId() ]]></PyFunc>
- <PyFunc><![CDATA[ myStudyManager = myNamingService.Resolve('/myStudyManager') ]]></PyFunc>
- <PyFunc><![CDATA[ aStudy = myStudyManager.GetStudyByID(aStudyId) ]]></PyFunc>
- <PyFunc><![CDATA[ aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc>
- </PyFunction>
- </PyFunction-list>
- <creation-date>14/12/2005 - 14:55:28</creation-date>
- <lastmodification-date>14/12/2005 - 14:55:28</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>618</x-position>
- <y-position>64</y-position>
- </node>
- </node-list>
- <link-list>
- <link>
- <fromnode-name>gag</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
- <coord>
- <x>363</x>
- <y>301</y>
- </coord>
- <coord>
- <x>568</x>
- <y>98</y>
- </coord>
- </coord-list>
- </link>
- <link>
- <fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeTranslation_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape2</toserviceparameter-name>
- <coord-list/>
- </link>
- <link>
- <fromnode-name>MakeTranslation_1</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/>
- </link>
- </link-list>
- <data-list>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__x1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__y1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__z1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__radius</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>radius</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>50</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__x1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>80</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__y1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- <data>
- <fromnode-name>aNewDataFlow_1_4_2_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__z1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>0</value>
- </data-value>
- <coord-list/>
- </data>
- </data-list>
- </dataflow>
-</supergraph>
-
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow_1_4_2_1</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>aNewDataFlow_1_4_2_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__z1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeSphere_1__radius</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>MakeTranslation_1__z1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>MakeFuse_1__shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>25/8/2004 - 16:28:50</creation-date>
- <lastmodification-date>29/10/2004 - 15:17:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>gag</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>gag</service-name>
- <inParameter-list/>
- <outParameter-list/> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>gag</FuncName>
- <PyFunc><![CDATA[from batchmode_geompy import * ]]></PyFunc>
- <PyFunc><![CDATA[def gag(): ]]></PyFunc>
- <PyFunc><![CDATA[ # This is a gag ]]></PyFunc>
- <PyFunc><![CDATA[ return 1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:17:44</creation-date>
- <lastmodification-date>29/10/2004 - 15:17:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>0</x-position>
- <y-position>123</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeCopy_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeCopy_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeCopy_1</FuncName>
- <PyFunc><![CDATA[def MakeCopy_1(shape1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeCopy(shape1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:17:44</creation-date>
- <lastmodification-date>29/10/2004 - 15:17:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>385</x-position>
- <y-position>3</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeSphere_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeSphere_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>radius</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeSphere_1</FuncName>
- <PyFunc><![CDATA[def MakeSphere_1(x1,y1,z1,radius): ]]></PyFunc>
- <PyFunc><![CDATA[ apoint=MakeVertex(x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ shape=MakeSpherePntR(apoint,radius) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:17:44</creation-date>
- <lastmodification-date>29/10/2004 - 15:17:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>193</x-position>
- <y-position>67</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeTranslation_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeTranslation_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>y1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>z1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeTranslation_1</FuncName>
- <PyFunc><![CDATA[def MakeTranslation_1(shape1,x1,y1,z1): ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeTranslation(shape1,x1,y1,z1) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:17:44</creation-date>
- <lastmodification-date>29/10/2004 - 15:17:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>388</x-position>
- <y-position>146</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>MakeFuse_1</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>MakeFuse_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>shape2</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>shape</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>MakeFuse_1</FuncName>
- <PyFunc><![CDATA[def MakeFuse_1(shape1,shape2): ]]></PyFunc>
- <PyFunc><![CDATA[ # fuse operation 3 ]]></PyFunc>
- <PyFunc><![CDATA[ shape = MakeBoolean(shape1,shape2,3) ]]></PyFunc>
- <PyFunc><![CDATA[ from SALOME_NamingServicePy import SALOME_NamingServicePy_i ]]></PyFunc>
- <PyFunc><![CDATA[ myNamingService = SALOME_NamingServicePy_i(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ aSession = myNamingService.Resolve('/Kernel/Session') ]]></PyFunc>
- <PyFunc><![CDATA[ if aSession == None : ]]></PyFunc>
- <PyFunc><![CDATA[ aStudyId = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ aStudyId = aSession.GetActiveStudyId() ]]></PyFunc>
- <PyFunc><![CDATA[ myStudyManager = myNamingService.Resolve('/myStudyManager') ]]></PyFunc>
- <PyFunc><![CDATA[ aStudy = myStudyManager.GetStudyByID(aStudyId) ]]></PyFunc>
- <PyFunc><![CDATA[ aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ]]></PyFunc>
- <PyFunc><![CDATA[ return shape ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>29/10/2004 - 15:17:44</creation-date>
- <lastmodification-date>29/10/2004 - 15:17:44</lastmodification-date>
- <editor-release>2.0</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>618</x-position>
- <y-position>64</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>gag</fromnode-name>
- <fromserviceparameter-name>Gate</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeCopy_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeCopy_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeSphere_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>shape1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>MakeTranslation_1</fromnode-name>
- <fromserviceparameter-name>shape</fromserviceparameter-name>
- <tonode-name>MakeFuse_1</tonode-name>
- <toserviceparameter-name>shape2</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>aNewDataFlow_1_4_2_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__x1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__y1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__z1</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1</fromnode-name>
- <fromserviceparameter-name>MakeSphere_1__radius</fromserviceparameter-name>
- <tonode-name>MakeSphere_1</tonode-name>
- <toserviceparameter-name>radius</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>50</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__x1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>80</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__y1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>y1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>aNewDataFlow_1_4_2_1</fromnode-name>
- <fromserviceparameter-name>MakeTranslation_1__z1</fromserviceparameter-name>
- <tonode-name>MakeTranslation_1</tonode-name>
- <toserviceparameter-name>z1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<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>
-<service-name>SyrStruct</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>SyrComponent__aComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>forN__max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <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-type>long</outParameter-type>
- <outParameter-name>EndOfforN__K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfforN__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfforN__min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfforN__max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfwhileNotOne__SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfwhileNotOne__N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOffori__i</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <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>
-<service-name>C_M3</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <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>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <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>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <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>
-<service-name>C_DIV2</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <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>
-<service-name>C_INCR</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <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>
- <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>
-<service-name>SyrComponent</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>aContainer</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>string</inParameter-type>
- <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>
- <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>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>
-<service-name>forN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>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>
-<service-name>EndOfforN</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>K</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<service-name>whileNotOne</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>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>
-<service-name>EndOfwhileNotOne</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<service-name>fori</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>i</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>i</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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[ ii = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ return ii,K ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Morefori</FuncName>
- <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>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>
-<service-name>EndOffori</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>i</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>i</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<service-name>whileEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<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>
-<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>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>
-<service-name>EndOfwhileEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<service-name>ifNotEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>SyrComponent</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Odd</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Even</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>SyrComponent</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>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>
-<service-name>EndOfifNotEven</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>N</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>N</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <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>
-<fromnode-name>m3incr</fromnode-name>
- <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
- <tonode-name>EndOfifNotEven</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>1193</x>
- <y>362</y> </coord>
- <coord>
-<x>1191</x>
- <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>
-<fromnode-name>div2</fromnode-name>
- <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>
-<coord>
-<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>
-<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>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>
-<fromnode-name>forN</fromnode-name>
- <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>
-<fromnode-name>forN</fromnode-name>
- <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>
-<fromnode-name>forN</fromnode-name>
- <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
- <tonode-name>whileNotOne</tonode-name>
- <toserviceparameter-name>SyrComponent</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>
-<fromnode-name>forN</fromnode-name>
- <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>
-<fromnode-name>whileNotOne</fromnode-name>
- <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>
-<fromnode-name>whileNotOne</fromnode-name>
- <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>
-<fromnode-name>whileNotOne</fromnode-name>
- <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>
-<fromnode-name>EndOfwhileNotOne</fromnode-name>
- <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>
-<fromnode-name>fori</fromnode-name>
- <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>
-<fromnode-name>EndOffori</fromnode-name>
- <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>
-<coord>
-<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>
-<fromnode-name>whileEven</fromnode-name>
- <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>
-<fromnode-name>whileEven</fromnode-name>
- <fromserviceparameter-name>K</fromserviceparameter-name>
- <tonode-name>incrb</tonode-name>
- <toserviceparameter-name>aCount</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>
-<fromnode-name>EndOfwhileEven</fromnode-name>
- <fromserviceparameter-name>N</fromserviceparameter-name>
- <tonode-name>EndOfifNotEven</tonode-name>
- <toserviceparameter-name>N</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>
-<coord>
-<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>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>Gate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>ifNotEven</fromnode-name>
- <fromserviceparameter-name>Even</fromserviceparameter-name>
- <tonode-name>whileEven</tonode-name>
- <toserviceparameter-name>Gate</toserviceparameter-name>
- <coord-list>
-<coord>
-<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>
-<coord>
-<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>
-<coord>
-<x>603</x>
- <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>
-<coord>
-<x>605</x>
- <y>99</y> </coord>
- <coord>
-<x>604</x>
- <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>
-<coord>
-<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>
-<coord>
-<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>
-<coord>
-<x>1204</x>
- <y>407</y> </coord>
- <coord>
-<x>1203</x>
- <y>12</y> </coord>
- <coord>
-<x>581</x>
- <y>13</y> </coord>
- <coord>
-<x>581</x>
- <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>
-<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>
-<data>
-<fromnode-name>SyrStruct</fromnode-name>
- <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>
-<fromnode-name>SyrStruct</fromnode-name>
- <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>
-<fromnode-name>SyrStruct</fromnode-name>
- <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>
-<fromnode-name>SyrStruct</fromnode-name>
- <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>
-<fromnode-name>SyrStruct</fromnode-name>
- <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>
-<fromnode-name>SyrStruct</fromnode-name>
- <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>
-<fromnode-name>SyrStruct</fromnode-name>
- <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></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>TestSupervMedfieldLoopFori</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>LoopGraph</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>Init__medfield</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Init__x1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndInit__medfield</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>EndInit__x1</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndInit__aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndInit__aView</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>15/9/2003 - 15:25:24</creation-date>
- <lastmodification-date>8/4/2005 - 13:44:4</lastmodification-date>
- <editor-release>1.04</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>InitDisplay</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>InitDisplay</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>InitDisplay</FuncName>
- <PyFunc><![CDATA[from VISU import * ]]></PyFunc>
- <PyFunc><![CDATA[import SALOMEDS ]]></PyFunc>
- <PyFunc><![CDATA[from LifeCycleCORBA import * ]]></PyFunc>
- <PyFunc><![CDATA[from SALOME_NamingServicePy import * ]]></PyFunc>
- <PyFunc><![CDATA[def InitDisplay(): ]]></PyFunc>
- <PyFunc><![CDATA[ # initialize the ORB ]]></PyFunc>
- <PyFunc><![CDATA[ orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
- <PyFunc><![CDATA[ # create an LifeCycleCORBA instance ]]></PyFunc>
- <PyFunc><![CDATA[ lcc = LifeCycleCORBA(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ # ----------------------------------------- ]]></PyFunc>
- <PyFunc><![CDATA[ # Visualization parameters ]]></PyFunc>
- <PyFunc><![CDATA[ #create a naming service instance ]]></PyFunc>
- <PyFunc><![CDATA[ naming_service = SALOME_NamingServicePy_i(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ # get Study Manager reference ]]></PyFunc>
- <PyFunc><![CDATA[ obj = naming_service.Resolve("myStudyManager") ]]></PyFunc>
- <PyFunc><![CDATA[ myStudyManager = obj._narrow(SALOMEDS.StudyManager) ]]></PyFunc>
- <PyFunc><![CDATA[ myStudy = myStudyManager.GetStudyByID(1) ]]></PyFunc>
- <PyFunc><![CDATA[ aVisu = lcc.FindOrLoadComponent("FactoryServer", "VISU") ]]></PyFunc>
- <PyFunc><![CDATA[ print "InitDisplay --> aVisu = ",aVisu ]]></PyFunc>
- <PyFunc><![CDATA[ aVisu.SetCurrentStudy(myStudy); ]]></PyFunc>
- <PyFunc><![CDATA[ aViewManager = aVisu.GetViewManager() ]]></PyFunc>
- <PyFunc><![CDATA[ print "InitDisplay --> aViewManager = ",aViewManager ]]></PyFunc>
- <PyFunc><![CDATA[ aView = aViewManager.Create3DView() ]]></PyFunc>
- <PyFunc><![CDATA[ print "InitDisplay --> aView = ",aView ]]></PyFunc>
- <PyFunc><![CDATA[ return aVisu,aView ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 13:44:4</creation-date>
- <lastmodification-date>8/4/2005 - 13:44:4</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>1</x-position>
- <y-position>105</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>medfield</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aView</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>medfield</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>x1</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(index,min,max,medfield,x1,aVisu,aView): ]]></PyFunc>
- <PyFunc><![CDATA[ if max >= min : ]]></PyFunc>
- <PyFunc><![CDATA[ index = min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ index = max ]]></PyFunc>
- <PyFunc><![CDATA[ print "Init --> index = ",index ]]></PyFunc>
- <PyFunc><![CDATA[ print " min = ",min ]]></PyFunc>
- <PyFunc><![CDATA[ print " max = ",max ]]></PyFunc>
- <PyFunc><![CDATA[ print " medfield = ",medfield ]]></PyFunc>
- <PyFunc><![CDATA[ return index,min,max,medfield,x1,aVisu,aView ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(index,min,max,medfield,x1,aVisu,aView): ]]></PyFunc>
- <PyFunc><![CDATA[ if max >= index : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ print "More --> DoLoop = ",DoLoop ]]></PyFunc>
- <PyFunc><![CDATA[ print " index = ",index ]]></PyFunc>
- <PyFunc><![CDATA[ print " min = ",min ]]></PyFunc>
- <PyFunc><![CDATA[ print " max = ",max ]]></PyFunc>
- <PyFunc><![CDATA[ print " medfield = ",medfield ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,index,min,max,medfield,x1,aVisu,aView ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(index,min,max,medfield,x1,aVisu,aView): ]]></PyFunc>
- <PyFunc><![CDATA[ index = index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ print "Next --> index = ",index ]]></PyFunc>
- <PyFunc><![CDATA[ print " min = ",min ]]></PyFunc>
- <PyFunc><![CDATA[ print " max = ",max ]]></PyFunc>
- <PyFunc><![CDATA[ print " medfield = ",medfield ]]></PyFunc>
- <PyFunc><![CDATA[ return index,min,max,medfield,x1,aVisu,aView ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 13:44:4</creation-date>
- <lastmodification-date>8/4/2005 - 13:44:4</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>LD</author>
- <container>?</container>
- <comment>no comment</comment>
- <x-position>216</x-position>
- <y-position>5</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>medfield</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aView</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>medfield</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>x1</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 13:44:4</creation-date>
- <lastmodification-date>8/4/2005 - 13:44:4</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>LD</author>
- <container>?</container>
- <comment>no comment</comment>
- <x-position>631</x-position>
- <y-position>5</y-position> </node>
- <node>
-<component-name>Calculator</component-name>
- <interface-name>Calculator</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>FIELDDOUBLE</inParameter-type>
- <inParameter-name>field1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>FIELDDOUBLE</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>8/4/2005 - 13:44:4</creation-date>
- <lastmodification-date>8/4/2005 - 13:44:4</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>LD</author>
- <container>localhost/FactoryServer</container>
- <comment>Multiply a field by a constant</comment>
- <x-position>429</x-position>
- <y-position>46</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>InitDisplay</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitDisplay</fromnode-name>
- <fromserviceparameter-name>aView</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>aView</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>index</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>min</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>max</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>medfield</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>field1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>x1</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>x1</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aView</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>aView</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>205</x>
- <y>98</y> </coord>
- <coord>
-<x>204</x>
- <y>21</y> </coord>
- <coord>
-<x>936</x>
- <y>20</y> </coord>
- <coord>
-<x>935</x>
- <y>70</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>medfield</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>TestSupervMedfieldLoopFori</fromnode-name>
- <fromserviceparameter-name>Init__index</fromserviceparameter-name>
- <tonode-name>Init</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>TestSupervMedfieldLoopFori</fromnode-name>
- <fromserviceparameter-name>Init__min</fromserviceparameter-name>
- <tonode-name>Init</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>TestSupervMedfieldLoopFori</fromnode-name>
- <fromserviceparameter-name>Init__max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>55</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>TestSupervMedfieldLoopFori</fromnode-name>
- <fromserviceparameter-name>Init__medfield</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>medfield</toserviceparameter-name>
- <data-value>
-<value-type>14</value-type>
- <value>IOR:010000001f00000049444c3a53414c4f4d455f4d45442f4649454c44444f55424c453a312e300000010000000000000026000000010100000a0000003132372e302e302e3100ead00e000000fe1948673f000058e60000000021</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>TestSupervMedfieldLoopFori</fromnode-name>
- <fromserviceparameter-name>Init__x1</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>2</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>TestSupervMedfieldLoopForiVisu</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>LoopGraph_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>Init__medfield</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Init__x1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndInit__max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndInit__medfield</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>EndInit__x1</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndInit__aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndInit__aView</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>20/6/2003 - 15:13:42</creation-date>
- <lastmodification-date>8/4/2005 - 13:52:51</lastmodification-date>
- <editor-release>1.04</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>InitDisplay</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>InitDisplay</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>InitDisplay</FuncName>
- <PyFunc><![CDATA[from LifeCycleCORBA import * ]]></PyFunc>
- <PyFunc><![CDATA[from VISU import * ]]></PyFunc>
- <PyFunc><![CDATA[def InitDisplay(): ]]></PyFunc>
- <PyFunc><![CDATA[ # initialize the ORB ]]></PyFunc>
- <PyFunc><![CDATA[ orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
- <PyFunc><![CDATA[ # create an LifeCycleCORBA instance ]]></PyFunc>
- <PyFunc><![CDATA[ lcc = LifeCycleCORBA(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ # ----------------------------------------- ]]></PyFunc>
- <PyFunc><![CDATA[ # loading visu component ]]></PyFunc>
- <PyFunc><![CDATA[ aVisu = lcc.FindOrLoadComponent("FactoryServer","VISU") ]]></PyFunc>
- <PyFunc><![CDATA[ print "InitDisplay --> aVisu = ",aVisu ]]></PyFunc>
- <PyFunc><![CDATA[ aViewManager = aVisu.GetViewManager() ]]></PyFunc>
- <PyFunc><![CDATA[ print "InitDisplay --> aViewManager = ",aViewManager ]]></PyFunc>
- <PyFunc><![CDATA[ # aView = aViewManager.GetCurrentView() ]]></PyFunc>
- <PyFunc><![CDATA[ aView = aViewManager.Create3DView() ]]></PyFunc>
- <PyFunc><![CDATA[ print "InitDisplay --> aView = ",aView ]]></PyFunc>
- <PyFunc><![CDATA[ return aVisu,aView ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 13:52:51</creation-date>
- <lastmodification-date>8/4/2005 - 13:52:51</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>0</x-position>
- <y-position>163</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>medfield</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aView</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>medfield</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>x1</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(index,min,max,medfield,x1,aVisu,aView): ]]></PyFunc>
- <PyFunc><![CDATA[ if max >= min : ]]></PyFunc>
- <PyFunc><![CDATA[ index = min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ index = max ]]></PyFunc>
- <PyFunc><![CDATA[ print "Init --> index = ",index ]]></PyFunc>
- <PyFunc><![CDATA[ print " min = ",min ]]></PyFunc>
- <PyFunc><![CDATA[ print " max = ",max ]]></PyFunc>
- <PyFunc><![CDATA[ print " medfield = ",medfield ]]></PyFunc>
- <PyFunc><![CDATA[ return index,min,max,medfield,x1,aVisu,aView ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(index,min,max,medfield,x1,aVisu,aView): ]]></PyFunc>
- <PyFunc><![CDATA[ if max >= index : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ print "More --> DoLoop = ",DoLoop ]]></PyFunc>
- <PyFunc><![CDATA[ print " index = ",index ]]></PyFunc>
- <PyFunc><![CDATA[ print " min = ",min ]]></PyFunc>
- <PyFunc><![CDATA[ print " max = ",max ]]></PyFunc>
- <PyFunc><![CDATA[ print " medfield = ",medfield ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,index,min,max,medfield,x1,aVisu,aView ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(index,min,max,medfield,x1,aVisu,aView): ]]></PyFunc>
- <PyFunc><![CDATA[ index = index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ print "Next --> index = ",index ]]></PyFunc>
- <PyFunc><![CDATA[ print " min = ",min ]]></PyFunc>
- <PyFunc><![CDATA[ print " max = ",max ]]></PyFunc>
- <PyFunc><![CDATA[ print " medfield = ",medfield ]]></PyFunc>
- <PyFunc><![CDATA[ return index,min,max,medfield,x1,aVisu,aView ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 13:52:51</creation-date>
- <lastmodification-date>8/4/2005 - 13:52:51</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>LD</author>
- <container>?</container>
- <comment>no comment</comment>
- <x-position>205</x-position>
- <y-position>63</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>medfield</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aView</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>medfield</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>x1</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 13:52:51</creation-date>
- <lastmodification-date>8/4/2005 - 13:52:51</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>LD</author>
- <container>?</container>
- <comment>no comment</comment>
- <x-position>776</x-position>
- <y-position>64</y-position> </node>
- <node>
-<component-name>Calculator</component-name>
- <interface-name>Calculator</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Mul</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>field1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>return</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>8/4/2005 - 13:52:51</creation-date>
- <lastmodification-date>8/4/2005 - 13:52:51</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>LD</author>
- <container>localhost/FactoryServer</container>
- <comment>Multiply a field by a constant</comment>
- <x-position>387</x-position>
- <y-position>104</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>DisplayMed</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>DisplayMed</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>INmedfield</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aView</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>OUTmedfield</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>DisplayMed</FuncName>
- <PyFunc><![CDATA[import os ]]></PyFunc>
- <PyFunc><![CDATA[import SALOME_MED ]]></PyFunc>
- <PyFunc><![CDATA[from VISU import * ]]></PyFunc>
- <PyFunc><![CDATA[from LifeCycleCORBA import * ]]></PyFunc>
- <PyFunc><![CDATA[def DisplayMed(medfield,index,aVisu,aView): ]]></PyFunc>
- <PyFunc><![CDATA[ # initialize the ORB ]]></PyFunc>
- <PyFunc><![CDATA[ orb = CORBA.ORB_init([''], CORBA.ORB_ID) ]]></PyFunc>
- <PyFunc><![CDATA[ # create an LifeCycleCORBA instance ]]></PyFunc>
- <PyFunc><![CDATA[ lcc = LifeCycleCORBA(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ print " " ]]></PyFunc>
- <PyFunc><![CDATA[ print "***************************************************************" ]]></PyFunc>
- <PyFunc><![CDATA[ calc = lcc.FindOrLoadComponent("FactoryServer", "Calculator") ]]></PyFunc>
- <PyFunc><![CDATA[ print "-----> calc = ",calc ]]></PyFunc>
- <PyFunc><![CDATA[ medfilename = "/tmp/LoopGraphFile" + str(index) + ".med" ]]></PyFunc>
- <PyFunc><![CDATA[ print "-----> Writing Med field in temporary file : ",medfilename ]]></PyFunc>
- <PyFunc><![CDATA[ calc.writeMEDfile(medfield,medfilename) ]]></PyFunc>
- <PyFunc><![CDATA[ print "-----> calc = ",calc ]]></PyFunc>
- <PyFunc><![CDATA[ print "***************************************************************" ]]></PyFunc>
- <PyFunc><![CDATA[ myResult1 = aVisu.ImportFile(medfilename) ]]></PyFunc>
- <PyFunc><![CDATA[ print "-----> myResult1 = ",myResult1 ]]></PyFunc>
- <PyFunc><![CDATA[ field_name = medfield.getName() ]]></PyFunc>
- <PyFunc><![CDATA[ print "-----> field_name = ",field_name ]]></PyFunc>
- <PyFunc><![CDATA[ mesh_name = medfield.getSupport().getMesh().getName() ]]></PyFunc>
- <PyFunc><![CDATA[ print "-----> mesh_name = ",mesh_name ]]></PyFunc>
- <PyFunc><![CDATA[ aMesh1 = aVisu.MeshOnEntity(myResult1,mesh_name,CELL) ]]></PyFunc>
- <PyFunc><![CDATA[ print "-----> aMesh1 = ",aMesh1 ]]></PyFunc>
- <PyFunc><![CDATA[ aScalarMap1 = aVisu.ScalarMapOnField(myResult1,mesh_name,NODE,field_name,1) ]]></PyFunc>
- <PyFunc><![CDATA[ print "-----> aScalarMap1 = ",aScalarMap1 ]]></PyFunc>
- <PyFunc><![CDATA[ aView.DisplayOnly(aScalarMap1) ]]></PyFunc>
- <PyFunc><![CDATA[ aView.FitAll() ]]></PyFunc>
- <PyFunc><![CDATA[ command = "rm " + medfilename ]]></PyFunc>
- <PyFunc><![CDATA[ os.system(command) ]]></PyFunc>
- <PyFunc><![CDATA[ print "-----> Delete temporary Med file : ",medfilename ]]></PyFunc>
- <PyFunc><![CDATA[ print "***************************************************************" ]]></PyFunc>
- <PyFunc><![CDATA[ print " " ]]></PyFunc>
- <PyFunc><![CDATA[ return medfield ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 13:52:51</creation-date>
- <lastmodification-date>8/4/2005 - 13:52:51</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>594</x-position>
- <y-position>105</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>InitDisplay</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitDisplay</fromnode-name>
- <fromserviceparameter-name>aView</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>aView</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>index</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>index</fromserviceparameter-name>
- <tonode-name>DisplayMed</tonode-name>
- <toserviceparameter-name>index</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>566</x>
- <y>215</y> </coord>
- <coord>
-<x>566</x>
- <y>96</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>min</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>max</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>medfield</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>field1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>x1</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>x1</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>DisplayMed</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>570</x>
- <y>242</y> </coord>
- <coord>
-<x>569</x>
- <y>263</y> </coord>
- <coord>
-<x>377</x>
- <y>264</y> </coord>
- <coord>
-<x>376</x>
- <y>242</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aView</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>aView</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aView</fromserviceparameter-name>
- <tonode-name>DisplayMed</tonode-name>
- <toserviceparameter-name>aView</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>205</x>
- <y>233</y> </coord>
- <coord>
-<x>204</x>
- <y>21</y> </coord>
- <coord>
-<x>936</x>
- <y>20</y> </coord>
- <coord>
-<x>935</x>
- <y>235</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>DisplayMed</tonode-name>
- <toserviceparameter-name>INmedfield</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DisplayMed</fromnode-name>
- <fromserviceparameter-name>OUTmedfield</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>medfield</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>TestSupervMedfieldLoopForiVisu</fromnode-name>
- <fromserviceparameter-name>Init__index</fromserviceparameter-name>
- <tonode-name>Init</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>TestSupervMedfieldLoopForiVisu</fromnode-name>
- <fromserviceparameter-name>Init__min</fromserviceparameter-name>
- <tonode-name>Init</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>TestSupervMedfieldLoopForiVisu</fromnode-name>
- <fromserviceparameter-name>Init__max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>4</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>TestSupervMedfieldLoopForiVisu</fromnode-name>
- <fromserviceparameter-name>Init__x1</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>2</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<?xml version='1.0' encoding='us-ascii' ?>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-
-<!-- XML Dataflow -->
-
-<!-- Dataflow information -->
-<dataflow>
- <info-list>
- <node>
- <component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>CalculatorDataflow</node-name>
- <kind>1</kind>
- <service>
- <service-name>CalculatorDataflow</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>FIELDDOUBLE</inParameter-type>
-
-<inParameter-name>Constant\field1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Constant\x1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>FIELDDOUBLE</inParameter-type>
- <inParameter-name>Mul\field1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Mul\x1</inParameter-name>
- </inParameter>
- <inParameter>
-
-<inParameter-type>FieldNodeDouble</inParameter-type>
-
-<inParameter-name>writeMEDfile\field1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
-
-<inParameter-name>writeMEDfile\filename</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
-
-<inParameter-name>writeMEDfile_1\filename</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- </outParameter-list>
- </service>
- <creation-date>22/11/2002 - 14:38:49</creation-date>
- <lastmodification-date>22/11/2002 - 14:47:14</lastmodification-date>
- <editor-release>1.03</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
-
- <node-list>
- <node>
- <component-name>Calculator</component-name>
- <interface-name>Calculator</interface-name>
- <node-name>Constant</node-name>
- <kind>0</kind>
- <service>
- <service-name>Constant</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>FIELDDOUBLE</inParameter-type>
- <inParameter-name>field1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>FIELDDOUBLE</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <creation-date>22/11/2002 - 14:47:14</creation-date>
- <lastmodification-date>22/11/2002 - 14:47:14</lastmodification-date>
- <editor-release>1.03</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>28</x-position>
- <y-position>0</y-position>
- </node>
- <node>
- <component-name>Calculator</component-name>
- <interface-name>Calculator</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <service>
- <service-name>Mul</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>FIELDDOUBLE</inParameter-type>
- <inParameter-name>field1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>FIELDDOUBLE</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <creation-date>22/11/2002 - 14:47:14</creation-date>
- <lastmodification-date>22/11/2002 - 14:47:14</lastmodification-date>
- <editor-release>1.03</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>27</x-position>
- <y-position>208</y-position>
- </node>
- <node>
- <component-name>Calculator</component-name>
- <interface-name>Calculator</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <service>
- <service-name>Add</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>FIELDDOUBLE</inParameter-type>
- <inParameter-name>field1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>FIELDDOUBLE</inParameter-type>
- <inParameter-name>field2</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>FIELDDOUBLE</outParameter-type>
- <outParameter-name>return</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <creation-date>22/11/2002 - 14:47:14</creation-date>
- <lastmodification-date>22/11/2002 - 14:47:14</lastmodification-date>
- <editor-release>1.03</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>398</x-position>
- <y-position>54</y-position>
- </node>
- <node>
- <component-name>Calculator</component-name>
- <interface-name>Calculator</interface-name>
- <node-name>writeMEDfile</node-name>
- <kind>0</kind>
- <service>
- <service-name>writeMEDfile</service-name>
- <inParameter-list>
- <inParameter>
-
-<inParameter-type>FieldNodeDouble</inParameter-type>
- <inParameter-name>field1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>filename</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- </outParameter-list>
- </service>
- <creation-date>22/11/2002 - 14:47:14</creation-date>
- <lastmodification-date>22/11/2002 - 14:47:14</lastmodification-date>
- <editor-release>1.03</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>212</x-position>
- <y-position>392</y-position>
- </node>
- <node>
- <component-name>Calculator</component-name>
- <interface-name>Calculator</interface-name>
- <node-name>writeMEDfile_1</node-name>
- <kind>0</kind>
- <service>
- <service-name>writeMEDfile</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>FIELDDOUBLE</inParameter-type>
- <inParameter-name>field1</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>filename</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- </outParameter-list>
- </service>
- <creation-date>22/11/2002 - 14:47:14</creation-date>
- <lastmodification-date>22/11/2002 - 14:47:14</lastmodification-date>
- <editor-release>1.03</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>572</x-position>
- <y-position>52</y-position>
- </node>
- </node-list>
-
- <link-list>
- <link>
- <fromnode-name>Constant</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>field1</toserviceparameter-name>
- <coord-list>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>field2</toserviceparameter-name>
- <coord-list>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>return</fromserviceparameter-name>
- <tonode-name>writeMEDfile_1</tonode-name>
- <toserviceparameter-name>field1</toserviceparameter-name>
- <coord-list>
- </coord-list>
- </link>
- </link-list>
-
- <data-list>
- <data>
- <fromnode-name>CalculatorDataflow</fromnode-name>
- <fromserviceparameter-name>Constant\x1</fromserviceparameter-name>
- <tonode-name>Constant</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>10</value>
- </data-value>
- <coord-list>
- </coord-list>
- </data>
- <data>
- <fromnode-name>CalculatorDataflow</fromnode-name>
- <fromserviceparameter-name>Mul\x1</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>-1</value>
- </data-value>
- <coord-list>
- </coord-list>
- </data>
- <data>
- <fromnode-name>CalculatorDataflow</fromnode-name>
-
-<fromserviceparameter-name>writeMEDfile\filename</fromserviceparameter-name>
- <tonode-name>writeMEDfile</tonode-name>
- <toserviceparameter-name>filename</toserviceparameter-name>
- <data-value>
- <value-type>18</value-type>
- <value>test_dataflow_calculator.med</value>
- </data-value>
- <coord-list>
- </coord-list>
- </data>
- <data>
- <fromnode-name>CalculatorDataflow</fromnode-name>
-
-<fromserviceparameter-name>writeMEDfile_1\filename</fromserviceparameter-name>
- <tonode-name>writeMEDfile_1</tonode-name>
- <toserviceparameter-name>filename</toserviceparameter-name>
- <data-value>
- <value-type>18</value-type>
- <value>test_dataflow_calculator.med</value>
- </data-value>
- <coord-list>
- </coord-list>
- </data>
- </data-list>
-
-</dataflow>
-
+++ /dev/null
-<?xml version='1.0' encoding='us-ascii' ?>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-
-<!-- XML Dataflow -->
-
-<!-- Dataflow information -->
-<dataflow>
- <info-list>
- <node>
- <component-name>newsupervisionexample</component-name>
- <interface-name>?</interface-name>
- <node-name>newsupervisionexample</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>newsupervisionexample</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add\x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Add\y</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>Sub\x</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Add\FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>Div\z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <Parameter-list>
- </Parameter-list>
- <creation-date>21/11/2001 - 17:17:23</creation-date>
- <lastmodification-date>31/7/2002 - 16:43:19</lastmodification-date>
- <editor-release>1.00</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position>
- </node>
- </info-list>
-
- <node-list>
- <node>
- <component-name>AddComponent</component-name>
- <interface-name>AddComponent</interface-name>
- <node-name>Add</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Add</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>FuncValue</outParameter-name>
- </outParameter>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <Parameter-list>
- </Parameter-list>
- <creation-date>31/7/2002 - 16:43:19</creation-date>
- <lastmodification-date>31/7/2002 - 16:43:19</lastmodification-date>
- <editor-release>1.00</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>15</x-position>
- <y-position>241</y-position>
- </node>
- <node>
- <component-name>SubComponent</component-name>
- <interface-name>SubComponent</interface-name>
- <node-name>Sub</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Sub</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <Parameter-list>
- </Parameter-list>
- <creation-date>31/7/2002 - 16:43:19</creation-date>
- <lastmodification-date>31/7/2002 - 16:43:19</lastmodification-date>
- <editor-release>1.00</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>227</x-position>
- <y-position>99</y-position>
- </node>
- <node>
- <component-name>MulComponent</component-name>
- <interface-name>MulComponent</interface-name>
- <node-name>Mul</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Mul</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <Parameter-list>
- </Parameter-list>
- <creation-date>31/7/2002 - 16:43:19</creation-date>
- <lastmodification-date>31/7/2002 - 16:43:19</lastmodification-date>
- <editor-release>1.00</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>443</x-position>
- <y-position>278</y-position>
- </node>
- <node>
- <component-name>DivComponent</component-name>
- <interface-name>DivComponent</interface-name>
- <node-name>Div</node-name>
- <kind>0</kind>
- <coupled-node>?</coupled-node>
- <service>
- <service-name>Div</service-name>
- <inParameter-list>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x</inParameter-name>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>y</inParameter-name>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>double</outParameter-type>
- <outParameter-name>z</outParameter-name>
- </outParameter>
- </outParameter-list>
- </service>
- <Parameter-list>
- </Parameter-list>
- <creation-date>31/7/2002 - 16:43:19</creation-date>
- <lastmodification-date>31/7/2002 - 16:43:19</lastmodification-date>
- <editor-release>1.00</editor-release>
- <author>?</author>
- <container>FactoryServer</container>
- <comment>?</comment>
- <x-position>634</x-position>
- <y-position>97</y-position>
- </node>
- </node-list>
-
- <link-list>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Mul</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Sub</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <coord-list>
- </coord-list>
- </link>
- <link>
- <fromnode-name>Mul</fromnode-name>
- <fromserviceparameter-name>z</fromserviceparameter-name>
- <tonode-name>Div</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <coord-list>
- </coord-list>
- </link>
- </link-list>
-
- <data-list>
- <data>
- <fromnode-name>newsupervisionexample</fromnode-name>
- <fromserviceparameter-name>Add\x</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>3</value>
- </data-value>
- <coord-list>
- </coord-list>
- </data>
- <data>
- <fromnode-name>newsupervisionexample</fromnode-name>
- <fromserviceparameter-name>Add\y</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>y</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>4.5</value>
- </data-value>
- <coord-list>
- </coord-list>
- </data>
- <data>
- <fromnode-name>newsupervisionexample</fromnode-name>
- <fromserviceparameter-name>Sub\x</fromserviceparameter-name>
- <tonode-name>Sub</tonode-name>
- <toserviceparameter-name>x</toserviceparameter-name>
- <data-value>
- <value-type>7</value-type>
- <value>1.5</value>
- </data-value>
- <coord-list>
- </coord-list>
- </data>
- </data-list>
-
-</dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>aNewDataFlow</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>Init\A</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>EndInit\A</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>2/4/2004 - 16:38:31</creation-date>
- <lastmodification-date>2/4/2004 - 18:30:31</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>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>A</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>A</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init( A ): ]]></PyFunc>
- <PyFunc><![CDATA[ return A ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More( A ): ]]></PyFunc>
- <PyFunc><![CDATA[ if A < 10: ]]></PyFunc>
- <PyFunc><![CDATA[ return 1,A ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,A ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next( A ): ]]></PyFunc>
- <PyFunc><![CDATA[ return (A + 1) ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>2/4/2004 - 18:30:31</creation-date>
- <lastmodification-date>2/4/2004 - 18:30:31</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>118</x-position>
- <y-position>160</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>A</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>A</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndInit</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>2/4/2004 - 18:30:31</creation-date>
- <lastmodification-date>2/4/2004 - 18:30:31</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>740</x-position>
- <y-position>168</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Func</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Func</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>A</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>B</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Func</FuncName>
- <PyFunc><![CDATA[def Func( A ): ]]></PyFunc>
- <PyFunc><![CDATA[ import batchmode_visu ]]></PyFunc>
- <PyFunc><![CDATA[ batchmode_visu.myVisu.CreateTestView() ]]></PyFunc>
- <PyFunc><![CDATA[ batchmode_visu.myVisu.ShowTestObject() ]]></PyFunc>
- <PyFunc><![CDATA[ return A ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>2/4/2004 - 18:30:31</creation-date>
- <lastmodification-date>2/4/2004 - 18:30:31</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>375</x-position>
- <y-position>162</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>A</fromserviceparameter-name>
- <tonode-name>Func</tonode-name>
- <toserviceparameter-name>A</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Func</fromnode-name>
- <fromserviceparameter-name>B</fromserviceparameter-name>
- <tonode-name>EndInit</tonode-name>
- <toserviceparameter-name>A</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>Init\A</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>A</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE Dataflow>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>test_superv_basic_loop</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>test_superv_basic_loop</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>fori\index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>fori\min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>fori\max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>fori\sum</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Add\incr</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Endfori\index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Endfori\min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Endfori\max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Endfori\sum</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>2/5/2003 - 13:43:38</creation-date>
- <lastmodification-date>19/9/2003 - 16:38:30</lastmodification-date>
- <editor-release>1.04</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>Add</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>Add</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>sum</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>incr</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>Sum</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>incr</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Sum</FuncName>
- <PyFunc><![CDATA[def Sum(sum,incr): ]]></PyFunc>
- <PyFunc><![CDATA[ result = sum+incr ]]></PyFunc>
- <PyFunc><![CDATA[ return result,incr ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/9/2003 - 16:38:30</creation-date>
- <lastmodification-date>19/9/2003 - 16:38:30</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Python function</comment>
- <x-position>220</x-position>
- <y-position>40</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>fori</node-name>
- <kind>4</kind>
- <coupled-node>Endfori</coupled-node>
- <service>
-<service-name>fori</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>sum</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>sum</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(index,min,max,sum): ]]></PyFunc>
- <PyFunc><![CDATA[ if max > min : ]]></PyFunc>
- <PyFunc><![CDATA[ index = min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ index = max ]]></PyFunc>
- <PyFunc><![CDATA[ #print index,min,max,sum ]]></PyFunc>
- <PyFunc><![CDATA[ return index,min,max,sum ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(index,min,max,sum): ]]></PyFunc>
- <PyFunc><![CDATA[ OutLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ if max > index : ]]></PyFunc>
- <PyFunc><![CDATA[ OutLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ #print OutLoop,index,min,max,sum ]]></PyFunc>
- <PyFunc><![CDATA[ return OutLoop,index,min,max,sum ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(index,min,max,sum): ]]></PyFunc>
- <PyFunc><![CDATA[ index = index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ #print index,min,max,sum ]]></PyFunc>
- <PyFunc><![CDATA[ return index,min,max,sum ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>19/9/2003 - 16:38:30</creation-date>
- <lastmodification-date>19/9/2003 - 16:38:30</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>12</x-position>
- <y-position>0</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Endfori</node-name>
- <kind>5</kind>
- <coupled-node>fori</coupled-node>
- <service>
-<service-name>Endfori</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>sum</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>sum</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
-<PyFunction/> </PyFunction-list>
- <creation-date>19/9/2003 - 16:38:30</creation-date>
- <lastmodification-date>19/9/2003 - 16:38:30</lastmodification-date>
- <editor-release>1.04</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>432</x-position>
- <y-position>0</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>Add</fromnode-name>
- <fromserviceparameter-name>Sum</fromserviceparameter-name>
- <tonode-name>Endfori</tonode-name>
- <toserviceparameter-name>sum</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>fori</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Endfori</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>fori</fromnode-name>
- <fromserviceparameter-name>index</fromserviceparameter-name>
- <tonode-name>Endfori</tonode-name>
- <toserviceparameter-name>index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>fori</fromnode-name>
- <fromserviceparameter-name>index</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>incr</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>186</x>
- <y>150</y> </coord>
- <coord>
-<x>187</x>
- <y>34</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>fori</fromnode-name>
- <fromserviceparameter-name>min</fromserviceparameter-name>
- <tonode-name>Endfori</tonode-name>
- <toserviceparameter-name>min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>fori</fromnode-name>
- <fromserviceparameter-name>max</fromserviceparameter-name>
- <tonode-name>Endfori</tonode-name>
- <toserviceparameter-name>max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>fori</fromnode-name>
- <fromserviceparameter-name>sum</fromserviceparameter-name>
- <tonode-name>Add</tonode-name>
- <toserviceparameter-name>sum</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Endfori</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>fori</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>8</x>
- <y>215</y> </coord>
- <coord>
-<x>7</x>
- <y>5</y> </coord>
- <coord>
-<x>747</x>
- <y>5</y> </coord>
- <coord>
-<x>748</x>
- <y>214</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>test_superv_basic_loop</fromnode-name>
- <fromserviceparameter-name>fori\index</fromserviceparameter-name>
- <tonode-name>fori</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>test_superv_basic_loop</fromnode-name>
- <fromserviceparameter-name>fori\min</fromserviceparameter-name>
- <tonode-name>fori</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>test_superv_basic_loop</fromnode-name>
- <fromserviceparameter-name>fori\max</fromserviceparameter-name>
- <tonode-name>fori</tonode-name>
- <toserviceparameter-name>max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1001</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>test_superv_basic_loop</fromnode-name>
- <fromserviceparameter-name>fori\sum</fromserviceparameter-name>
- <tonode-name>fori</tonode-name>
- <toserviceparameter-name>sum</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>TestVisu20</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>aNewDataFlow_1</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Init__x1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInit__index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInit__min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInit__max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfInit__aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfInit__aView</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfInit__aResult</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>EndOfInit__x1</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/11/2003 - 11:15:53</creation-date>
- <lastmodification-date>8/4/2005 - 14:3:47</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>InitDisplay</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>InitDisplay</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>myResult</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>InitDisplay</FuncName>
- <PyFunc><![CDATA[import os ]]></PyFunc>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[from LifeCycleCORBA import * ]]></PyFunc>
- <PyFunc><![CDATA[from SALOME_NamingServicePy import * ]]></PyFunc>
- <PyFunc><![CDATA[import SALOMEDS ]]></PyFunc>
- <PyFunc><![CDATA[from VISU import * ]]></PyFunc>
- <PyFunc><![CDATA[def InitDisplay(): ]]></PyFunc>
- <PyFunc><![CDATA[ # --- initialize the ORB ]]></PyFunc>
- <PyFunc><![CDATA[ orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
- <PyFunc><![CDATA[ # --- create a LifeCycleCORBA instance ]]></PyFunc>
- <PyFunc><![CDATA[ lcc = LifeCycleCORBA(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ # --- create a naming service instance ]]></PyFunc>
- <PyFunc><![CDATA[ naming_service = SALOME_NamingServicePy_i(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ # --- get Study Manager reference ]]></PyFunc>
- <PyFunc><![CDATA[ obj = naming_service.Resolve('myStudyManager') ]]></PyFunc>
- <PyFunc><![CDATA[ StudyManager = obj._narrow(SALOMEDS.StudyManager) ]]></PyFunc>
- <PyFunc><![CDATA[ # --- load visu component ]]></PyFunc>
- <PyFunc><![CDATA[ aVisu = lcc.FindOrLoadComponent("FactoryServer","VISU") ]]></PyFunc>
- <PyFunc><![CDATA[ aStudy = StudyManager.GetStudyByID(1) ]]></PyFunc>
- <PyFunc><![CDATA[ aVisu.SetCurrentStudy(aStudy) ]]></PyFunc>
- <PyFunc><![CDATA[ print "InitDisplay --> aVisu ", aVisu ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ aViewManager=aVisu.GetViewManager() ]]></PyFunc>
- <PyFunc><![CDATA[ print "InitDisplay --> aViewManager ", aViewManager ]]></PyFunc>
- <PyFunc><![CDATA[ #time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ #aView=aViewManager.GetCurrentView() ]]></PyFunc>
- <PyFunc><![CDATA[ aView=aViewManager.Create3DView() ]]></PyFunc>
- <PyFunc><![CDATA[ print "InitDisplay --> aView ", aView ]]></PyFunc>
- <PyFunc><![CDATA[ #time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ medFile = "TimeStamps.med" ]]></PyFunc>
- <PyFunc><![CDATA[ medFile = os.getenv('DATA_DIR') + '/MedFiles/' + medFile ]]></PyFunc>
- <PyFunc><![CDATA[ myResult = aVisu.ImportFile(medFile) ]]></PyFunc>
- <PyFunc><![CDATA[ print "InitDisplay --> myResult ", myResult ]]></PyFunc>
- <PyFunc><![CDATA[ return aVisu,aView,myResult ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 14:3:47</creation-date>
- <lastmodification-date>8/4/2005 - 14:3:47</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>0</x-position>
- <y-position>46</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndOfInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aView</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aResult</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>x1</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(index,min,max,aVisu,aView,myResult,x1): ]]></PyFunc>
- <PyFunc><![CDATA[ if max >= min : ]]></PyFunc>
- <PyFunc><![CDATA[ index = min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ index = max ]]></PyFunc>
- <PyFunc><![CDATA[ print "---- Init ",index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc>
- <PyFunc><![CDATA[ return index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(index,min,max,aVisu,aView,myResult,x1): ]]></PyFunc>
- <PyFunc><![CDATA[ if max >= index : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ print "---- More",index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(index,min,max,aVisu,aView,myResult,x1): ]]></PyFunc>
- <PyFunc><![CDATA[ index = index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ x1=x1+1.0 ]]></PyFunc>
- <PyFunc><![CDATA[ print "---- Next",index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc>
- <PyFunc><![CDATA[ return index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 14:3:47</creation-date>
- <lastmodification-date>8/4/2005 - 14:3:47</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>190</x-position>
- <y-position>4</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndOfInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aView</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aResult</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>x1</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 14:3:47</creation-date>
- <lastmodification-date>8/4/2005 - 14:3:47</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>553</x-position>
- <y-position>5</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>DisplayVitesse</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>DisplayVitesse</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aView</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>theResult</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>DisplayVitesse</FuncName>
- <PyFunc><![CDATA[import VISU ]]></PyFunc>
- <PyFunc><![CDATA[import os ]]></PyFunc>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def DisplayVitesse(index,aVisu,aView,aResult,x1): ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 1 index = ", index,aVisu,aView,aResult,x1 ]]></PyFunc>
- <PyFunc><![CDATA[ aMeshName ="dom" ]]></PyFunc>
- <PyFunc><![CDATA[ myFieldName = "vitesse" ]]></PyFunc>
- <PyFunc><![CDATA[ anEntity = VISU.NODE ]]></PyFunc>
- <PyFunc><![CDATA[ aMesh = aVisu.MeshOnEntity(aResult, aMeshName, anEntity) ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 2 ", aMesh ]]></PyFunc>
- <PyFunc><![CDATA[ aScalarMap=aVisu.ScalarMapOnField(aResult,aMeshName,anEntity,myFieldName,x1) ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 4" ]]></PyFunc>
- <PyFunc><![CDATA[ if aScalarMap is not None: ]]></PyFunc>
- <PyFunc><![CDATA[ aScalarMap.SetScaling(VISU.LINEAR) ]]></PyFunc>
- <PyFunc><![CDATA[ else: ]]></PyFunc>
- <PyFunc><![CDATA[ print "Null scalar map is created" ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 5" ]]></PyFunc>
- <PyFunc><![CDATA[ aView.DisplayOnly(aScalarMap) ]]></PyFunc>
- <PyFunc><![CDATA[ aView.FitAll() ]]></PyFunc>
- <PyFunc><![CDATA[ aView.Update() ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 6" ]]></PyFunc>
- <PyFunc><![CDATA[ theResult=aResult ]]></PyFunc>
- <PyFunc><![CDATA[ #time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ return theResult ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 14:3:47</creation-date>
- <lastmodification-date>8/4/2005 - 14:3:47</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>374</x-position>
- <y-position>16</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>InitDisplay</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitDisplay</fromnode-name>
- <fromserviceparameter-name>aView</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>aView</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitDisplay</fromnode-name>
- <fromserviceparameter-name>myResult</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>index</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>index</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>index</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>351</x>
- <y>96</y> </coord>
- <coord>
-<x>350</x>
- <y>38</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>min</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>max</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aView</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>aView</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aView</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>aView</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aResult</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>x1</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>x1</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>DisplayVitesse</fromnode-name>
- <fromserviceparameter-name>theResult</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>548</x>
- <y>183</y> </coord>
- <coord>
-<x>548</x>
- <y>97</y> </coord> </coord-list> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>TestVisu20</fromnode-name>
- <fromserviceparameter-name>Init__index</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>TestVisu20</fromnode-name>
- <fromserviceparameter-name>Init__min</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>TestVisu20</fromnode-name>
- <fromserviceparameter-name>Init__max</fromserviceparameter-name>
- <tonode-name>Init</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>TestVisu20</fromnode-name>
- <fromserviceparameter-name>Init__x1</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-<!DOCTYPE SuperGraph>
-<!--
- Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-
- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<supergraph>
-<dataflow>
-<info-list>
-<node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>TestVisu20_multi</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>aNewDataFlow</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>Init__max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>Init__x1</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>LoopOnViews__ViewCount</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>LoopOnViews__MinCount</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>LoopOnViews__MaxCount</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInit__index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInit__min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInit__max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfInit__aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfInit__aView</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>EndOfInit__x1</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfLoopOnViews__aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfLoopOnViews__aResult</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>EndOfLoopOnViews__ViewCount</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>EndOfLoopOnViews__MinCount</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>EndOfLoopOnViews__MaxCount</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list/>
- <creation-date>13/11/2003 - 11:15:53</creation-date>
- <lastmodification-date>8/4/2005 - 14:2:18</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>InitDisplay</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>InitDisplay</service-name>
- <inParameter-list/>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>myResult</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>InitDisplay</FuncName>
- <PyFunc><![CDATA[import os ]]></PyFunc>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[from LifeCycleCORBA import * ]]></PyFunc>
- <PyFunc><![CDATA[from SALOME_NamingServicePy import * ]]></PyFunc>
- <PyFunc><![CDATA[import SALOMEDS ]]></PyFunc>
- <PyFunc><![CDATA[from VISU import * ]]></PyFunc>
- <PyFunc><![CDATA[def InitDisplay(): ]]></PyFunc>
- <PyFunc><![CDATA[ # --- initialize the ORB ]]></PyFunc>
- <PyFunc><![CDATA[ orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
- <PyFunc><![CDATA[ # --- create a LifeCycleCORBA instance ]]></PyFunc>
- <PyFunc><![CDATA[ lcc = LifeCycleCORBA(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ # --- create a naming service instance ]]></PyFunc>
- <PyFunc><![CDATA[ naming_service = SALOME_NamingServicePy_i(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ # --- get Study Manager reference ]]></PyFunc>
- <PyFunc><![CDATA[ obj = naming_service.Resolve('myStudyManager') ]]></PyFunc>
- <PyFunc><![CDATA[ StudyManager = obj._narrow(SALOMEDS.StudyManager) ]]></PyFunc>
- <PyFunc><![CDATA[ # --- load visu component ]]></PyFunc>
- <PyFunc><![CDATA[ aVisu = lcc.FindOrLoadComponent("FactoryServer","VISU") ]]></PyFunc>
- <PyFunc><![CDATA[ aStudy = StudyManager.GetStudyByID(1) ]]></PyFunc>
- <PyFunc><![CDATA[ aVisu.SetCurrentStudy(aStudy) ]]></PyFunc>
- <PyFunc><![CDATA[ print "InitDisplay --> aVisu ", aVisu ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ #aViewManager=aVisu.GetViewManager() ]]></PyFunc>
- <PyFunc><![CDATA[ #print "InitDisplay --> aViewManager ", aViewManager ]]></PyFunc>
- <PyFunc><![CDATA[ #time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ #aView=aViewManager.GetCurrentView() ]]></PyFunc>
- <PyFunc><![CDATA[ #aView=aViewManager.Create3DView() ]]></PyFunc>
- <PyFunc><![CDATA[ #print "InitDisplay --> aView ", aView ]]></PyFunc>
- <PyFunc><![CDATA[ #time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ medFile = "TimeStamps.med" ]]></PyFunc>
- <PyFunc><![CDATA[ medFile = os.getenv('DATA_DIR') + '/MedFiles/' + medFile ]]></PyFunc>
- <PyFunc><![CDATA[ myResult = aVisu.ImportFile(medFile) ]]></PyFunc>
- <PyFunc><![CDATA[ print "InitDisplay --> myResult ", myResult ]]></PyFunc>
- <PyFunc><![CDATA[ return aVisu,myResult ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 14:2:18</creation-date>
- <lastmodification-date>8/4/2005 - 14:2:18</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>13</x-position>
- <y-position>173</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndOfInit</coupled-node>
- <service>
-<service-name>Init</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aView</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aResult</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>x1</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(index,min,max,aVisu,aView,myResult,x1): ]]></PyFunc>
- <PyFunc><![CDATA[ if max >= min : ]]></PyFunc>
- <PyFunc><![CDATA[ index = min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ index = max ]]></PyFunc>
- <PyFunc><![CDATA[ print "---- Init ",index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc>
- <PyFunc><![CDATA[ return index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(index,min,max,aVisu,aView,myResult,x1): ]]></PyFunc>
- <PyFunc><![CDATA[ if max >= index : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ print "---- More",index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(index,min,max,aVisu,aView,myResult,x1): ]]></PyFunc>
- <PyFunc><![CDATA[ index = index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ x1=x1+1.0 ]]></PyFunc>
- <PyFunc><![CDATA[ print "---- Next",index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc>
- <PyFunc><![CDATA[ return index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 14:2:18</creation-date>
- <lastmodification-date>8/4/2005 - 14:2:18</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>428</x-position>
- <y-position>493</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
-<service-name>EndOfInit</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aView</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>index</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aResult</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>double</outParameter-type>
- <outParameter-name>x1</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 14:2:18</creation-date>
- <lastmodification-date>8/4/2005 - 14:2:18</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>797</x-position>
- <y-position>507</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>DisplayVitesse</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>DisplayVitesse</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>string</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aView</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>theResult</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>DisplayVitesse</FuncName>
- <PyFunc><![CDATA[import VISU ]]></PyFunc>
- <PyFunc><![CDATA[import os ]]></PyFunc>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def DisplayVitesse(index,aVisu,aView,aResult,x1): ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 1 index = ", index,aVisu,aView,aResult,x1 ]]></PyFunc>
- <PyFunc><![CDATA[ aMeshName ="dom" ]]></PyFunc>
- <PyFunc><![CDATA[ myFieldName = "vitesse" ]]></PyFunc>
- <PyFunc><![CDATA[ anEntity = VISU.NODE ]]></PyFunc>
- <PyFunc><![CDATA[ aMesh = aVisu.MeshOnEntity(aResult, aMeshName, anEntity) ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 2 ", aMesh ]]></PyFunc>
- <PyFunc><![CDATA[ aScalarMap=aVisu.ScalarMapOnField(aResult,aMeshName,anEntity,myFieldName,x1) ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 4" ]]></PyFunc>
- <PyFunc><![CDATA[ if aScalarMap is not None: ]]></PyFunc>
- <PyFunc><![CDATA[ aScalarMap.SetScaling(VISU.LINEAR) ]]></PyFunc>
- <PyFunc><![CDATA[ else: ]]></PyFunc>
- <PyFunc><![CDATA[ print "Null scalar map is created" ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 5" ]]></PyFunc>
- <PyFunc><![CDATA[ aView.DisplayOnly(aScalarMap) ]]></PyFunc>
- <PyFunc><![CDATA[ aView.FitAll() ]]></PyFunc>
- <PyFunc><![CDATA[ aView.Update() ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 6" ]]></PyFunc>
- <PyFunc><![CDATA[ theResult=aResult ]]></PyFunc>
- <PyFunc><![CDATA[ #time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ return theResult ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 14:2:18</creation-date>
- <lastmodification-date>8/4/2005 - 14:2:18</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>609</x-position>
- <y-position>506</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>LoopOnViews</node-name>
- <kind>4</kind>
- <coupled-node>EndOfLoopOnViews</coupled-node>
- <service>
-<service-name>LoopOnViews</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>ViewCount</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>MinCount</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>MaxCount</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aResult</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>ViewCount</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>MinCount</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>MaxCount</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>InitViews</FuncName>
- <PyFunc><![CDATA[def InitViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ]]></PyFunc>
- <PyFunc><![CDATA[ ViewCount=MinCount ]]></PyFunc>
- <PyFunc><![CDATA[ return aVisu,aResult,ViewCount,MinCount,MaxCount ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>MoreViews</FuncName>
- <PyFunc><![CDATA[def MoreViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ]]></PyFunc>
- <PyFunc><![CDATA[ if ViewCount < MaxCount: ]]></PyFunc>
- <PyFunc><![CDATA[ return 1,aVisu,aResult,ViewCount,MinCount,MaxCount ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,aVisu,aResult,ViewCount,MinCount,MaxCount ]]></PyFunc> </PyFunction>
- <PyFunction>
-<FuncName>NextViews</FuncName>
- <PyFunc><![CDATA[def NextViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ]]></PyFunc>
- <PyFunc><![CDATA[ ViewCount = ViewCount + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return aVisu,aResult,ViewCount,MinCount,MaxCount ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 14:2:18</creation-date>
- <lastmodification-date>8/4/2005 - 14:2:18</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>219</x-position>
- <y-position>218</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfLoopOnViews</node-name>
- <kind>5</kind>
- <coupled-node>LoopOnViews</coupled-node>
- <service>
-<service-name>EndOfLoopOnViews</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>ViewCount</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>MinCount</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>int</inParameter-type>
- <inParameter-name>MaxCount</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aResult</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>ViewCount</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>MinCount</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>int</outParameter-type>
- <outParameter-name>MaxCount</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>EndLoop</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 14:2:18</creation-date>
- <lastmodification-date>8/4/2005 - 14:2:18</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>773</x-position>
- <y-position>224</y-position> </node>
- <node>
-<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>CreateView</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
-<service-name>CreateView</service-name>
- <inParameter-list>
-<inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
-<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
-<outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>theVisu</outParameter-name> </outParameter>
- <outParameter>
-<outParameter-type>objref</outParameter-type>
- <outParameter-name>theResult</outParameter-name> </outParameter> </outParameter-list> </service>
- <DataStream-list/>
- <PyFunction-list>
-<PyFunction>
-<FuncName>CreateView</FuncName>
- <PyFunc><![CDATA[def CreateView(aVisu,aResult) : ]]></PyFunc>
- <PyFunc><![CDATA[ vm=aVisu.GetViewManager() ]]></PyFunc>
- <PyFunc><![CDATA[ aView=vm.Create3DView() ]]></PyFunc>
- <PyFunc><![CDATA[ theVisu=aVisu ]]></PyFunc>
- <PyFunc><![CDATA[ theResult=aResult ]]></PyFunc>
- <PyFunc><![CDATA[ return aView,theVisu,theResult ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>8/4/2005 - 14:2:18</creation-date>
- <lastmodification-date>8/4/2005 - 14:2:18</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>221</x-position>
- <y-position>563</y-position> </node> </node-list>
- <link-list>
-<link>
-<fromnode-name>InitDisplay</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>LoopOnViews</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitDisplay</fromnode-name>
- <fromserviceparameter-name>myResult</fromserviceparameter-name>
- <tonode-name>LoopOnViews</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>index</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>index</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>index</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>590</x>
- <y>587</y> </coord>
- <coord>
-<x>591</x>
- <y>527</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>min</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>max</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aView</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>aView</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aView</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>aView</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aResult</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>x1</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>x1</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfInit</fromnode-name>
- <fromserviceparameter-name>aResult</fromserviceparameter-name>
- <tonode-name>EndOfLoopOnViews</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>762</x>
- <y>288</y> </coord>
- <coord>
-<x>763</x>
- <y>424</y> </coord>
- <coord>
-<x>972</x>
- <y>425</y> </coord>
- <coord>
-<x>971</x>
- <y>687</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>DisplayVitesse</fromnode-name>
- <fromserviceparameter-name>theResult</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>787</x>
- <y>687</y> </coord>
- <coord>
-<x>786</x>
- <y>585</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>LoopOnViews</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfLoopOnViews</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopOnViews</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>EndOfLoopOnViews</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopOnViews</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>CreateView</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>186</x>
- <y>643</y> </coord>
- <coord>
-<x>186</x>
- <y>442</y> </coord>
- <coord>
-<x>400</x>
- <y>441</y> </coord>
- <coord>
-<x>401</x>
- <y>251</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>LoopOnViews</fromnode-name>
- <fromserviceparameter-name>aResult</fromserviceparameter-name>
- <tonode-name>CreateView</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list>
-<coord>
-<x>169</x>
- <y>671</y> </coord>
- <coord>
-<x>170</x>
- <y>412</y> </coord>
- <coord>
-<x>386</x>
- <y>413</y> </coord>
- <coord>
-<x>387</x>
- <y>280</y> </coord> </coord-list> </link>
- <link>
-<fromnode-name>LoopOnViews</fromnode-name>
- <fromserviceparameter-name>ViewCount</fromserviceparameter-name>
- <tonode-name>EndOfLoopOnViews</tonode-name>
- <toserviceparameter-name>ViewCount</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopOnViews</fromnode-name>
- <fromserviceparameter-name>MinCount</fromserviceparameter-name>
- <tonode-name>EndOfLoopOnViews</tonode-name>
- <toserviceparameter-name>MinCount</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>LoopOnViews</fromnode-name>
- <fromserviceparameter-name>MaxCount</fromserviceparameter-name>
- <tonode-name>EndOfLoopOnViews</tonode-name>
- <toserviceparameter-name>MaxCount</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>EndOfLoopOnViews</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>LoopOnViews</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>CreateView</fromnode-name>
- <fromserviceparameter-name>aView</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>aView</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>CreateView</fromnode-name>
- <fromserviceparameter-name>theVisu</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>CreateView</fromnode-name>
- <fromserviceparameter-name>theResult</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
-<data>
-<fromnode-name>TestVisu20_multi</fromnode-name>
- <fromserviceparameter-name>Init__index</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>index</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>TestVisu20_multi</fromnode-name>
- <fromserviceparameter-name>Init__min</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>min</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>TestVisu20_multi</fromnode-name>
- <fromserviceparameter-name>Init__max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>max</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>TestVisu20_multi</fromnode-name>
- <fromserviceparameter-name>Init__x1</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
-<value-type>7</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>TestVisu20_multi</fromnode-name>
- <fromserviceparameter-name>LoopOnViews__ViewCount</fromserviceparameter-name>
- <tonode-name>LoopOnViews</tonode-name>
- <toserviceparameter-name>ViewCount</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>TestVisu20_multi</fromnode-name>
- <fromserviceparameter-name>LoopOnViews__MinCount</fromserviceparameter-name>
- <tonode-name>LoopOnViews</tonode-name>
- <toserviceparameter-name>MinCount</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
-<fromnode-name>TestVisu20_multi</fromnode-name>
- <fromserviceparameter-name>LoopOnViews__MaxCount</fromserviceparameter-name>
- <tonode-name>LoopOnViews</tonode-name>
- <toserviceparameter-name>MaxCount</toserviceparameter-name>
- <data-value>
-<value-type>3</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data> </data-list> </dataflow></supergraph>
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GeomGraph
-#
-from SuperV import *
-
-# Graph creation of GeomGraph
-def DefGeomGraph() :
- GeomGraph = Graph( 'GeomGraph' )
- GeomGraph.SetName( 'GeomGraph' )
- GeomGraph.SetAuthor( '' )
- GeomGraph.SetComment( '' )
- GeomGraph.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- SetStudyID = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'SetStudyID' )
- SetStudyID.SetName( 'SetStudyID' )
- SetStudyID.SetAuthor( '' )
- SetStudyID.SetContainer( 'localhost/FactoryServer' )
- SetStudyID.SetComment( 'SetStudyID from GEOM_Superv' )
- SetStudyID.Coords( 14 , 241 )
- ISetStudyIDtheStudyID = SetStudyID.GetInPort( 'theStudyID' )
- ISetStudyIDGate = SetStudyID.GetInPort( 'Gate' )
- OSetStudyIDGate = SetStudyID.GetOutPort( 'Gate' )
-
- MakeBox = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeBox' )
- MakeBox.SetName( 'MakeBox' )
- MakeBox.SetAuthor( '' )
- MakeBox.SetContainer( 'localhost/FactoryServer' )
- MakeBox.SetComment( 'MakeBox from GEOM_Superv' )
- MakeBox.Coords( 198 , 46 )
- IMakeBoxtheX1 = MakeBox.GetInPort( 'theX1' )
- IMakeBoxtheY1 = MakeBox.GetInPort( 'theY1' )
- IMakeBoxtheZ1 = MakeBox.GetInPort( 'theZ1' )
- IMakeBoxtheX2 = MakeBox.GetInPort( 'theX2' )
- IMakeBoxtheY2 = MakeBox.GetInPort( 'theY2' )
- IMakeBoxtheZ2 = MakeBox.GetInPort( 'theZ2' )
- IMakeBoxGate = MakeBox.GetInPort( 'Gate' )
- OMakeBoxreturn = MakeBox.GetOutPort( 'return' )
- OMakeBoxGate = MakeBox.GetOutPort( 'Gate' )
-
- MakeCopy = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
- MakeCopy.SetName( 'MakeCopy' )
- MakeCopy.SetAuthor( '' )
- MakeCopy.SetContainer( 'localhost/FactoryServer' )
- MakeCopy.SetComment( 'MakeCopy from GEOM_Superv' )
- MakeCopy.Coords( 383 , 46 )
- IMakeCopytheOriginal = MakeCopy.GetInPort( 'theOriginal' )
- IMakeCopyGate = MakeCopy.GetInPort( 'Gate' )
- OMakeCopyreturn = MakeCopy.GetOutPort( 'return' )
- OMakeCopyGate = MakeCopy.GetOutPort( 'Gate' )
-
- TranslateDXDYDZ = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetName( 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetAuthor( '' )
- TranslateDXDYDZ.SetContainer( 'localhost/FactoryServer' )
- TranslateDXDYDZ.SetComment( 'TranslateDXDYDZ from GEOM_Superv' )
- TranslateDXDYDZ.Coords( 579 , 46 )
- ITranslateDXDYDZtheObject = TranslateDXDYDZ.GetInPort( 'theObject' )
- ITranslateDXDYDZtheDX = TranslateDXDYDZ.GetInPort( 'theDX' )
- ITranslateDXDYDZtheDY = TranslateDXDYDZ.GetInPort( 'theDY' )
- ITranslateDXDYDZtheDZ = TranslateDXDYDZ.GetInPort( 'theDZ' )
- ITranslateDXDYDZGate = TranslateDXDYDZ.GetInPort( 'Gate' )
- OTranslateDXDYDZreturn = TranslateDXDYDZ.GetOutPort( 'return' )
- OTranslateDXDYDZGate = TranslateDXDYDZ.GetOutPort( 'Gate' )
-
- MakeCopy_1 = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
- MakeCopy_1.SetName( 'MakeCopy_1' )
- MakeCopy_1.SetAuthor( '' )
- MakeCopy_1.SetContainer( 'localhost/FactoryServer' )
- MakeCopy_1.SetComment( 'MakeCopy from GEOM_Superv' )
- MakeCopy_1.Coords( 384 , 168 )
- IMakeCopy_1theOriginal = MakeCopy_1.GetInPort( 'theOriginal' )
- IMakeCopy_1Gate = MakeCopy_1.GetInPort( 'Gate' )
- OMakeCopy_1return = MakeCopy_1.GetOutPort( 'return' )
- OMakeCopy_1Gate = MakeCopy_1.GetOutPort( 'Gate' )
-
- MakeSphere_1 = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeSphere' )
- MakeSphere_1.SetName( 'MakeSphere_1' )
- MakeSphere_1.SetAuthor( '' )
- MakeSphere_1.SetContainer( 'localhost/FactoryServer' )
- MakeSphere_1.SetComment( 'MakeSphere from GEOM_Superv' )
- MakeSphere_1.Coords( 201 , 332 )
- IMakeSphere_1theX = MakeSphere_1.GetInPort( 'theX' )
- IMakeSphere_1theY = MakeSphere_1.GetInPort( 'theY' )
- IMakeSphere_1theZ = MakeSphere_1.GetInPort( 'theZ' )
- IMakeSphere_1theRadius = MakeSphere_1.GetInPort( 'theRadius' )
- IMakeSphere_1Gate = MakeSphere_1.GetInPort( 'Gate' )
- OMakeSphere_1return = MakeSphere_1.GetOutPort( 'return' )
- OMakeSphere_1Gate = MakeSphere_1.GetOutPort( 'Gate' )
-
- MakeFuse = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeFuse' )
- MakeFuse.SetName( 'MakeFuse' )
- MakeFuse.SetAuthor( '' )
- MakeFuse.SetContainer( 'localhost/FactoryServer' )
- MakeFuse.SetComment( 'MakeFuse from GEOM_Superv' )
- MakeFuse.Coords( 790 , 148 )
- IMakeFusetheShape1 = MakeFuse.GetInPort( 'theShape1' )
- IMakeFusetheShape2 = MakeFuse.GetInPort( 'theShape2' )
- IMakeFuseGate = MakeFuse.GetInPort( 'Gate' )
- OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
- OMakeFuseGate = MakeFuse.GetOutPort( 'Gate' )
-
- MakeFuse_1 = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeFuse' )
- MakeFuse_1.SetName( 'MakeFuse_1' )
- MakeFuse_1.SetAuthor( '' )
- MakeFuse_1.SetContainer( 'localhost/FactoryServer' )
- MakeFuse_1.SetComment( 'MakeFuse from GEOM_Superv' )
- MakeFuse_1.Coords( 993 , 312 )
- IMakeFuse_1theShape1 = MakeFuse_1.GetInPort( 'theShape1' )
- IMakeFuse_1theShape2 = MakeFuse_1.GetInPort( 'theShape2' )
- IMakeFuse_1Gate = MakeFuse_1.GetInPort( 'Gate' )
- OMakeFuse_1return = MakeFuse_1.GetOutPort( 'return' )
- OMakeFuse_1Gate = MakeFuse_1.GetOutPort( 'Gate' )
-
- # Creation of Links
- LSetStudyIDGateMakeBoxGate = GeomGraph.Link( OSetStudyIDGate , IMakeBoxGate )
-
- LSetStudyIDGateMakeSphere_1Gate = GeomGraph.Link( OSetStudyIDGate , IMakeSphere_1Gate )
-
- LMakeBoxreturnMakeCopytheOriginal = GeomGraph.Link( OMakeBoxreturn , IMakeCopytheOriginal )
-
- LMakeBoxreturnMakeCopy_1theOriginal = GeomGraph.Link( OMakeBoxreturn , IMakeCopy_1theOriginal )
-
- LMakeCopyreturnTranslateDXDYDZtheObject = GeomGraph.Link( OMakeCopyreturn , ITranslateDXDYDZtheObject )
-
- LTranslateDXDYDZreturnMakeFusetheShape1 = GeomGraph.Link( OTranslateDXDYDZreturn , IMakeFusetheShape1 )
-
- LMakeCopy_1returnMakeFusetheShape2 = GeomGraph.Link( OMakeCopy_1return , IMakeFusetheShape2 )
-
- LMakeSphere_1returnMakeFuse_1theShape2 = GeomGraph.Link( OMakeSphere_1return , IMakeFuse_1theShape2 )
-
- LMakeFusereturnMakeFuse_1theShape1 = GeomGraph.Link( OMakeFusereturn , IMakeFuse_1theShape1 )
-
- # Input datas
- ISetStudyIDtheStudyID.Input( 1 )
- IMakeBoxtheX1.Input( 0 )
- IMakeBoxtheY1.Input( 0 )
- IMakeBoxtheZ1.Input( 0 )
- IMakeBoxtheX2.Input( 50 )
- IMakeBoxtheY2.Input( 50 )
- IMakeBoxtheZ2.Input( 50 )
- ITranslateDXDYDZtheDX.Input( 10 )
- ITranslateDXDYDZtheDY.Input( 10 )
- ITranslateDXDYDZtheDZ.Input( 10 )
- IMakeSphere_1theX.Input( 0 )
- IMakeSphere_1theY.Input( 0 )
- IMakeSphere_1theZ.Input( 0 )
- IMakeSphere_1theRadius.Input( 12 )
-
- # Output Ports of the graph
- #OMakeFuse_1return = MakeFuse_1.GetOutPort( 'return' )
- return GeomGraph
-
-
-GeomGraph = DefGeomGraph()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GeomGraph
-#
-from SuperV import *
-
-# Graph creation of GeomGraph
-def DefGeomGraph() :
- GeomGraph = Graph( 'GeomGraph' )
- GeomGraph.SetName( 'GeomGraph' )
- GeomGraph.SetAuthor( '' )
- GeomGraph.SetComment( '' )
- GeomGraph.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- SetStudyID = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'SetStudyID' )
- SetStudyID.SetName( 'SetStudyID' )
- SetStudyID.SetAuthor( '' )
- SetStudyID.SetContainer( 'localhost/FactoryServer' )
- SetStudyID.SetComment( 'SetStudyID from GEOM_Superv' )
- SetStudyID.Coords( 14 , 241 )
- ISetStudyIDtheStudyID = SetStudyID.GetInPort( 'theStudyID' )
- ISetStudyIDGate = SetStudyID.GetInPort( 'Gate' )
- OSetStudyIDGate = SetStudyID.GetOutPort( 'Gate' )
-
- MakeBox = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeBox' )
- MakeBox.SetName( 'MakeBox' )
- MakeBox.SetAuthor( '' )
- MakeBox.SetContainer( 'localhost/FactoryServer' )
- MakeBox.SetComment( 'MakeBox from GEOM_Superv' )
- MakeBox.Coords( 198 , 46 )
- IMakeBoxtheX1 = MakeBox.GetInPort( 'theX1' )
- IMakeBoxtheY1 = MakeBox.GetInPort( 'theY1' )
- IMakeBoxtheZ1 = MakeBox.GetInPort( 'theZ1' )
- IMakeBoxtheX2 = MakeBox.GetInPort( 'theX2' )
- IMakeBoxtheY2 = MakeBox.GetInPort( 'theY2' )
- IMakeBoxtheZ2 = MakeBox.GetInPort( 'theZ2' )
- IMakeBoxGate = MakeBox.GetInPort( 'Gate' )
- OMakeBoxreturn = MakeBox.GetOutPort( 'return' )
- OMakeBoxGate = MakeBox.GetOutPort( 'Gate' )
-
- MakeCopy = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
- MakeCopy.SetName( 'MakeCopy' )
- MakeCopy.SetAuthor( '' )
- MakeCopy.SetContainer( 'localhost/FactoryServer' )
- MakeCopy.SetComment( 'MakeCopy from GEOM_Superv' )
- MakeCopy.Coords( 383 , 46 )
- IMakeCopytheOriginal = MakeCopy.GetInPort( 'theOriginal' )
- IMakeCopyGate = MakeCopy.GetInPort( 'Gate' )
- OMakeCopyreturn = MakeCopy.GetOutPort( 'return' )
- OMakeCopyGate = MakeCopy.GetOutPort( 'Gate' )
-
- TranslateDXDYDZ = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetName( 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetAuthor( '' )
- TranslateDXDYDZ.SetContainer( 'localhost/FactoryServer' )
- TranslateDXDYDZ.SetComment( 'TranslateDXDYDZ from GEOM_Superv' )
- TranslateDXDYDZ.Coords( 579 , 46 )
- ITranslateDXDYDZtheObject = TranslateDXDYDZ.GetInPort( 'theObject' )
- ITranslateDXDYDZtheDX = TranslateDXDYDZ.GetInPort( 'theDX' )
- ITranslateDXDYDZtheDY = TranslateDXDYDZ.GetInPort( 'theDY' )
- ITranslateDXDYDZtheDZ = TranslateDXDYDZ.GetInPort( 'theDZ' )
- ITranslateDXDYDZGate = TranslateDXDYDZ.GetInPort( 'Gate' )
- OTranslateDXDYDZreturn = TranslateDXDYDZ.GetOutPort( 'return' )
- OTranslateDXDYDZGate = TranslateDXDYDZ.GetOutPort( 'Gate' )
-
- MakeCopy_1 = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
- MakeCopy_1.SetName( 'MakeCopy_1' )
- MakeCopy_1.SetAuthor( '' )
- MakeCopy_1.SetContainer( 'localhost/FactoryServer' )
- MakeCopy_1.SetComment( 'MakeCopy from GEOM_Superv' )
- MakeCopy_1.Coords( 384 , 168 )
- IMakeCopy_1theOriginal = MakeCopy_1.GetInPort( 'theOriginal' )
- IMakeCopy_1Gate = MakeCopy_1.GetInPort( 'Gate' )
- OMakeCopy_1return = MakeCopy_1.GetOutPort( 'return' )
- OMakeCopy_1Gate = MakeCopy_1.GetOutPort( 'Gate' )
-
- MakeSphere_1 = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeSphere' )
- MakeSphere_1.SetName( 'MakeSphere_1' )
- MakeSphere_1.SetAuthor( '' )
- MakeSphere_1.SetContainer( 'localhost/FactoryServer' )
- MakeSphere_1.SetComment( 'MakeSphere from GEOM_Superv' )
- MakeSphere_1.Coords( 604 , 348 )
- IMakeSphere_1theX = MakeSphere_1.GetInPort( 'theX' )
- IMakeSphere_1theY = MakeSphere_1.GetInPort( 'theY' )
- IMakeSphere_1theZ = MakeSphere_1.GetInPort( 'theZ' )
- IMakeSphere_1theRadius = MakeSphere_1.GetInPort( 'theRadius' )
- IMakeSphere_1Gate = MakeSphere_1.GetInPort( 'Gate' )
- OMakeSphere_1return = MakeSphere_1.GetOutPort( 'return' )
- OMakeSphere_1Gate = MakeSphere_1.GetOutPort( 'Gate' )
-
- MakeFuse = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeFuse' )
- MakeFuse.SetName( 'MakeFuse' )
- MakeFuse.SetAuthor( '' )
- MakeFuse.SetContainer( 'localhost/FactoryServer' )
- MakeFuse.SetComment( 'MakeFuse from GEOM_Superv' )
- MakeFuse.Coords( 790 , 148 )
- IMakeFusetheShape1 = MakeFuse.GetInPort( 'theShape1' )
- IMakeFusetheShape2 = MakeFuse.GetInPort( 'theShape2' )
- IMakeFuseGate = MakeFuse.GetInPort( 'Gate' )
- OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
- OMakeFuseGate = MakeFuse.GetOutPort( 'Gate' )
-
- MakeFuse_1 = GeomGraph.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeFuse' )
- MakeFuse_1.SetName( 'MakeFuse_1' )
- MakeFuse_1.SetAuthor( '' )
- MakeFuse_1.SetContainer( 'localhost/FactoryServer' )
- MakeFuse_1.SetComment( 'MakeFuse from GEOM_Superv' )
- MakeFuse_1.Coords( 993 , 312 )
- IMakeFuse_1theShape1 = MakeFuse_1.GetInPort( 'theShape1' )
- IMakeFuse_1theShape2 = MakeFuse_1.GetInPort( 'theShape2' )
- IMakeFuse_1Gate = MakeFuse_1.GetInPort( 'Gate' )
- OMakeFuse_1return = MakeFuse_1.GetOutPort( 'return' )
- OMakeFuse_1Gate = MakeFuse_1.GetOutPort( 'Gate' )
-
- # Creation of Links
- LSetStudyIDGateMakeBoxGate = GeomGraph.Link( OSetStudyIDGate , IMakeBoxGate )
-
- LMakeBoxreturnMakeCopytheOriginal = GeomGraph.Link( OMakeBoxreturn , IMakeCopytheOriginal )
-
- LMakeBoxreturnMakeCopy_1theOriginal = GeomGraph.Link( OMakeBoxreturn , IMakeCopy_1theOriginal )
-
- LMakeBoxGateMakeCopyGate = GeomGraph.Link( OMakeBoxGate , IMakeCopyGate )
-
- LMakeCopyreturnTranslateDXDYDZtheObject = GeomGraph.Link( OMakeCopyreturn , ITranslateDXDYDZtheObject )
-
- LMakeCopyGateMakeCopy_1Gate = GeomGraph.Link( OMakeCopyGate , IMakeCopy_1Gate )
- LMakeCopyGateMakeCopy_1Gate.AddCoord( 1 , 363 , 263 )
- LMakeCopyGateMakeCopy_1Gate.AddCoord( 2 , 564 , 141 )
-
- LTranslateDXDYDZreturnMakeFusetheShape1 = GeomGraph.Link( OTranslateDXDYDZreturn , IMakeFusetheShape1 )
-
- LTranslateDXDYDZGateMakeFuseGate = GeomGraph.Link( OTranslateDXDYDZGate , IMakeFuseGate )
-
- LMakeCopy_1returnMakeFusetheShape2 = GeomGraph.Link( OMakeCopy_1return , IMakeFusetheShape2 )
-
- LMakeCopy_1GateMakeSphere_1Gate = GeomGraph.Link( OMakeCopy_1Gate , IMakeSphere_1Gate )
- LMakeCopy_1GateMakeSphere_1Gate.AddCoord( 1 , 572 , 503 )
- LMakeCopy_1GateMakeSphere_1Gate.AddCoord( 2 , 572 , 263 )
-
- LMakeSphere_1returnMakeFuse_1theShape2 = GeomGraph.Link( OMakeSphere_1return , IMakeFuse_1theShape2 )
-
- LMakeSphere_1GateTranslateDXDYDZGate = GeomGraph.Link( OMakeSphere_1Gate , ITranslateDXDYDZGate )
-
- LMakeFusereturnMakeFuse_1theShape1 = GeomGraph.Link( OMakeFusereturn , IMakeFuse_1theShape1 )
-
- LMakeFuseGateMakeFuse_1Gate = GeomGraph.Link( OMakeFuseGate , IMakeFuse_1Gate )
-
- # Input datas
- ISetStudyIDtheStudyID.Input( 1 )
- IMakeBoxtheX1.Input( 0 )
- IMakeBoxtheY1.Input( 0 )
- IMakeBoxtheZ1.Input( 0 )
- IMakeBoxtheX2.Input( 50 )
- IMakeBoxtheY2.Input( 50 )
- IMakeBoxtheZ2.Input( 50 )
- ITranslateDXDYDZtheDX.Input( 10 )
- ITranslateDXDYDZtheDY.Input( 10 )
- ITranslateDXDYDZtheDZ.Input( 10 )
- IMakeSphere_1theX.Input( 0 )
- IMakeSphere_1theY.Input( 0 )
- IMakeSphere_1theZ.Input( 0 )
- IMakeSphere_1theRadius.Input( 12 )
-
- # Output Ports of the graph
- #OMakeFuse_1return = MakeFuse_1.GetOutPort( 'return' )
- return GeomGraph
-
-
-GeomGraph = DefGeomGraph()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow_1_4_2_1_1_2_2_1_1
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow_1_4_2_1_1_2_2_1_1
-def DefaNewDataFlow_1_4_2_1_1_2_2_1_1() :
- aNewDataFlow_1_4_2_1_1_2_2_1_1 = Graph( 'aNewDataFlow_1_4_2_1_1_2_2_1_1' )
- aNewDataFlow_1_4_2_1_1_2_2_1_1.SetName( 'aNewDataFlow_1_4_2_1_1_2_2_1_1' )
- aNewDataFlow_1_4_2_1_1_2_2_1_1.SetAuthor( '' )
- aNewDataFlow_1_4_2_1_1_2_2_1_1.SetComment( '' )
- aNewDataFlow_1_4_2_1_1_2_2_1_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- Pygag = []
- Pygag.append( 'from batchmode_geompy import * ' )
- Pygag.append( 'def gag(): ' )
- Pygag.append( ' # This is a gag ' )
- Pygag.append( ' return 1 ' )
- gag = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'gag' , Pygag )
- gag.SetName( 'gag' )
- gag.SetAuthor( '' )
- gag.SetComment( 'Compute Node' )
- gag.Coords( 0 , 123 )
- IgagGate = gag.GetInPort( 'Gate' )
- OgagGate = gag.GetOutPort( 'Gate' )
-
- PyMakeBox1 = []
- PyMakeBox1.append( 'def MakeBox1(x1,y1,z1,x2,y2,z2): ' )
- PyMakeBox1.append( ' aBox = MakeBox(x1,y1,z1,x2,y2,z2) ' )
- PyMakeBox1.append( ' return aBox ' )
- MakeBox1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'MakeBox1' , PyMakeBox1 )
- MakeBox1.SetName( 'MakeBox1' )
- MakeBox1.SetAuthor( '' )
- MakeBox1.SetComment( 'Compute Node' )
- MakeBox1.Coords( 194 , 3 )
- IMakeBox1x1 = MakeBox1.InPort( 'x1' , 'double' )
- IMakeBox1y1 = MakeBox1.InPort( 'y1' , 'double' )
- IMakeBox1z1 = MakeBox1.InPort( 'z1' , 'double' )
- IMakeBox1x2 = MakeBox1.InPort( 'x2' , 'double' )
- IMakeBox1y2 = MakeBox1.InPort( 'y2' , 'double' )
- IMakeBox1z2 = MakeBox1.InPort( 'z2' , 'double' )
- IMakeBox1Gate = MakeBox1.GetInPort( 'Gate' )
- OMakeBox1shape = MakeBox1.OutPort( 'shape' , 'objref' )
- OMakeBox1Gate = MakeBox1.GetOutPort( 'Gate' )
-
- PyMakeCopy_1 = []
- PyMakeCopy_1.append( 'def MakeCopy_1(shape1): ' )
- PyMakeCopy_1.append( ' shape=MakeCopy(shape1) ' )
- PyMakeCopy_1.append( ' return shape ' )
- MakeCopy_1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'MakeCopy_1' , PyMakeCopy_1 )
- MakeCopy_1.SetName( 'MakeCopy_1' )
- MakeCopy_1.SetAuthor( '' )
- MakeCopy_1.SetComment( 'Compute Node' )
- MakeCopy_1.Coords( 389 , 3 )
- IMakeCopy_1shape1 = MakeCopy_1.InPort( 'shape1' , 'objref' )
- IMakeCopy_1Gate = MakeCopy_1.GetInPort( 'Gate' )
- OMakeCopy_1shape = MakeCopy_1.OutPort( 'shape' , 'objref' )
- OMakeCopy_1Gate = MakeCopy_1.GetOutPort( 'Gate' )
-
- PyMakeCopy_2 = []
- PyMakeCopy_2.append( 'def MakeCopy_2(shape1): ' )
- PyMakeCopy_2.append( ' shape=MakeCopy(shape1) ' )
- PyMakeCopy_2.append( ' return shape ' )
- MakeCopy_2 = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'MakeCopy_2' , PyMakeCopy_2 )
- MakeCopy_2.SetName( 'MakeCopy_2' )
- MakeCopy_2.SetAuthor( '' )
- MakeCopy_2.SetComment( 'Compute Node' )
- MakeCopy_2.Coords( 389 , 136 )
- IMakeCopy_2shape1 = MakeCopy_2.InPort( 'shape1' , 'objref' )
- IMakeCopy_2Gate = MakeCopy_2.GetInPort( 'Gate' )
- OMakeCopy_2shape = MakeCopy_2.OutPort( 'shape' , 'objref' )
- OMakeCopy_2Gate = MakeCopy_2.GetOutPort( 'Gate' )
-
- PyMakeSphere_1 = []
- PyMakeSphere_1.append( 'def MakeSphere_1(x1,y1,z1,radius): ' )
- PyMakeSphere_1.append( ' apoint=MakeVertex(x1,y1,z1) ' )
- PyMakeSphere_1.append( ' shape=MakeSpherePntR(apoint,radius) ' )
- PyMakeSphere_1.append( ' return shape ' )
- MakeSphere_1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'MakeSphere_1' , PyMakeSphere_1 )
- MakeSphere_1.SetName( 'MakeSphere_1' )
- MakeSphere_1.SetAuthor( '' )
- MakeSphere_1.SetComment( 'Compute Node' )
- MakeSphere_1.Coords( 609 , 313 )
- IMakeSphere_1x1 = MakeSphere_1.InPort( 'x1' , 'double' )
- IMakeSphere_1y1 = MakeSphere_1.InPort( 'y1' , 'double' )
- IMakeSphere_1z1 = MakeSphere_1.InPort( 'z1' , 'double' )
- IMakeSphere_1radius = MakeSphere_1.InPort( 'radius' , 'double' )
- IMakeSphere_1Gate = MakeSphere_1.GetInPort( 'Gate' )
- OMakeSphere_1shape = MakeSphere_1.OutPort( 'shape' , 'objref' )
- OMakeSphere_1Gate = MakeSphere_1.GetOutPort( 'Gate' )
-
- PyMakeTranslation_1 = []
- PyMakeTranslation_1.append( 'def MakeTranslation_1(shape1,x1,y1,z1): ' )
- PyMakeTranslation_1.append( ' shape = MakeTranslation(shape1,x1,y1,z1) ' )
- PyMakeTranslation_1.append( ' return shape ' )
- MakeTranslation_1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'MakeTranslation_1' , PyMakeTranslation_1 )
- MakeTranslation_1.SetName( 'MakeTranslation_1' )
- MakeTranslation_1.SetAuthor( '' )
- MakeTranslation_1.SetComment( 'Compute Node' )
- MakeTranslation_1.Coords( 596 , 3 )
- IMakeTranslation_1shape1 = MakeTranslation_1.InPort( 'shape1' , 'objref' )
- IMakeTranslation_1x1 = MakeTranslation_1.InPort( 'x1' , 'double' )
- IMakeTranslation_1y1 = MakeTranslation_1.InPort( 'y1' , 'double' )
- IMakeTranslation_1z1 = MakeTranslation_1.InPort( 'z1' , 'double' )
- IMakeTranslation_1Gate = MakeTranslation_1.GetInPort( 'Gate' )
- OMakeTranslation_1shape = MakeTranslation_1.OutPort( 'shape' , 'objref' )
- OMakeTranslation_1Gate = MakeTranslation_1.GetOutPort( 'Gate' )
-
- PyMakeFuse_1 = []
- PyMakeFuse_1.append( 'def MakeFuse_1(shape1,shape2): ' )
- PyMakeFuse_1.append( ' # fuse operation 3 ' )
- PyMakeFuse_1.append( ' shape = MakeBoolean(shape1,shape2,3) ' )
- PyMakeFuse_1.append( ' return shape ' )
- MakeFuse_1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'MakeFuse_1' , PyMakeFuse_1 )
- MakeFuse_1.SetName( 'MakeFuse_1' )
- MakeFuse_1.SetAuthor( '' )
- MakeFuse_1.SetComment( 'Compute Node' )
- MakeFuse_1.Coords( 823 , 116 )
- IMakeFuse_1shape1 = MakeFuse_1.InPort( 'shape1' , 'objref' )
- IMakeFuse_1shape2 = MakeFuse_1.InPort( 'shape2' , 'objref' )
- IMakeFuse_1Gate = MakeFuse_1.GetInPort( 'Gate' )
- OMakeFuse_1shape = MakeFuse_1.OutPort( 'shape' , 'objref' )
- OMakeFuse_1Gate = MakeFuse_1.GetOutPort( 'Gate' )
-
- PyMakeFuse_2 = []
- PyMakeFuse_2.append( 'def MakeFuse_2(shape1,shape2): ' )
- PyMakeFuse_2.append( ' # fuse operation 3 ' )
- PyMakeFuse_2.append( ' shape = MakeBoolean(shape1,shape2,3) ' )
- PyMakeFuse_2.append( ' from SALOME_NamingServicePy import SALOME_NamingServicePy_i ' )
- PyMakeFuse_2.append( ' myNamingService = SALOME_NamingServicePy_i(orb) ' )
- PyMakeFuse_2.append( ' aSession = myNamingService.Resolve('/Kernel/Session') ' )
- PyMakeFuse_2.append( ' aStudyId = aSession.GetActiveStudyId() ' )
- PyMakeFuse_2.append( ' myStudyManager = myNamingService.Resolve('/myStudyManager') ' )
- PyMakeFuse_2.append( ' aStudy = myStudyManager.GetStudyByID(aStudyId) ' )
- PyMakeFuse_2.append( ' aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ' )
- PyMakeFuse_2.append( ' return shape ' )
- MakeFuse_2 = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'MakeFuse_2' , PyMakeFuse_2 )
- MakeFuse_2.SetName( 'MakeFuse_2' )
- MakeFuse_2.SetAuthor( '' )
- MakeFuse_2.SetComment( 'Compute Node' )
- MakeFuse_2.Coords( 1049 , 295 )
- IMakeFuse_2shape1 = MakeFuse_2.InPort( 'shape1' , 'objref' )
- IMakeFuse_2shape2 = MakeFuse_2.InPort( 'shape2' , 'objref' )
- IMakeFuse_2Gate = MakeFuse_2.GetInPort( 'Gate' )
- OMakeFuse_2shape = MakeFuse_2.OutPort( 'shape' , 'objref' )
- OMakeFuse_2Gate = MakeFuse_2.GetOutPort( 'Gate' )
-
- # Creation of Links
- LgagGateMakeBox1Gate = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OgagGate , IMakeBox1Gate )
-
- LMakeBox1shapeMakeCopy_1shape1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeBox1shape , IMakeCopy_1shape1 )
-
- LMakeBox1shapeMakeCopy_2shape1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeBox1shape , IMakeCopy_2shape1 )
- LMakeBox1shapeMakeCopy_2shape1.AddCoord( 1 , 384 , 207 )
-
- LMakeBox1GateMakeCopy_1Gate = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeBox1Gate , IMakeCopy_1Gate )
-
- LMakeCopy_1shapeMakeTranslation_1shape1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeCopy_1shape , IMakeTranslation_1shape1 )
-
- LMakeCopy_1GateMakeCopy_2Gate = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeCopy_1Gate , IMakeCopy_2Gate )
- LMakeCopy_1GateMakeCopy_2Gate.AddCoord( 1 , 366 , 231 )
- LMakeCopy_1GateMakeCopy_2Gate.AddCoord( 2 , 570 , 98 )
-
- LMakeCopy_2shapeMakeFuse_1shape2 = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeCopy_2shape , IMakeFuse_1shape2 )
- LMakeCopy_2shapeMakeFuse_1shape2.AddCoord( 1 , 674 , 207 )
-
- LMakeCopy_2GateMakeSphere_1Gate = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeCopy_2Gate , IMakeSphere_1Gate )
- LMakeCopy_2GateMakeSphere_1Gate.AddCoord( 1 , 554 , 468 )
-
- LMakeSphere_1shapeMakeFuse_2shape2 = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeSphere_1shape , IMakeFuse_2shape2 )
-
- LMakeSphere_1GateMakeTranslation_1Gate = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeSphere_1Gate , IMakeTranslation_1Gate )
- LMakeSphere_1GateMakeTranslation_1Gate.AddCoord( 1 , 573 , 158 )
- LMakeSphere_1GateMakeTranslation_1Gate.AddCoord( 2 , 796 , 468 )
-
- LMakeTranslation_1shapeMakeFuse_1shape1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeTranslation_1shape , IMakeFuse_1shape1 )
-
- LMakeTranslation_1GateMakeFuse_1Gate = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeTranslation_1Gate , IMakeFuse_1Gate )
-
- LMakeFuse_1shapeMakeFuse_2shape1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeFuse_1shape , IMakeFuse_2shape1 )
- LMakeFuse_1shapeMakeFuse_2shape1.AddCoord( 1 , 1017 , 366 )
- LMakeFuse_1shapeMakeFuse_2shape1.AddCoord( 2 , 1017 , 187 )
-
- LMakeFuse_1GateMakeFuse_2Gate = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeFuse_1Gate , IMakeFuse_2Gate )
- LMakeFuse_1GateMakeFuse_2Gate.AddCoord( 1 , 987 , 410 )
-
- # Input datas
- IMakeBox1x1.Input( 0 )
- IMakeBox1y1.Input( 0 )
- IMakeBox1z1.Input( 0 )
- IMakeBox1x2.Input( 50 )
- IMakeBox1y2.Input( 50 )
- IMakeBox1z2.Input( 50 )
- IMakeSphere_1x1.Input( 0 )
- IMakeSphere_1y1.Input( 0 )
- IMakeSphere_1z1.Input( 0 )
- IMakeSphere_1radius.Input( 12 )
- IMakeTranslation_1x1.Input( 25 )
- IMakeTranslation_1y1.Input( 25 )
- IMakeTranslation_1z1.Input( 25 )
-
- # Output Ports of the graph
- #OMakeFuse_2shape = MakeFuse_2.GetOutPort( 'shape' )
- return aNewDataFlow_1_4_2_1_1_2_2_1_1
-
-
-aNewDataFlow_1_4_2_1_1_2_2_1_1 = DefaNewDataFlow_1_4_2_1_1_2_2_1_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow_1_4_2_1_1_2_2_1_1
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow_1_4_2_1_1_2_2_1_1
-def DefaNewDataFlow_1_4_2_1_1_2_2_1_1() :
- aNewDataFlow_1_4_2_1_1_2_2_1_1 = Graph( 'aNewDataFlow_1_4_2_1_1_2_2_1_1' )
- aNewDataFlow_1_4_2_1_1_2_2_1_1.SetName( 'aNewDataFlow_1_4_2_1_1_2_2_1_1' )
- aNewDataFlow_1_4_2_1_1_2_2_1_1.SetAuthor( '' )
- aNewDataFlow_1_4_2_1_1_2_2_1_1.SetComment( '' )
- aNewDataFlow_1_4_2_1_1_2_2_1_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- Pygag = []
- Pygag.append( 'from batchmode_geompy import * ' )
- Pygag.append( 'def gag(): ' )
- Pygag.append( ' # This is a gag ' )
- Pygag.append( ' return 1 ' )
- gag = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'gag' , Pygag )
- gag.SetName( 'gag' )
- gag.SetAuthor( '' )
- gag.SetComment( 'Compute Node' )
- gag.Coords( 0 , 123 )
- IgagGate = gag.GetInPort( 'Gate' )
- OgagGate = gag.GetOutPort( 'Gate' )
-
- PyMakeBox1 = []
- PyMakeBox1.append( 'def MakeBox1(x1,y1,z1,x2,y2,z2): ' )
- PyMakeBox1.append( ' aBox = MakeBox(x1,y1,z1,x2,y2,z2) ' )
- PyMakeBox1.append( ' return aBox ' )
- MakeBox1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'MakeBox1' , PyMakeBox1 )
- MakeBox1.SetName( 'MakeBox1' )
- MakeBox1.SetAuthor( '' )
- MakeBox1.SetComment( 'Compute Node' )
- MakeBox1.Coords( 194 , 3 )
- IMakeBox1x1 = MakeBox1.InPort( 'x1' , 'double' )
- IMakeBox1y1 = MakeBox1.InPort( 'y1' , 'double' )
- IMakeBox1z1 = MakeBox1.InPort( 'z1' , 'double' )
- IMakeBox1x2 = MakeBox1.InPort( 'x2' , 'double' )
- IMakeBox1y2 = MakeBox1.InPort( 'y2' , 'double' )
- IMakeBox1z2 = MakeBox1.InPort( 'z2' , 'double' )
- IMakeBox1Gate = MakeBox1.GetInPort( 'Gate' )
- OMakeBox1shape = MakeBox1.OutPort( 'shape' , 'objref' )
- OMakeBox1Gate = MakeBox1.GetOutPort( 'Gate' )
-
- PyMakeCopy_1 = []
- PyMakeCopy_1.append( 'def MakeCopy_1(shape1): ' )
- PyMakeCopy_1.append( ' shape=MakeCopy(shape1) ' )
- PyMakeCopy_1.append( ' return shape ' )
- MakeCopy_1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'MakeCopy_1' , PyMakeCopy_1 )
- MakeCopy_1.SetName( 'MakeCopy_1' )
- MakeCopy_1.SetAuthor( '' )
- MakeCopy_1.SetComment( 'Compute Node' )
- MakeCopy_1.Coords( 389 , 3 )
- IMakeCopy_1shape1 = MakeCopy_1.InPort( 'shape1' , 'objref' )
- IMakeCopy_1Gate = MakeCopy_1.GetInPort( 'Gate' )
- OMakeCopy_1shape = MakeCopy_1.OutPort( 'shape' , 'objref' )
- OMakeCopy_1Gate = MakeCopy_1.GetOutPort( 'Gate' )
-
- PyMakeCopy_2 = []
- PyMakeCopy_2.append( 'def MakeCopy_2(shape1): ' )
- PyMakeCopy_2.append( ' shape=MakeCopy(shape1) ' )
- PyMakeCopy_2.append( ' return shape ' )
- MakeCopy_2 = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'MakeCopy_2' , PyMakeCopy_2 )
- MakeCopy_2.SetName( 'MakeCopy_2' )
- MakeCopy_2.SetAuthor( '' )
- MakeCopy_2.SetComment( 'Compute Node' )
- MakeCopy_2.Coords( 389 , 136 )
- IMakeCopy_2shape1 = MakeCopy_2.InPort( 'shape1' , 'objref' )
- IMakeCopy_2Gate = MakeCopy_2.GetInPort( 'Gate' )
- OMakeCopy_2shape = MakeCopy_2.OutPort( 'shape' , 'objref' )
- OMakeCopy_2Gate = MakeCopy_2.GetOutPort( 'Gate' )
-
- PyMakeSphere_1 = []
- PyMakeSphere_1.append( 'def MakeSphere_1(x1,y1,z1,radius): ' )
- PyMakeSphere_1.append( ' apoint=MakeVertex(x1,y1,z1) ' )
- PyMakeSphere_1.append( ' shape=MakeSpherePntR(apoint,radius) ' )
- PyMakeSphere_1.append( ' return shape ' )
- MakeSphere_1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'MakeSphere_1' , PyMakeSphere_1 )
- MakeSphere_1.SetName( 'MakeSphere_1' )
- MakeSphere_1.SetAuthor( '' )
- MakeSphere_1.SetComment( 'Compute Node' )
- MakeSphere_1.Coords( 203 , 315 )
- IMakeSphere_1x1 = MakeSphere_1.InPort( 'x1' , 'double' )
- IMakeSphere_1y1 = MakeSphere_1.InPort( 'y1' , 'double' )
- IMakeSphere_1z1 = MakeSphere_1.InPort( 'z1' , 'double' )
- IMakeSphere_1radius = MakeSphere_1.InPort( 'radius' , 'double' )
- IMakeSphere_1Gate = MakeSphere_1.GetInPort( 'Gate' )
- OMakeSphere_1shape = MakeSphere_1.OutPort( 'shape' , 'objref' )
- OMakeSphere_1Gate = MakeSphere_1.GetOutPort( 'Gate' )
-
- PyMakeTranslation_1 = []
- PyMakeTranslation_1.append( 'def MakeTranslation_1(shape1,x1,y1,z1): ' )
- PyMakeTranslation_1.append( ' shape = MakeTranslation(shape1,x1,y1,z1) ' )
- PyMakeTranslation_1.append( ' return shape ' )
- MakeTranslation_1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'MakeTranslation_1' , PyMakeTranslation_1 )
- MakeTranslation_1.SetName( 'MakeTranslation_1' )
- MakeTranslation_1.SetAuthor( '' )
- MakeTranslation_1.SetComment( 'Compute Node' )
- MakeTranslation_1.Coords( 596 , 3 )
- IMakeTranslation_1shape1 = MakeTranslation_1.InPort( 'shape1' , 'objref' )
- IMakeTranslation_1x1 = MakeTranslation_1.InPort( 'x1' , 'double' )
- IMakeTranslation_1y1 = MakeTranslation_1.InPort( 'y1' , 'double' )
- IMakeTranslation_1z1 = MakeTranslation_1.InPort( 'z1' , 'double' )
- IMakeTranslation_1Gate = MakeTranslation_1.GetInPort( 'Gate' )
- OMakeTranslation_1shape = MakeTranslation_1.OutPort( 'shape' , 'objref' )
- OMakeTranslation_1Gate = MakeTranslation_1.GetOutPort( 'Gate' )
-
- PyMakeFuse_1 = []
- PyMakeFuse_1.append( 'def MakeFuse_1(shape1,shape2): ' )
- PyMakeFuse_1.append( ' # fuse operation 3 ' )
- PyMakeFuse_1.append( ' shape = MakeBoolean(shape1,shape2,3) ' )
- PyMakeFuse_1.append( ' return shape ' )
- MakeFuse_1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'MakeFuse_1' , PyMakeFuse_1 )
- MakeFuse_1.SetName( 'MakeFuse_1' )
- MakeFuse_1.SetAuthor( '' )
- MakeFuse_1.SetComment( 'Compute Node' )
- MakeFuse_1.Coords( 823 , 116 )
- IMakeFuse_1shape1 = MakeFuse_1.InPort( 'shape1' , 'objref' )
- IMakeFuse_1shape2 = MakeFuse_1.InPort( 'shape2' , 'objref' )
- IMakeFuse_1Gate = MakeFuse_1.GetInPort( 'Gate' )
- OMakeFuse_1shape = MakeFuse_1.OutPort( 'shape' , 'objref' )
- OMakeFuse_1Gate = MakeFuse_1.GetOutPort( 'Gate' )
-
- PyMakeFuse_2 = []
- PyMakeFuse_2.append( 'def MakeFuse_2(shape1,shape2): ' )
- PyMakeFuse_2.append( ' # fuse operation 3 ' )
- PyMakeFuse_2.append( ' shape = MakeBoolean(shape1,shape2,3) ' )
- PyMakeFuse_2.append( ' from SALOME_NamingServicePy import SALOME_NamingServicePy_i ' )
- PyMakeFuse_2.append( ' myNamingService = SALOME_NamingServicePy_i(orb) ' )
- PyMakeFuse_2.append( ' aSession = myNamingService.Resolve('/Kernel/Session') ' )
- PyMakeFuse_2.append( ' aStudyId = aSession.GetActiveStudyId() ' )
- PyMakeFuse_2.append( ' myStudyManager = myNamingService.Resolve('/myStudyManager') ' )
- PyMakeFuse_2.append( ' aStudy = myStudyManager.GetStudyByID(aStudyId) ' )
- PyMakeFuse_2.append( ' aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ' )
- PyMakeFuse_2.append( ' return shape ' )
- MakeFuse_2 = aNewDataFlow_1_4_2_1_1_2_2_1_1.INode( 'MakeFuse_2' , PyMakeFuse_2 )
- MakeFuse_2.SetName( 'MakeFuse_2' )
- MakeFuse_2.SetAuthor( '' )
- MakeFuse_2.SetComment( 'Compute Node' )
- MakeFuse_2.Coords( 1049 , 295 )
- IMakeFuse_2shape1 = MakeFuse_2.InPort( 'shape1' , 'objref' )
- IMakeFuse_2shape2 = MakeFuse_2.InPort( 'shape2' , 'objref' )
- IMakeFuse_2Gate = MakeFuse_2.GetInPort( 'Gate' )
- OMakeFuse_2shape = MakeFuse_2.OutPort( 'shape' , 'objref' )
- OMakeFuse_2Gate = MakeFuse_2.GetOutPort( 'Gate' )
-
- # Creation of Links
- LgagGateMakeBox1Gate = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OgagGate , IMakeBox1Gate )
-
- LgagGateMakeSphere_1Gate = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OgagGate , IMakeSphere_1Gate )
- LgagGateMakeSphere_1Gate.AddCoord( 1 , 164 , 470 )
- LgagGateMakeSphere_1Gate.AddCoord( 2 , 164 , 265 )
-
- LMakeBox1shapeMakeCopy_1shape1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeBox1shape , IMakeCopy_1shape1 )
-
- LMakeBox1shapeMakeCopy_2shape1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeBox1shape , IMakeCopy_2shape1 )
- LMakeBox1shapeMakeCopy_2shape1.AddCoord( 1 , 384 , 207 )
-
- LMakeCopy_1shapeMakeTranslation_1shape1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeCopy_1shape , IMakeTranslation_1shape1 )
-
- LMakeCopy_2shapeMakeFuse_1shape2 = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeCopy_2shape , IMakeFuse_1shape2 )
- LMakeCopy_2shapeMakeFuse_1shape2.AddCoord( 1 , 674 , 207 )
-
- LMakeSphere_1shapeMakeFuse_2shape2 = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeSphere_1shape , IMakeFuse_2shape2 )
-
- LMakeTranslation_1shapeMakeFuse_1shape1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeTranslation_1shape , IMakeFuse_1shape1 )
-
- LMakeFuse_1shapeMakeFuse_2shape1 = aNewDataFlow_1_4_2_1_1_2_2_1_1.Link( OMakeFuse_1shape , IMakeFuse_2shape1 )
- LMakeFuse_1shapeMakeFuse_2shape1.AddCoord( 1 , 1017 , 366 )
- LMakeFuse_1shapeMakeFuse_2shape1.AddCoord( 2 , 1017 , 187 )
-
- # Input datas
- IMakeBox1x1.Input( 0 )
- IMakeBox1y1.Input( 0 )
- IMakeBox1z1.Input( 0 )
- IMakeBox1x2.Input( 50 )
- IMakeBox1y2.Input( 50 )
- IMakeBox1z2.Input( 50 )
- IMakeSphere_1x1.Input( 0 )
- IMakeSphere_1y1.Input( 0 )
- IMakeSphere_1z1.Input( 0 )
- IMakeSphere_1radius.Input( 12 )
- IMakeTranslation_1x1.Input( 25 )
- IMakeTranslation_1y1.Input( 25 )
- IMakeTranslation_1z1.Input( 25 )
-
- # Output Ports of the graph
- #OMakeFuse_2shape = MakeFuse_2.GetOutPort( 'shape' )
- return aNewDataFlow_1_4_2_1_1_2_2_1_1
-
-
-aNewDataFlow_1_4_2_1_1_2_2_1_1 = DefaNewDataFlow_1_4_2_1_1_2_2_1_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphAdd
-#
-from SuperV import *
-
-# Graph creation of GraphAdd
-def DefGraphAdd() :
- GraphAdd = Graph( 'GraphAdd' )
- GraphAdd.SetName( 'GraphAdd' )
- GraphAdd.SetAuthor( '' )
- GraphAdd.SetComment( '' )
- GraphAdd.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphAdd.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'localhost/FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 55 , 61 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- # Input Ports of the graph
- #IAddx = Add.GetInPort( 'x' )
- #IAddy = Add.GetInPort( 'y' )
-
- # Output Ports of the graph
- #OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- #OAddz = Add.GetOutPort( 'z' )
- return GraphAdd
-
-
-GraphAdd = DefGraphAdd()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphBadInputInLoop_1
-#
-from SuperV import *
-
-# Graph creation of GraphBadInputInLoop_1
-def DefGraphBadInputInLoop_1() :
- GraphBadInputInLoop_1 = Graph( 'GraphBadInputInLoop_1' )
- GraphBadInputInLoop_1.SetName( 'GraphBadInputInLoop_1' )
- GraphBadInputInLoop_1.SetAuthor( '' )
- GraphBadInputInLoop_1.SetComment( '' )
- GraphBadInputInLoop_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a) : ' )
- PyIsOdd.append( ' print a,"IsOdd (GraphLoopSwitch1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphBadInputInLoop_1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 1 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyBadInputOfLoop = []
- PyBadInputOfLoop.append( 'def BadInputOfLoop() : ' )
- PyBadInputOfLoop.append( ' return 1 ' )
- PyBadInputOfLoop.append( '' )
- BadInputOfLoop = GraphBadInputInLoop_1.INode( 'BadInputOfLoop' , PyBadInputOfLoop )
- BadInputOfLoop.SetName( 'BadInputOfLoop' )
- BadInputOfLoop.SetAuthor( '' )
- BadInputOfLoop.SetComment( 'Compute Node' )
- BadInputOfLoop.Coords( 15 , 307 )
- IBadInputOfLoopGate = BadInputOfLoop.GetInPort( 'Gate' )
- OBadInputOfLoopInputInLoop = BadInputOfLoop.OutPort( 'InputInLoop' , 'long' )
- OBadInputOfLoopGate = BadInputOfLoop.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphBadInputInLoop_1.LNode( '' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 767 , 102 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphBadInputInLoop_1.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 587 , 103 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a) : ' )
- PyEndSwitch.append( ' if ( a & 1 ) == 0 : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- ISwitcha = Switch.InPort( 'a' , 'long' )
- ISwitchInputInLoop = Switch.InPort( 'InputInLoop' , '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
- LIsOddaEndSwitcha = GraphBadInputInLoop_1.Link( OIsOdda , IEndSwitcha )
-
- LInitLoopIndexSwitcha = GraphBadInputInLoop_1.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphBadInputInLoop_1.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LSwitchOddIsOddGate = GraphBadInputInLoop_1.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchaIsOdda = GraphBadInputInLoop_1.Link( OSwitcha , IIsOdda )
-
- LEndSwitchaEndOfInitLoopIndex = GraphBadInputInLoop_1.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- LBadInputOfLoopInputInLoopSwitchInputInLoop = GraphBadInputInLoop_1.Link( OBadInputOfLoopInputInLoop , ISwitchInputInLoop )
-
- # 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' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- return GraphBadInputInLoop_1
-
-
-GraphBadInputInLoop_1 = DefGraphBadInputInLoop_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphBadInputInLoop1_1
-#
-from SuperV import *
-
-# Graph creation of GraphBadInputInLoop1_1
-def DefGraphBadInputInLoop1_1() :
- GraphBadInputInLoop1_1 = Graph( 'GraphBadInputInLoop1_1' )
- GraphBadInputInLoop1_1.SetName( 'GraphBadInputInLoop1_1' )
- GraphBadInputInLoop1_1.SetAuthor( '' )
- GraphBadInputInLoop1_1.SetComment( '' )
- GraphBadInputInLoop1_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a) : ' )
- PyIsOdd.append( ' print a,"IsOdd (GraphLoopSwitch1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphBadInputInLoop1_1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 1 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyBadInputOfLoop = []
- PyBadInputOfLoop.append( 'def BadInputOfLoop() : ' )
- PyBadInputOfLoop.append( ' return 1 ' )
- PyBadInputOfLoop.append( '' )
- BadInputOfLoop = GraphBadInputInLoop1_1.INode( 'BadInputOfLoop' , PyBadInputOfLoop )
- BadInputOfLoop.SetName( 'BadInputOfLoop' )
- BadInputOfLoop.SetAuthor( '' )
- BadInputOfLoop.SetComment( 'Compute Node' )
- BadInputOfLoop.Coords( 15 , 307 )
- IBadInputOfLoopGate = BadInputOfLoop.GetInPort( 'Gate' )
- OBadInputOfLoopInputInLoop = BadInputOfLoop.OutPort( 'InputInLoop' , 'boolean' )
- OBadInputOfLoopGate = BadInputOfLoop.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphBadInputInLoop1_1.LNode( '' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 767 , 102 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphBadInputInLoop1_1.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 587 , 103 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a) : ' )
- PyEndSwitch.append( ' if ( a & 1 ) == 0 : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- 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
- LIsOddaEndSwitcha = GraphBadInputInLoop1_1.Link( OIsOdda , IEndSwitcha )
-
- LInitLoopIndexSwitcha = GraphBadInputInLoop1_1.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphBadInputInLoop1_1.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LSwitchOddIsOddGate = GraphBadInputInLoop1_1.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenEndSwitchDefault = GraphBadInputInLoop1_1.Link( OSwitchEven , IEndSwitchDefault )
-
- LSwitchaIsOdda = GraphBadInputInLoop1_1.Link( OSwitcha , IIsOdda )
-
- LEndSwitchaEndOfInitLoopIndex = GraphBadInputInLoop1_1.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- LBadInputOfLoopInputInLoopEndOfInitLoopMax = GraphBadInputInLoop1_1.Link( OBadInputOfLoopInputInLoop , IEndOfInitLoopMax )
-
- # 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 GraphBadInputInLoop1_1
-
-
-GraphBadInputInLoop1_1 = DefGraphBadInputInLoop1_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphBadInputInLoop2
-#
-from SuperV import *
-
-# Graph creation of GraphBadInputInLoop2
-def DefGraphBadInputInLoop2() :
- GraphBadInputInLoop2 = Graph( 'GraphBadInputInLoop2' )
- GraphBadInputInLoop2.SetName( 'GraphBadInputInLoop2' )
- GraphBadInputInLoop2.SetAuthor( '' )
- GraphBadInputInLoop2.SetComment( '' )
- GraphBadInputInLoop2.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a,InputInLoop) : ' )
- PyIsOdd.append( ' print a,"IsOdd (GraphLoopSwitch1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphBadInputInLoop2.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 1 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddInputInLoop = IsOdd.InPort( 'InputInLoop' , 'boolean' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyBadInputOfLoop = []
- PyBadInputOfLoop.append( 'def BadInputOfLoop() : ' )
- PyBadInputOfLoop.append( ' return 1 ' )
- PyBadInputOfLoop.append( '' )
- BadInputOfLoop = GraphBadInputInLoop2.INode( 'BadInputOfLoop' , PyBadInputOfLoop )
- BadInputOfLoop.SetName( 'BadInputOfLoop' )
- BadInputOfLoop.SetAuthor( '' )
- BadInputOfLoop.SetComment( 'Compute Node' )
- BadInputOfLoop.Coords( 15 , 307 )
- IBadInputOfLoopGate = BadInputOfLoop.GetInPort( 'Gate' )
- OBadInputOfLoopInputInLoop = BadInputOfLoop.OutPort( 'InputInLoop' , 'boolean' )
- OBadInputOfLoopGate = BadInputOfLoop.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphBadInputInLoop2.LNode( '' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 767 , 102 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphBadInputInLoop2.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 587 , 103 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a) : ' )
- PyEndSwitch.append( ' if ( a & 1 ) == 0 : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- 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
- LIsOddaEndSwitcha = GraphBadInputInLoop2.Link( OIsOdda , IEndSwitcha )
-
- LInitLoopIndexSwitcha = GraphBadInputInLoop2.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphBadInputInLoop2.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LSwitchOddIsOddGate = GraphBadInputInLoop2.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenEndSwitchDefault = GraphBadInputInLoop2.Link( OSwitchEven , IEndSwitchDefault )
-
- LSwitchaIsOdda = GraphBadInputInLoop2.Link( OSwitcha , IIsOdda )
-
- LEndSwitchaEndOfInitLoopIndex = GraphBadInputInLoop2.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- LBadInputOfLoopInputInLoopIsOddInputInLoop = GraphBadInputInLoop2.Link( OBadInputOfLoopInputInLoop , IIsOddInputInLoop )
-
- # 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 GraphBadInputInLoop2
-
-
-GraphBadInputInLoop2 = DefGraphBadInputInLoop2()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphBadInputInLoop3
-#
-from SuperV import *
-
-# Graph creation of GraphBadInputInLoop3
-def DefGraphBadInputInLoop3() :
- GraphBadInputInLoop3 = Graph( 'GraphBadInputInLoop3' )
- GraphBadInputInLoop3.SetName( 'GraphBadInputInLoop3' )
- GraphBadInputInLoop3.SetAuthor( '' )
- GraphBadInputInLoop3.SetComment( '' )
- GraphBadInputInLoop3.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a,InputInLoop) : ' )
- PyIsOdd.append( ' print a,"IsOdd (GraphLoopSwitch1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphBadInputInLoop3.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 1 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddInputInLoop = IsOdd.InPort( 'InputInLoop' , 'boolean' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyBadInputOfLoop = []
- PyBadInputOfLoop.append( 'def BadInputOfLoop() : ' )
- PyBadInputOfLoop.append( ' return 1 ' )
- PyBadInputOfLoop.append( '' )
- BadInputOfLoop = GraphBadInputInLoop3.INode( 'BadInputOfLoop' , PyBadInputOfLoop )
- BadInputOfLoop.SetName( 'BadInputOfLoop' )
- BadInputOfLoop.SetAuthor( '' )
- BadInputOfLoop.SetComment( 'Compute Node' )
- BadInputOfLoop.Coords( 359 , 318 )
- IBadInputOfLoopGate = BadInputOfLoop.GetInPort( 'Gate' )
- OBadInputOfLoopInputInLoop = BadInputOfLoop.OutPort( 'InputInLoop' , 'boolean' )
- OBadInputOfLoopGate = BadInputOfLoop.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphBadInputInLoop3.LNode( '' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 767 , 102 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphBadInputInLoop3.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 587 , 103 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a) : ' )
- PyEndSwitch.append( ' if ( a & 1 ) == 0 : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- 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
- LIsOddaEndSwitcha = GraphBadInputInLoop3.Link( OIsOdda , IEndSwitcha )
-
- LInitLoopIndexSwitcha = GraphBadInputInLoop3.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphBadInputInLoop3.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LSwitchOddIsOddGate = GraphBadInputInLoop3.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenEndSwitchDefault = GraphBadInputInLoop3.Link( OSwitchEven , IEndSwitchDefault )
-
- LSwitchaIsOdda = GraphBadInputInLoop3.Link( OSwitcha , IIsOdda )
-
- LEndSwitchaEndOfInitLoopIndex = GraphBadInputInLoop3.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- LBadInputOfLoopGateEndOfInitLoopGate = GraphBadInputInLoop3.Link( OBadInputOfLoopGate , IEndOfInitLoopGate )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 0 )
- IInitLoopMax.Input( 100 )
-
- # Input Ports of the graph
- #IIsOddInputInLoop = IsOdd.GetInPort( 'InputInLoop' )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- #OBadInputOfLoopInputInLoop = BadInputOfLoop.GetOutPort( 'InputInLoop' )
- return GraphBadInputInLoop3
-
-
-GraphBadInputInLoop3 = DefGraphBadInputInLoop3()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphBadOutputOfLoop
-#
-from SuperV import *
-
-# Graph creation of GraphBadOutputOfLoop
-def DefGraphBadOutputOfLoop() :
- GraphBadOutputOfLoop = Graph( 'GraphBadOutputOfLoop' )
- GraphBadOutputOfLoop.SetName( 'GraphBadOutputOfLoop' )
- GraphBadOutputOfLoop.SetAuthor( '' )
- GraphBadOutputOfLoop.SetComment( '' )
- GraphBadOutputOfLoop.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a,InputInLoop) : ' )
- PyIsOdd.append( ' print a,"IsOdd (GraphLoopSwitch1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphBadOutputOfLoop.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 1 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddInputInLoop = IsOdd.InPort( 'InputInLoop' , 'boolean' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyBadOutputOfLoop = []
- PyBadOutputOfLoop.append( 'def BadOutputOfLoop() : ' )
- PyBadOutputOfLoop.append( ' return 1 ' )
- PyBadOutputOfLoop.append( '' )
- BadOutputOfLoop = GraphBadOutputOfLoop.INode( 'BadOutputOfLoop' , PyBadOutputOfLoop )
- BadOutputOfLoop.SetName( 'BadOutputOfLoop' )
- BadOutputOfLoop.SetAuthor( '' )
- BadOutputOfLoop.SetComment( 'Compute Node' )
- BadOutputOfLoop.Coords( 768 , 323 )
- IBadOutputOfLoopOutputOfLoop = BadOutputOfLoop.InPort( 'OutputOfLoop' , 'long' )
- IBadOutputOfLoopGate = BadOutputOfLoop.GetInPort( 'Gate' )
- OBadOutputOfLoopGate = BadOutputOfLoop.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphBadOutputOfLoop.LNode( '' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 767 , 102 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphBadOutputOfLoop.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 587 , 103 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a) : ' )
- PyEndSwitch.append( ' if ( a & 1 ) == 0 : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- 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
- LIsOddaEndSwitcha = GraphBadOutputOfLoop.Link( OIsOdda , IEndSwitcha )
-
- LInitLoopIndexSwitcha = GraphBadOutputOfLoop.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphBadOutputOfLoop.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LSwitchOddIsOddGate = GraphBadOutputOfLoop.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenEndSwitchDefault = GraphBadOutputOfLoop.Link( OSwitchEven , IEndSwitchDefault )
-
- LSwitchaIsOdda = GraphBadOutputOfLoop.Link( OSwitcha , IIsOdda )
-
- LEndSwitchaEndOfInitLoopIndex = GraphBadOutputOfLoop.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- LEndSwitchaBadOutputOfLoopOutputOfLoop = GraphBadOutputOfLoop.Link( OEndSwitcha , IBadOutputOfLoopOutputOfLoop )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 0 )
- IInitLoopMax.Input( 100 )
-
- # Input Ports of the graph
- #IIsOddInputInLoop = IsOdd.GetInPort( 'InputInLoop' )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- return GraphBadOutputOfLoop
-
-
-GraphBadOutputOfLoop = DefGraphBadOutputOfLoop()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphBadOutputOfLoop1
-#
-from SuperV import *
-
-# Graph creation of GraphBadOutputOfLoop1
-def DefGraphBadOutputOfLoop1() :
- GraphBadOutputOfLoop1 = Graph( 'GraphBadOutputOfLoop1' )
- GraphBadOutputOfLoop1.SetName( 'GraphBadOutputOfLoop1' )
- GraphBadOutputOfLoop1.SetAuthor( '' )
- GraphBadOutputOfLoop1.SetComment( '' )
- GraphBadOutputOfLoop1.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 (GraphLoopSwitch1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphBadOutputOfLoop1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 1 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyBadOutputOfLoop = []
- PyBadOutputOfLoop.append( 'def BadOutputOfLoop() : ' )
- PyBadOutputOfLoop.append( ' return 1 ' )
- PyBadOutputOfLoop.append( '' )
- BadOutputOfLoop = GraphBadOutputOfLoop1.INode( 'BadOutputOfLoop' , PyBadOutputOfLoop )
- BadOutputOfLoop.SetName( 'BadOutputOfLoop' )
- BadOutputOfLoop.SetAuthor( '' )
- BadOutputOfLoop.SetComment( 'Compute Node' )
- BadOutputOfLoop.Coords( 287 , 349 )
- IBadOutputOfLoopOutputOfLoop = BadOutputOfLoop.InPort( 'OutputOfLoop' , 'long' )
- IBadOutputOfLoopGate = BadOutputOfLoop.GetInPort( 'Gate' )
- OBadOutputOfLoopGate = BadOutputOfLoop.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphBadOutputOfLoop1.LNode( '' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 767 , 102 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphBadOutputOfLoop1.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 587 , 103 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a) : ' )
- PyEndSwitch.append( ' if ( a & 1 ) == 0 : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- 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
- LIsOddaEndSwitcha = GraphBadOutputOfLoop1.Link( OIsOdda , IEndSwitcha )
-
- LInitLoopIndexSwitcha = GraphBadOutputOfLoop1.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphBadOutputOfLoop1.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxBadOutputOfLoopOutputOfLoop = GraphBadOutputOfLoop1.Link( OInitLoopMax , IBadOutputOfLoopOutputOfLoop )
-
- LSwitchOddIsOddGate = GraphBadOutputOfLoop1.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenEndSwitchDefault = GraphBadOutputOfLoop1.Link( OSwitchEven , IEndSwitchDefault )
-
- LSwitchaIsOdda = GraphBadOutputOfLoop1.Link( OSwitcha , IIsOdda )
-
- LEndSwitchaEndOfInitLoopIndex = GraphBadOutputOfLoop1.Link( OEndSwitcha , 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 GraphBadOutputOfLoop1
-
-
-GraphBadOutputOfLoop1 = DefGraphBadOutputOfLoop1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphBadOutputOfLoop2
-#
-from SuperV import *
-
-# Graph creation of GraphBadOutputOfLoop2
-def DefGraphBadOutputOfLoop2() :
- GraphBadOutputOfLoop2 = Graph( 'GraphBadOutputOfLoop2' )
- GraphBadOutputOfLoop2.SetName( 'GraphBadOutputOfLoop2' )
- GraphBadOutputOfLoop2.SetAuthor( '' )
- GraphBadOutputOfLoop2.SetComment( '' )
- GraphBadOutputOfLoop2.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 (GraphLoopSwitch1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphBadOutputOfLoop2.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 1 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyBadOutputOfLoop = []
- PyBadOutputOfLoop.append( 'def BadOutputOfLoop() : ' )
- PyBadOutputOfLoop.append( ' return 1 ' )
- PyBadOutputOfLoop.append( '' )
- BadOutputOfLoop = GraphBadOutputOfLoop2.INode( 'BadOutputOfLoop' , PyBadOutputOfLoop )
- BadOutputOfLoop.SetName( 'BadOutputOfLoop' )
- BadOutputOfLoop.SetAuthor( '' )
- BadOutputOfLoop.SetComment( 'Compute Node' )
- BadOutputOfLoop.Coords( 503 , 338 )
- IBadOutputOfLoopOutputOfLoop = BadOutputOfLoop.InPort( 'OutputOfLoop' , 'long' )
- IBadOutputOfLoopGate = BadOutputOfLoop.GetInPort( 'Gate' )
- OBadOutputOfLoopGate = BadOutputOfLoop.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphBadOutputOfLoop2.LNode( '' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 767 , 102 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphBadOutputOfLoop2.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 587 , 103 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a) : ' )
- PyEndSwitch.append( ' if ( a & 1 ) == 0 : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- 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
- LIsOddaEndSwitcha = GraphBadOutputOfLoop2.Link( OIsOdda , IEndSwitcha )
-
- LInitLoopIndexSwitcha = GraphBadOutputOfLoop2.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphBadOutputOfLoop2.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LSwitchOddIsOddGate = GraphBadOutputOfLoop2.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenEndSwitchDefault = GraphBadOutputOfLoop2.Link( OSwitchEven , IEndSwitchDefault )
-
- LSwitchaBadOutputOfLoopOutputOfLoop = GraphBadOutputOfLoop2.Link( OSwitcha , IBadOutputOfLoopOutputOfLoop )
-
- LSwitchaIsOdda = GraphBadOutputOfLoop2.Link( OSwitcha , IIsOdda )
-
- LEndSwitchaEndOfInitLoopIndex = GraphBadOutputOfLoop2.Link( OEndSwitcha , 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 GraphBadOutputOfLoop2
-
-
-GraphBadOutputOfLoop2 = DefGraphBadOutputOfLoop2()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphBugEditor
-#
-from SuperV import *
-
-# Graph creation of GraphBugEditor
-def DefGraphBugEditor() :
- GraphBugEditor = Graph( 'GraphBugEditor' )
- GraphBugEditor.SetName( 'GraphBugEditor' )
- GraphBugEditor.SetAuthor( 'Nicolas Crouzet & JR' )
- GraphBugEditor.SetComment( '' )
- GraphBugEditor.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- Pycompute_power_1 = []
- Pycompute_power_1.append( 'def compute_power(nitermax,eosflux,espeigenval) : ' )
- Pycompute_power_1.append( ' return 1 ' )
- compute_power_1 = GraphBugEditor.INode( 'compute_power' , Pycompute_power_1 )
- compute_power_1.SetName( 'compute_power_1' )
- compute_power_1.SetAuthor( '' )
- compute_power_1.SetComment( 'Compute Node' )
- compute_power_1.Coords( 226 , 103 )
- Icompute_power_1nitermax = compute_power_1.InPort( 'nitermax' , 'long' )
- Icompute_power_1epsflux = compute_power_1.InPort( 'epsflux' , 'long' )
- Icompute_power_1espeigenval = compute_power_1.InPort( 'espeigenval' , 'long' )
- Icompute_power_1Gate = compute_power_1.GetInPort( 'Gate' )
- Ocompute_power_1return = compute_power_1.OutPort( 'return' , 'long' )
- Ocompute_power_1Gate = compute_power_1.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoop = []
- PyLoop.append( 'def Loop(it,itMax): ' )
- PyLoop.append( ' return it,itMax ' )
- PyMoreLoop = []
- PyMoreLoop.append( 'def More(it,itMax): ' )
- PyMoreLoop.append( ' if it<=itMax : ' )
- PyMoreLoop.append( ' DoLoop=1 ' )
- PyMoreLoop.append( ' else: ' )
- PyMoreLoop.append( ' DoLoop=0 ' )
- PyMoreLoop.append( ' return DoLoop,it,itMax ' )
- PyNextLoop = []
- PyNextLoop.append( 'def Next(it,itMax): ' )
- PyNextLoop.append( ' it+=1 ' )
- PyNextLoop.append( ' return it,itMax ' )
- Loop,EndLoop = GraphBugEditor.LNode( 'Loop' , PyLoop , 'More' , PyMoreLoop , 'Next' , PyNextLoop )
- EndLoop.SetName( 'EndLoop' )
- EndLoop.SetAuthor( '' )
- EndLoop.SetComment( 'Compute Node' )
- EndLoop.Coords( 426 , 161 )
- PyEndLoop = []
- EndLoop.SetPyFunction( 'EndLoop' , PyEndLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopit = Loop.InPort( 'it' , 'int' )
- ILoopitMax = Loop.InPort( 'itMax' , 'int' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopit = Loop.GetOutPort( 'it' )
- OLoopitMax = Loop.GetOutPort( 'itMax' )
- IEndLoopDoLoop = EndLoop.GetInPort( 'DoLoop' )
- IEndLoopit = EndLoop.GetInPort( 'it' )
- IEndLoopitMax = EndLoop.GetInPort( 'itMax' )
- IEndLoopGate = EndLoop.GetInPort( 'Gate' )
- OEndLoopDoLoop = EndLoop.GetOutPort( 'DoLoop' )
- OEndLoopit = EndLoop.GetOutPort( 'it' )
- OEndLoopitMax = EndLoop.GetOutPort( 'itMax' )
- OEndLoopGate = EndLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 21 , 161 )
-
- # Creation of Links
- LLoopitEndLoopit = GraphBugEditor.Link( OLoopit , IEndLoopit )
-
- LLoopitMaxEndLoopitMax = GraphBugEditor.Link( OLoopitMax , IEndLoopitMax )
-
- LLoopGatecompute_power_1Gate = GraphBugEditor.Link( OLoopGate , Icompute_power_1Gate )
-
- # Input datas
- ILoopit.Input( 1 )
- ILoopitMax.Input( 5 )
-
- # Input Ports of the graph
- #Icompute_power_1nitermax = compute_power_1.GetInPort( 'nitermax' )
- #Icompute_power_1epsflux = compute_power_1.GetInPort( 'epsflux' )
- #Icompute_power_1espeigenval = compute_power_1.GetInPort( 'espeigenval' )
-
- # Output Ports of the graph
- #OEndLoopit = EndLoop.GetOutPort( 'it' )
- #OEndLoopitMax = EndLoop.GetOutPort( 'itMax' )
- #Ocompute_power_1return = compute_power_1.GetOutPort( 'return' )
- return GraphBugEditor
-
-
-GraphBugEditor = DefGraphBugEditor()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEssai
-#
-from SuperV import *
-# Graph creation
-GraphEssai = Graph( 'GraphEssai' )
-GraphEssai.SetName( 'GraphEssai' )
-GraphEssai.SetAuthor( '' )
-GraphEssai.SetComment( '' )
-GraphEssai.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-Add = GraphEssai.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetContainer( 'FactoryServer' )
-Add.SetComment( 'Add from AddComponent' )
-Add.Coords( 15 , 241 )
-
-Sub = GraphEssai.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
-Sub.SetName( 'Sub' )
-Sub.SetAuthor( '' )
-Sub.SetContainer( 'FactoryServer' )
-Sub.SetComment( 'Sub from SubComponent' )
-Sub.Coords( 227 , 96 )
-
-Mul = GraphEssai.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
-Mul.SetName( 'Mul' )
-Mul.SetAuthor( '' )
-Mul.SetContainer( 'FactoryServer' )
-Mul.SetComment( 'Mul from MulComponent' )
-Mul.Coords( 435 , 242 )
-
-Div = GraphEssai.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
-Div.SetName( 'Div' )
-Div.SetAuthor( '' )
-Div.SetContainer( 'FactoryServer' )
-Div.SetComment( 'Div from DivComponent' )
-Div.Coords( 634 , 97 )
-
-# Creation of Links
-Addz = Add.Port( 'z' )
-Muly = GraphEssai.Link( Addz , Mul.Port( 'y' ) )
-
-Suby = GraphEssai.Link( Addz , Sub.Port( 'y' ) )
-Suby.AddCoord( 1 , 197 , 204 )
-Suby.AddCoord( 2 , 198 , 351 )
-
-Subz = Sub.Port( 'z' )
-Divx = GraphEssai.Link( Subz , Div.Port( 'x' ) )
-
-Mulx = GraphEssai.Link( Subz , Mul.Port( 'x' ) )
-Mulx.AddCoord( 1 , 411 , 323 )
-Mulx.AddCoord( 2 , 411 , 177 )
-
-Mulz = Mul.Port( 'z' )
-Divy = GraphEssai.Link( Mulz , Div.Port( 'y' ) )
-Divy.AddCoord( 1 , 612 , 207 )
-Divy.AddCoord( 2 , 612 , 322 )
-
-# Creation of Input datas
-Addx = Add.Input( 'x' , 3)
-Addy = Add.Input( 'y' , 4.5)
-Subx = Sub.Input( 'x' , 1.5)
-
-# Creation of Output variables
-AddFuncValue = Add.Port( 'FuncValue' )
-Divz = Div.Port( 'z' )
-
-Add.Print()
-Sub.Print()
-Mul.Print()
-Div.Print()
-
-GraphEssai.PrintPorts()
-
-nodes = GraphEssai.LevelNodes( 0 )
-i = 0
-while i < len( nodes ) :
- print 'Nodes of level 0',nodes[i].Name()
- i = i + 1
-
-GraphEssai.Run()
-
-GraphEssai.DoneW()
-
-GraphEssai.State()
-
-GraphEssai.PrintPorts()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertBoolCheck
-#
-from SuperV import *
-# Graph creation
-GraphConvertBoolCheck = Graph( 'GraphConvertBoolCheck' )
-GraphConvertBoolCheck.SetName( 'GraphConvertBoolCheck' )
-GraphConvertBoolCheck.SetAuthor( 'JR' )
-GraphConvertBoolCheck.SetComment( 'Check conversions of Bool' )
-GraphConvertBoolCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertBoolCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PyBool = []
-PyBool.append( 'def Bool() : ' )
-PyBool.append( ' aBool = 1 ' )
-PyBool.append( ' return aBool ' )
-PyBool.append( ' ' )
-Bool = GraphConvertBoolCheck.INode( 'Bool' , PyBool )
-Bool.OutPort( 'OutBool' , 'boolean' )
-Bool.SetName( 'Bool' )
-Bool.SetAuthor( 'JR' )
-Bool.SetComment( 'InLine Node' )
-Bool.Coords( 14 , 114 )
-
-# Creation of Links
-BoolOutBool = Bool.Port( 'OutBool' )
-MiscTypesInString = GraphConvertBoolCheck.Link( BoolOutBool , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertBoolCheck.Link( BoolOutBool , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertBoolCheck.Link( BoolOutBool , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertBoolCheck.Link( BoolOutBool , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertBoolCheck.Link( BoolOutBool , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertBoolCheck.Link( BoolOutBool , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertBoolCheck.Link( BoolOutBool , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertBoolCheck.Link( BoolOutBool , MiscTypes.Port( 'InObjRef' ) )
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphConvertBoolCheck.Run()
-GraphConvertBoolCheck.DoneW()
-GraphConvertBoolCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertBoolStringCheck
-#
-from SuperV import *
-# Graph creation
-GraphConvertBoolStringCheck = Graph( 'GraphConvertBoolStringCheck' )
-GraphConvertBoolStringCheck.SetName( 'GraphConvertBoolStringCheck' )
-GraphConvertBoolStringCheck.SetAuthor( 'JR' )
-GraphConvertBoolStringCheck.SetComment( 'Check conversions of String' )
-GraphConvertBoolStringCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertBoolStringCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PyBoolString = []
-PyBoolString.append( 'def StringString() : ' )
-PyBoolString.append( ' string = "1" ' )
-PyBoolString.append( ' return string ' )
-PyBoolString.append( ' ' )
-BoolString = GraphConvertBoolStringCheck.INode( 'StringString' , PyBoolString )
-BoolString.OutPort( 'OutString' , 'string' )
-BoolString.SetName( 'BoolString' )
-BoolString.SetAuthor( 'JR' )
-BoolString.SetComment( 'InLine Node' )
-BoolString.Coords( 14 , 114 )
-
-# Creation of Links
-BoolStringOutString = BoolString.Port( 'OutString' )
-MiscTypesInString = GraphConvertBoolStringCheck.Link( BoolStringOutString , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertBoolStringCheck.Link( BoolStringOutString , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertBoolStringCheck.Link( BoolStringOutString , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertBoolStringCheck.Link( BoolStringOutString , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertBoolStringCheck.Link( BoolStringOutString , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertBoolStringCheck.Link( BoolStringOutString , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertBoolStringCheck.Link( BoolStringOutString , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertBoolStringCheck.Link( BoolStringOutString , MiscTypes.Port( 'InObjRef' ) )
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphConvertBoolStringCheck.Run()
-GraphConvertBoolStringCheck.DoneW()
-GraphConvertBoolStringCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertCharCheck
-#
-from SuperV import *
-# Graph creation
-GraphConvertCharCheck = Graph( 'GraphConvertCharCheck' )
-GraphConvertCharCheck.SetName( 'GraphConvertCharCheck' )
-GraphConvertCharCheck.SetAuthor( 'JR' )
-GraphConvertCharCheck.SetComment( 'Check conversions of Char' )
-GraphConvertCharCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertCharCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PyChar = []
-PyChar.append( 'def Char() : ' )
-PyChar.append( ' aChar = 255 ' )
-PyChar.append( ' return aChar ' )
-PyChar.append( ' ' )
-Char = GraphConvertCharCheck.INode( 'Char' , PyChar )
-Char.OutPort( 'OutChar' , 'char' )
-Char.SetName( 'Char' )
-Char.SetAuthor( 'JR' )
-Char.SetComment( 'InLine Node' )
-Char.Coords( 14 , 114 )
-
-# Creation of Links
-CharOutChar = Char.Port( 'OutChar' )
-MiscTypesInString = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InObjRef' ) )
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphConvertCharCheck.Run()
-GraphConvertCharCheck.DoneW()
-GraphConvertCharCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertCharStringCheck
-#
-from SuperV import *
-# Graph creation
-GraphConvertCharStringCheck = Graph( 'GraphConvertCharStringCheck' )
-GraphConvertCharStringCheck.SetName( 'GraphConvertCharStringCheck' )
-GraphConvertCharStringCheck.SetAuthor( 'JR' )
-GraphConvertCharStringCheck.SetComment( 'Check conversions of String' )
-GraphConvertCharStringCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertCharStringCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PyCharString = []
-PyCharString.append( 'def StringString() : ' )
-PyCharString.append( ' string = "255" ' )
-PyCharString.append( ' return string ' )
-PyCharString.append( ' ' )
-CharString = GraphConvertCharStringCheck.INode( 'StringString' , PyCharString )
-CharString.OutPort( 'OutString' , 'string' )
-CharString.SetName( 'CharString' )
-CharString.SetAuthor( 'JR' )
-CharString.SetComment( 'InLine Node' )
-CharString.Coords( 14 , 114 )
-
-# Creation of Links
-CharStringOutString = CharString.Port( 'OutString' )
-MiscTypesInString = GraphConvertCharStringCheck.Link( CharStringOutString , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertCharStringCheck.Link( CharStringOutString , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertCharStringCheck.Link( CharStringOutString , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertCharStringCheck.Link( CharStringOutString , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertCharStringCheck.Link( CharStringOutString , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertCharStringCheck.Link( CharStringOutString , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertCharStringCheck.Link( CharStringOutString , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertCharStringCheck.Link( CharStringOutString , MiscTypes.Port( 'InObjRef' ) )
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphConvertCharStringCheck.Run()
-GraphConvertCharStringCheck.DoneW()
-GraphConvertCharStringCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertDoubleCheck
-#
-from SuperV import *
-# Graph creation
-GraphConvertDoubleCheck = Graph( 'GraphConvertDoubleCheck' )
-GraphConvertDoubleCheck.SetName( 'GraphConvertDoubleCheck' )
-GraphConvertDoubleCheck.SetAuthor( 'JR' )
-GraphConvertDoubleCheck.SetComment( 'Check conversions of Double' )
-GraphConvertDoubleCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertDoubleCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 217 , 0 )
-
-MiscTypes_1 = GraphConvertDoubleCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes_1.SetName( 'MiscTypes_1' )
-MiscTypes_1.SetAuthor( '' )
-MiscTypes_1.SetContainer( 'localhost/FactoryServer' )
-MiscTypes_1.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes_1.Coords( 433 , 131 )
-
-# Creation of InLine Nodes
-PyDouble = []
-PyDouble.append( 'def Double() : ' )
-PyDouble.append( ' aDouble = 3.1415926535 ' )
-PyDouble.append( ' print type(aDouble),"aDouble",aDouble,"NO double in python !!! Use Strings ?" ' )
-PyDouble.append( ' return aDouble ' )
-PyDouble.append( '' )
-Double = GraphConvertDoubleCheck.INode( 'Double' , PyDouble )
-Double.OutPort( 'OutDouble' , 'double' )
-Double.SetName( 'Double' )
-Double.SetAuthor( 'JR' )
-Double.SetComment( 'InLine Node' )
-Double.Coords( 9 , 87 )
-
-PyDoubleString = []
-PyDoubleString.append( 'def DoubleString() : ' )
-PyDoubleString.append( ' aDouble = 3.1415926535 ' )
-PyDoubleString.append( ' print type(aDouble),"aDouble",aDouble,"NO double in python !!! Use Strings ?" ' )
-PyDoubleString.append( ' aDoubleString = str( aDouble ) ' )
-PyDoubleString.append( ' print type(aDoubleString),"aDoubleString",aDoubleString ' )
-PyDoubleString.append( ' return aDoubleString ' )
-PyDoubleString.append( ' ' )
-DoubleString = GraphConvertDoubleCheck.INode( 'DoubleString' , PyDoubleString )
-DoubleString.OutPort( 'OutDoubleString' , 'string' )
-DoubleString.SetName( 'DoubleString' )
-DoubleString.SetAuthor( 'JR' )
-DoubleString.SetComment( 'InLine Node' )
-DoubleString.Coords( 217 , 334 )
-
-# Creation of Links
-DoubleOutDouble = Double.Port( 'OutDouble' )
-MiscTypesInString = GraphConvertDoubleCheck.Link( DoubleOutDouble , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertDoubleCheck.Link( DoubleOutDouble , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertDoubleCheck.Link( DoubleOutDouble , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertDoubleCheck.Link( DoubleOutDouble , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertDoubleCheck.Link( DoubleOutDouble , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertDoubleCheck.Link( DoubleOutDouble , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertDoubleCheck.Link( DoubleOutDouble , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertDoubleCheck.Link( DoubleOutDouble , MiscTypes.Port( 'InObjRef' ) )
-
-DoubleStringOutDoubleString = DoubleString.Port( 'OutDoubleString' )
-MiscTypes_1InString = GraphConvertDoubleCheck.Link( DoubleStringOutDoubleString , MiscTypes_1.Port( 'InString' ) )
-
-MiscTypes_1InBool = GraphConvertDoubleCheck.Link( DoubleStringOutDoubleString , MiscTypes_1.Port( 'InBool' ) )
-
-MiscTypes_1InChar = GraphConvertDoubleCheck.Link( DoubleStringOutDoubleString , MiscTypes_1.Port( 'InChar' ) )
-
-MiscTypes_1InShort = GraphConvertDoubleCheck.Link( DoubleStringOutDoubleString , MiscTypes_1.Port( 'InShort' ) )
-
-MiscTypes_1InLong = GraphConvertDoubleCheck.Link( DoubleStringOutDoubleString , MiscTypes_1.Port( 'InLong' ) )
-
-MiscTypes_1InFloat = GraphConvertDoubleCheck.Link( DoubleStringOutDoubleString , MiscTypes_1.Port( 'InFloat' ) )
-
-MiscTypes_1InDouble = GraphConvertDoubleCheck.Link( DoubleStringOutDoubleString , MiscTypes_1.Port( 'InDouble' ) )
-
-MiscTypes_1InObjRef = GraphConvertDoubleCheck.Link( DoubleStringOutDoubleString , MiscTypes_1.Port( 'InObjRef' ) )
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-MiscTypes_1OutString = MiscTypes_1.Port( 'OutString' )
-MiscTypes_1OutBool = MiscTypes_1.Port( 'OutBool' )
-MiscTypes_1OutChar = MiscTypes_1.Port( 'OutChar' )
-MiscTypes_1OutShort = MiscTypes_1.Port( 'OutShort' )
-MiscTypes_1OutLong = MiscTypes_1.Port( 'OutLong' )
-MiscTypes_1OutFloat = MiscTypes_1.Port( 'OutFloat' )
-MiscTypes_1OutDouble = MiscTypes_1.Port( 'OutDouble' )
-MiscTypes_1OutObjRef = MiscTypes_1.Port( 'OutObjRef' )
-
-GraphConvertDoubleCheck.Run()
-GraphConvertDoubleCheck.DoneW()
-GraphConvertDoubleCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertDoubleStringCheck
-#
-from SuperV import *
-# Graph creation
-GraphConvertDoubleStringCheck = Graph( 'GraphConvertDoubleStringCheck' )
-GraphConvertDoubleStringCheck.SetName( 'GraphConvertDoubleStringCheck' )
-GraphConvertDoubleStringCheck.SetAuthor( 'JR' )
-GraphConvertDoubleStringCheck.SetComment( 'Check conversions of String' )
-GraphConvertDoubleStringCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertDoubleStringCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PyDoubleString = []
-PyDoubleString.append( 'def DoubleString() : ' )
-PyDoubleString.append( ' string = "3.1415926535" ' )
-PyDoubleString.append( ' return string ' )
-PyDoubleString.append( ' ' )
-DoubleString = GraphConvertDoubleStringCheck.INode( 'DoubleString' , PyDoubleString )
-DoubleString.OutPort( 'OutString' , 'string' )
-DoubleString.SetName( 'DoubleString' )
-DoubleString.SetAuthor( 'JR' )
-DoubleString.SetComment( 'InLine Node' )
-DoubleString.Coords( 14 , 114 )
-
-# Creation of Links
-DoubleStringOutString = DoubleString.Port( 'OutString' )
-MiscTypesInString = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InObjRef' ) )
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphConvertDoubleStringCheck.Run()
-GraphConvertDoubleStringCheck.DoneW()
-GraphConvertDoubleStringCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertFloatCheck
-#
-from SuperV import *
-# Graph creation
-GraphConvertFloatCheck = Graph( 'GraphConvertFloatCheck' )
-GraphConvertFloatCheck.SetName( 'GraphConvertFloatCheck' )
-GraphConvertFloatCheck.SetAuthor( 'JR' )
-GraphConvertFloatCheck.SetComment( 'Check conversions of Float' )
-GraphConvertFloatCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertFloatCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PyFloat = []
-PyFloat.append( 'def Float() : ' )
-PyFloat.append( ' aFloat = 3.1415926535 ' )
-PyFloat.append( ' print type(aFloat),"aFloat",aFloat ' )
-PyFloat.append( ' return aFloat ' )
-PyFloat.append( ' ' )
-Float = GraphConvertFloatCheck.INode( 'Float' , PyFloat )
-Float.OutPort( 'OutFloat' , 'float' )
-Float.SetName( 'Float' )
-Float.SetAuthor( 'JR' )
-Float.SetComment( 'InLine Node' )
-Float.Coords( 14 , 114 )
-
-# Creation of Links
-FloatOutFloat = Float.Port( 'OutFloat' )
-MiscTypesInString = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InObjRef' ) )
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphConvertFloatCheck.Run()
-GraphConvertFloatCheck.DoneW()
-GraphConvertFloatCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertFloatStringCheck
-#
-from SuperV import *
-# Graph creation
-GraphConvertFloatStringCheck = Graph( 'GraphConvertFloatStringCheck' )
-GraphConvertFloatStringCheck.SetName( 'GraphConvertFloatStringCheck' )
-GraphConvertFloatStringCheck.SetAuthor( 'JR' )
-GraphConvertFloatStringCheck.SetComment( 'Check conversions of String' )
-GraphConvertFloatStringCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertFloatStringCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PyFloatString = []
-PyFloatString.append( 'def FloatString() : ' )
-PyFloatString.append( ' string = "3.1415926535" ' )
-PyFloatString.append( ' return string ' )
-PyFloatString.append( ' ' )
-FloatString = GraphConvertFloatStringCheck.INode( 'FloatString' , PyFloatString )
-FloatString.OutPort( 'OutString' , 'string' )
-FloatString.SetName( 'FloatString' )
-FloatString.SetAuthor( 'JR' )
-FloatString.SetComment( 'InLine Node' )
-FloatString.Coords( 14 , 114 )
-
-# Creation of Links
-FloatStringOutString = FloatString.Port( 'OutString' )
-MiscTypesInString = GraphConvertFloatStringCheck.Link( FloatStringOutString , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertFloatStringCheck.Link( FloatStringOutString , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertFloatStringCheck.Link( FloatStringOutString , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertFloatStringCheck.Link( FloatStringOutString , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertFloatStringCheck.Link( FloatStringOutString , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertFloatStringCheck.Link( FloatStringOutString , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertFloatStringCheck.Link( FloatStringOutString , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertFloatStringCheck.Link( FloatStringOutString , MiscTypes.Port( 'InObjRef' ) )
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphConvertFloatStringCheck.Run()
-GraphConvertFloatStringCheck.DoneW()
-GraphConvertFloatStringCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertIORCheck
-#
-from SuperV import *
-# Graph creation
-GraphConvertIORCheck = Graph( 'GraphConvertIORCheck' )
-GraphConvertIORCheck.SetName( 'GraphConvertIORCheck' )
-GraphConvertIORCheck.SetAuthor( 'JR' )
-GraphConvertIORCheck.SetComment( 'Check conversions of IOR' )
-GraphConvertIORCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertIORCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PySyrComponent = []
-PySyrComponent.append( 'from LifeCycleCORBA import * ' )
-PySyrComponent.append( 'def SyrComponent( aContainer , aComponent ) : ' )
-PySyrComponent.append( ' print "SyrComponent(",aContainer,",",aComponent,")" ' )
-PySyrComponent.append( ' orb = CORBA.ORB_init([], CORBA.ORB_ID) ' )
-PySyrComponent.append( ' print "SyrComponent orb",orb ' )
-PySyrComponent.append( ' lcc = LifeCycleCORBA(orb) ' )
-PySyrComponent.append( ' print "SyrComponent lcc",lcc ' )
-PySyrComponent.append( ' print "SyrComponent(",aContainer,",",aComponent,")" ' )
-PySyrComponent.append( ' ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ' )
-PySyrComponent.append( ' print "SyrComponent(",aContainer,",",aComponent,") --> ",ComponentRef ' )
-PySyrComponent.append( ' IOR = orb.object_to_string( ComponentRef ) ' )
-PySyrComponent.append( ' return IOR ' )
-PySyrComponent.append( ' ' )
-SyrComponent = GraphConvertIORCheck.INode( 'SyrComponent' , PySyrComponent )
-SyrComponent.InPort( 'aContainer' , 'string' )
-SyrComponent.InPort( 'aComponent' , 'string' )
-SyrComponent.OutPort( 'anIOR' , 'string' )
-SyrComponent.SetName( 'SyrComponent' )
-SyrComponent.SetAuthor( 'JR' )
-SyrComponent.SetComment( 'InLine Node' )
-SyrComponent.Coords( 14 , 114 )
-
-# Creation of Links
-SyrComponentanIOR = SyrComponent.Port( 'anIOR' )
-MiscTypesInShort = GraphConvertIORCheck.Link( SyrComponentanIOR , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInString = GraphConvertIORCheck.Link( SyrComponentanIOR , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertIORCheck.Link( SyrComponentanIOR , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertIORCheck.Link( SyrComponentanIOR , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInLong = GraphConvertIORCheck.Link( SyrComponentanIOR , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertIORCheck.Link( SyrComponentanIOR , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertIORCheck.Link( SyrComponentanIOR , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertIORCheck.Link( SyrComponentanIOR , MiscTypes.Port( 'InObjRef' ) )
-
-# Creation of Input datas
-SyrComponentaContainer = SyrComponent.Input( 'aContainer' , 'FactoryServerPy')
-SyrComponentaComponent = SyrComponent.Input( 'aComponent' , 'SyrControlComponent')
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphConvertIORCheck.Run()
-GraphConvertIORCheck.DoneW()
-GraphConvertIORCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertLongCheck
-#
-from SuperV import *
-# Graph creation
-GraphConvertLongCheck = Graph( 'GraphConvertLongCheck' )
-GraphConvertLongCheck.SetName( 'GraphConvertLongCheck' )
-GraphConvertLongCheck.SetAuthor( 'JR' )
-GraphConvertLongCheck.SetComment( 'Check conversions of Long' )
-GraphConvertLongCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertLongCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PyLong = []
-PyLong.append( 'def Long() : ' )
-PyLong.append( ' aLong = 2147483647 ' )
-PyLong.append( ' print type( aLong ),"aLong",aLong ' )
-PyLong.append( ' return aLong ' )
-PyLong.append( ' ' )
-Long = GraphConvertLongCheck.INode( 'Long' , PyLong )
-Long.OutPort( 'OutLong' , 'long' )
-Long.SetName( 'Long' )
-Long.SetAuthor( 'JR' )
-Long.SetComment( 'InLine Node' )
-Long.Coords( 14 , 114 )
-
-# Creation of Links
-LongOutLong = Long.Port( 'OutLong' )
-MiscTypesInString = GraphConvertLongCheck.Link( LongOutLong , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertLongCheck.Link( LongOutLong , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertLongCheck.Link( LongOutLong , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertLongCheck.Link( LongOutLong , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertLongCheck.Link( LongOutLong , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertLongCheck.Link( LongOutLong , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertLongCheck.Link( LongOutLong , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertLongCheck.Link( LongOutLong , MiscTypes.Port( 'InObjRef' ) )
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphConvertLongCheck.Run()
-GraphConvertLongCheck.DoneW()
-GraphConvertLongCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertLongStringCheck
-#
-from SuperV import *
-# Graph creation
-GraphConvertLongStringCheck = Graph( 'GraphConvertLongStringCheck' )
-GraphConvertLongStringCheck.SetName( 'GraphConvertLongStringCheck' )
-GraphConvertLongStringCheck.SetAuthor( 'JR' )
-GraphConvertLongStringCheck.SetComment( 'Check conversions of String' )
-GraphConvertLongStringCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertLongStringCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PyLongString = []
-PyLongString.append( 'def LongString() : ' )
-PyLongString.append( ' string = "9223372036854775807" ' )
-PyLongString.append( ' return string ' )
-PyLongString.append( ' ' )
-LongString = GraphConvertLongStringCheck.INode( 'LongString' , PyLongString )
-LongString.OutPort( 'OutString' , 'string' )
-LongString.SetName( 'LongString' )
-LongString.SetAuthor( 'JR' )
-LongString.SetComment( 'InLine Node' )
-LongString.Coords( 14 , 114 )
-
-# Creation of Links
-LongStringOutString = LongString.Port( 'OutString' )
-MiscTypesInString = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InObjRef' ) )
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphConvertLongStringCheck.Run()
-GraphConvertLongStringCheck.DoneW()
-GraphConvertLongStringCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertObjRefCheck
-#
-from SuperV import *
-
-# Graph creation of GraphConvertObjRefCheck
-def DefGraphConvertObjRefCheck() :
- GraphConvertObjRefCheck = Graph( 'GraphConvertObjRefCheck' )
- GraphConvertObjRefCheck.SetName( 'GraphConvertObjRefCheck' )
- GraphConvertObjRefCheck.SetAuthor( 'JR' )
- GraphConvertObjRefCheck.SetComment( 'Check conversions of ObjRef' )
- GraphConvertObjRefCheck.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- MiscTypes = GraphConvertObjRefCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
- MiscTypes.SetName( 'MiscTypes' )
- MiscTypes.SetAuthor( '' )
- MiscTypes.SetContainer( 'localhost/FactoryServer' )
- MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
- MiscTypes.Coords( 284 , 28 )
- IMiscTypesInString = MiscTypes.GetInPort( 'InString' )
- IMiscTypesInBool = MiscTypes.GetInPort( 'InBool' )
- IMiscTypesInChar = MiscTypes.GetInPort( 'InChar' )
- IMiscTypesInShort = MiscTypes.GetInPort( 'InShort' )
- IMiscTypesInLong = MiscTypes.GetInPort( 'InLong' )
- IMiscTypesInFloat = MiscTypes.GetInPort( 'InFloat' )
- IMiscTypesInDouble = MiscTypes.GetInPort( 'InDouble' )
- IMiscTypesInObjRef = MiscTypes.GetInPort( 'InObjRef' )
- IMiscTypesGate = MiscTypes.GetInPort( 'Gate' )
- OMiscTypesOutString = MiscTypes.GetOutPort( 'OutString' )
- OMiscTypesOutBool = MiscTypes.GetOutPort( 'OutBool' )
- OMiscTypesOutChar = MiscTypes.GetOutPort( 'OutChar' )
- OMiscTypesOutShort = MiscTypes.GetOutPort( 'OutShort' )
- OMiscTypesOutLong = MiscTypes.GetOutPort( 'OutLong' )
- OMiscTypesOutFloat = MiscTypes.GetOutPort( 'OutFloat' )
- OMiscTypesOutDouble = MiscTypes.GetOutPort( 'OutDouble' )
- OMiscTypesOutObjRef = MiscTypes.GetOutPort( 'OutObjRef' )
- OMiscTypesGate = MiscTypes.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- PySyrComponent = []
- PySyrComponent.append( 'from LifeCycleCORBA import * ' )
- PySyrComponent.append( 'def SyrComponent( aContainer , aComponent ) : ' )
- PySyrComponent.append( ' print "SyrComponent(",aContainer,",",aComponent,")" ' )
- PySyrComponent.append( ' orb = CORBA.ORB_init([], CORBA.ORB_ID) ' )
- PySyrComponent.append( ' print "SyrComponent orb",orb ' )
- PySyrComponent.append( ' lcc = LifeCycleCORBA(orb) ' )
- PySyrComponent.append( ' print "SyrComponent lcc",lcc ' )
- PySyrComponent.append( ' print "SyrComponent(",aContainer,",",aComponent,")" ' )
- PySyrComponent.append( ' ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ' )
- PySyrComponent.append( ' print "SyrComponent(",aContainer,",",aComponent,") --> ",ComponentRef ' )
- PySyrComponent.append( ' return ComponentRef ' )
- PySyrComponent.append( '' )
- SyrComponent = GraphConvertObjRefCheck.INode( 'SyrComponent' , PySyrComponent )
- SyrComponent.SetName( 'SyrComponent' )
- SyrComponent.SetAuthor( 'JR' )
- SyrComponent.SetComment( 'InLine Node' )
- SyrComponent.Coords( 14 , 114 )
- ISyrComponentaContainer = SyrComponent.InPort( 'aContainer' , 'string' )
- ISyrComponentaComponent = SyrComponent.InPort( 'aComponent' , 'string' )
- ISyrComponentGate = SyrComponent.GetInPort( 'Gate' )
- OSyrComponentanObjRef = SyrComponent.OutPort( 'anObjRef' , 'objref' )
- OSyrComponentGate = SyrComponent.GetOutPort( 'Gate' )
-
- PyObjRefToInline = []
- PyObjRefToInline.append( 'def ObjRefToInline(objRef): ' )
- PyObjRefToInline.append( ' return objRef ' )
- ObjRefToInline = GraphConvertObjRefCheck.INode( 'ObjRefToInline' , PyObjRefToInline )
- ObjRefToInline.SetName( 'ObjRefToInline' )
- ObjRefToInline.SetAuthor( '' )
- ObjRefToInline.SetComment( 'Compute Node' )
- ObjRefToInline.Coords( 496 , 168 )
- IObjRefToInlinetoInLine = ObjRefToInline.InPort( 'toInLine' , 'int' )
- IObjRefToInlineGate = ObjRefToInline.GetInPort( 'Gate' )
- OObjRefToInlineGate = ObjRefToInline.GetOutPort( 'Gate' )
-
- # Creation of Links
- LSyrComponentanObjRefMiscTypesInObjRef = GraphConvertObjRefCheck.Link( OSyrComponentanObjRef , IMiscTypesInObjRef )
-
- LSyrComponentanObjRefMiscTypesInString = GraphConvertObjRefCheck.Link( OSyrComponentanObjRef , IMiscTypesInString )
-
- LMiscTypesOutObjRefObjRefToInlinetoInLine = GraphConvertObjRefCheck.Link( OMiscTypesOutObjRef , IObjRefToInlinetoInLine )
-
- # Input datas
- ISyrComponentaContainer.Input( 'FactoryServerPy' )
- ISyrComponentaComponent.Input( 'SyrControlComponent' )
- IMiscTypesInBool.Input( 138492744 )
- IMiscTypesInChar.Input( 135402800 )
- IMiscTypesInShort.Input( 135448464 )
- IMiscTypesInLong.Input( 135469224 )
- IMiscTypesInFloat.Input( 65.6954 )
- IMiscTypesInDouble.Input( 65.6954 )
-
- # Output Ports of the graph
- #OMiscTypesOutString = MiscTypes.GetOutPort( 'OutString' )
- #OMiscTypesOutBool = MiscTypes.GetOutPort( 'OutBool' )
- #OMiscTypesOutChar = MiscTypes.GetOutPort( 'OutChar' )
- #OMiscTypesOutShort = MiscTypes.GetOutPort( 'OutShort' )
- #OMiscTypesOutLong = MiscTypes.GetOutPort( 'OutLong' )
- #OMiscTypesOutFloat = MiscTypes.GetOutPort( 'OutFloat' )
- #OMiscTypesOutDouble = MiscTypes.GetOutPort( 'OutDouble' )
- return GraphConvertObjRefCheck
-
-
-GraphConvertObjRefCheck = DefGraphConvertObjRefCheck()
-
-GraphConvertObjRefCheck.Run()
-GraphConvertObjRefCheck.DoneW()
-GraphConvertObjRefCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertObjRefCheckNotCompatible
-#
-from SuperV import *
-
-# Graph creation of GraphConvertObjRefCheckNotCompatible
-def DefGraphConvertObjRefCheckNotCompatible() :
- GraphConvertObjRefCheckNotCompatible = Graph( 'GraphConvertObjRefCheckNotCompatible' )
- GraphConvertObjRefCheckNotCompatible.SetName( 'GraphConvertObjRefCheckNotCompatible' )
- GraphConvertObjRefCheckNotCompatible.SetAuthor( 'JR' )
- GraphConvertObjRefCheckNotCompatible.SetComment( 'Check conversions of ObjRef' )
- GraphConvertObjRefCheckNotCompatible.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- MiscTypes = GraphConvertObjRefCheckNotCompatible.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
- MiscTypes.SetName( 'MiscTypes' )
- MiscTypes.SetAuthor( '' )
- MiscTypes.SetContainer( 'localhost/FactoryServer' )
- MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
- MiscTypes.Coords( 284 , 28 )
- IMiscTypesInString = MiscTypes.GetInPort( 'InString' )
- IMiscTypesInBool = MiscTypes.GetInPort( 'InBool' )
- IMiscTypesInChar = MiscTypes.GetInPort( 'InChar' )
- IMiscTypesInShort = MiscTypes.GetInPort( 'InShort' )
- IMiscTypesInLong = MiscTypes.GetInPort( 'InLong' )
- IMiscTypesInFloat = MiscTypes.GetInPort( 'InFloat' )
- IMiscTypesInDouble = MiscTypes.GetInPort( 'InDouble' )
- IMiscTypesInObjRef = MiscTypes.GetInPort( 'InObjRef' )
- IMiscTypesGate = MiscTypes.GetInPort( 'Gate' )
- OMiscTypesOutString = MiscTypes.GetOutPort( 'OutString' )
- OMiscTypesOutBool = MiscTypes.GetOutPort( 'OutBool' )
- OMiscTypesOutChar = MiscTypes.GetOutPort( 'OutChar' )
- OMiscTypesOutShort = MiscTypes.GetOutPort( 'OutShort' )
- OMiscTypesOutLong = MiscTypes.GetOutPort( 'OutLong' )
- OMiscTypesOutFloat = MiscTypes.GetOutPort( 'OutFloat' )
- OMiscTypesOutDouble = MiscTypes.GetOutPort( 'OutDouble' )
- OMiscTypesOutObjRef = MiscTypes.GetOutPort( 'OutObjRef' )
- OMiscTypesGate = MiscTypes.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- PySyrComponent = []
- PySyrComponent.append( 'from LifeCycleCORBA import * ' )
- PySyrComponent.append( 'def SyrComponent( aContainer , aComponent ) : ' )
- PySyrComponent.append( ' print "SyrComponent(",aContainer,",",aComponent,")" ' )
- PySyrComponent.append( ' orb = CORBA.ORB_init([], CORBA.ORB_ID) ' )
- PySyrComponent.append( ' print "SyrComponent orb",orb ' )
- PySyrComponent.append( ' lcc = LifeCycleCORBA(orb) ' )
- PySyrComponent.append( ' print "SyrComponent lcc",lcc ' )
- PySyrComponent.append( ' print "SyrComponent(",aContainer,",",aComponent,")" ' )
- PySyrComponent.append( ' ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ' )
- PySyrComponent.append( ' print "SyrComponent(",aContainer,",",aComponent,") --> ",ComponentRef ' )
- PySyrComponent.append( ' return ComponentRef ' )
- PySyrComponent.append( '' )
- SyrComponent = GraphConvertObjRefCheckNotCompatible.INode( 'SyrComponent' , PySyrComponent )
- SyrComponent.SetName( 'SyrComponent' )
- SyrComponent.SetAuthor( 'JR' )
- SyrComponent.SetComment( 'InLine Node' )
- SyrComponent.Coords( 14 , 114 )
- ISyrComponentaContainer = SyrComponent.InPort( 'aContainer' , 'string' )
- ISyrComponentaComponent = SyrComponent.InPort( 'aComponent' , 'string' )
- ISyrComponentGate = SyrComponent.GetInPort( 'Gate' )
- OSyrComponentanObjRef = SyrComponent.OutPort( 'anObjRef' , 'objref' )
- OSyrComponentGate = SyrComponent.GetOutPort( 'Gate' )
-
- PyObjRefToInline = []
- PyObjRefToInline.append( 'def ObjRefToInline(objRef): ' )
- PyObjRefToInline.append( ' return objRef ' )
- ObjRefToInline = GraphConvertObjRefCheckNotCompatible.INode( 'ObjRefToInline' , PyObjRefToInline )
- ObjRefToInline.SetName( 'ObjRefToInline' )
- ObjRefToInline.SetAuthor( '' )
- ObjRefToInline.SetComment( 'Compute Node' )
- ObjRefToInline.Coords( 496 , 168 )
- IObjRefToInlinetoInLine = ObjRefToInline.InPort( 'toInLine' , 'int' )
- IObjRefToInlineGate = ObjRefToInline.GetInPort( 'Gate' )
- OObjRefToInlineGate = ObjRefToInline.GetOutPort( 'Gate' )
-
- # Creation of Links
- LSyrComponentanObjRefMiscTypesInObjRef = GraphConvertObjRefCheckNotCompatible.Link( OSyrComponentanObjRef , IMiscTypesInObjRef )
-
- LSyrComponentanObjRefMiscTypesInString = GraphConvertObjRefCheckNotCompatible.Link( OSyrComponentanObjRef , IMiscTypesInString )
-
- LSyrComponentanObjRefMiscTypesInBool = GraphConvertObjRefCheckNotCompatible.Link( OSyrComponentanObjRef , IMiscTypesInBool )
-
- LSyrComponentanObjRefMiscTypesInChar = GraphConvertObjRefCheckNotCompatible.Link( OSyrComponentanObjRef , IMiscTypesInChar )
-
- LSyrComponentanObjRefMiscTypesInShort = GraphConvertObjRefCheckNotCompatible.Link( OSyrComponentanObjRef , IMiscTypesInShort )
-
- LSyrComponentanObjRefMiscTypesInLong = GraphConvertObjRefCheckNotCompatible.Link( OSyrComponentanObjRef , IMiscTypesInLong )
-
- LSyrComponentanObjRefMiscTypesInFloat = GraphConvertObjRefCheckNotCompatible.Link( OSyrComponentanObjRef , IMiscTypesInFloat )
-
- LSyrComponentanObjRefMiscTypesInDouble = GraphConvertObjRefCheckNotCompatible.Link( OSyrComponentanObjRef , IMiscTypesInDouble )
-
- LMiscTypesOutObjRefObjRefToInlinetoInLine = GraphConvertObjRefCheckNotCompatible.Link( OMiscTypesOutObjRef , IObjRefToInlinetoInLine )
-
- # Input datas
- ISyrComponentaContainer.Input( 'FactoryServerPy' )
- ISyrComponentaComponent.Input( 'SyrControlComponent' )
-
- # Output Ports of the graph
- #OMiscTypesOutString = MiscTypes.GetOutPort( 'OutString' )
- #OMiscTypesOutBool = MiscTypes.GetOutPort( 'OutBool' )
- #OMiscTypesOutChar = MiscTypes.GetOutPort( 'OutChar' )
- #OMiscTypesOutShort = MiscTypes.GetOutPort( 'OutShort' )
- #OMiscTypesOutLong = MiscTypes.GetOutPort( 'OutLong' )
- #OMiscTypesOutFloat = MiscTypes.GetOutPort( 'OutFloat' )
- #OMiscTypesOutDouble = MiscTypes.GetOutPort( 'OutDouble' )
- return GraphConvertObjRefCheckNotCompatible
-
-
-GraphConvertObjRefCheckNotCompatible = DefGraphConvertObjRefCheckNotCompatible()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertShortCheck
-#
-from SuperV import *
-# Graph creation
-GraphConvertShortCheck = Graph( 'GraphConvertShortCheck' )
-GraphConvertShortCheck.SetName( 'GraphConvertShortCheck' )
-GraphConvertShortCheck.SetAuthor( 'JR' )
-GraphConvertShortCheck.SetComment( 'Check conversions of Short' )
-GraphConvertShortCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertShortCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PyShort = []
-PyShort.append( 'def Short() : ' )
-PyShort.append( ' aShort = 32767 ' )
-PyShort.append( ' print type( aShort ),"aShort",aShort ' )
-PyShort.append( ' return aShort ' )
-PyShort.append( ' ' )
-Short = GraphConvertShortCheck.INode( 'Short' , PyShort )
-Short.OutPort( 'OutShort' , 'short' )
-Short.SetName( 'Short' )
-Short.SetAuthor( 'JR' )
-Short.SetComment( 'InLine Node' )
-Short.Coords( 14 , 114 )
-
-# Creation of Links
-ShortOutShort = Short.Port( 'OutShort' )
-MiscTypesInString = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InObjRef' ) )
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphConvertShortCheck.Run()
-GraphConvertShortCheck.DoneW()
-GraphConvertShortCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertShortStringCheck
-#
-from SuperV import *
-# Graph creation
-GraphConvertShortStringCheck = Graph( 'GraphConvertShortStringCheck' )
-GraphConvertShortStringCheck.SetName( 'GraphConvertShortStringCheck' )
-GraphConvertShortStringCheck.SetAuthor( 'JR' )
-GraphConvertShortStringCheck.SetComment( 'Check conversions of String' )
-GraphConvertShortStringCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertShortStringCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PyShortString = []
-PyShortString.append( 'def ShortString() : ' )
-PyShortString.append( ' string = "32767" ' )
-PyShortString.append( ' return string ' )
-PyShortString.append( ' ' )
-ShortString = GraphConvertShortStringCheck.INode( 'ShortString' , PyShortString )
-ShortString.OutPort( 'OutString' , 'string' )
-ShortString.SetName( 'ShortString' )
-ShortString.SetAuthor( 'JR' )
-ShortString.SetComment( 'InLine Node' )
-ShortString.Coords( 14 , 114 )
-
-# Creation of Links
-ShortStringOutString = ShortString.Port( 'OutString' )
-MiscTypesInString = GraphConvertShortStringCheck.Link( ShortStringOutString , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertShortStringCheck.Link( ShortStringOutString , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertShortStringCheck.Link( ShortStringOutString , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertShortStringCheck.Link( ShortStringOutString , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertShortStringCheck.Link( ShortStringOutString , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertShortStringCheck.Link( ShortStringOutString , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertShortStringCheck.Link( ShortStringOutString , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertShortStringCheck.Link( ShortStringOutString , MiscTypes.Port( 'InObjRef' ) )
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphConvertShortStringCheck.Run()
-GraphConvertShortStringCheck.DoneW()
-GraphConvertShortStringCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphConvertStringStringCheck
-#
-from SuperV import *
-# Graph creation
-GraphConvertStringStringCheck = Graph( 'GraphConvertStringStringCheck' )
-GraphConvertStringStringCheck.SetName( 'GraphConvertStringStringCheck' )
-GraphConvertStringStringCheck.SetAuthor( 'JR' )
-GraphConvertStringStringCheck.SetComment( 'Check conversions of String' )
-GraphConvertStringStringCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertStringStringCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PyStringString = []
-PyStringString.append( 'def StringString() : ' )
-PyStringString.append( ' string = "The sentence that you are reading cannot be demonstrated" ' )
-PyStringString.append( ' return string ' )
-PyStringString.append( '' )
-StringString = GraphConvertStringStringCheck.INode( 'StringString' , PyStringString )
-StringString.OutPort( 'OutString' , 'string' )
-StringString.SetName( 'StringString' )
-StringString.SetAuthor( 'JR' )
-StringString.SetComment( 'InLine Node' )
-StringString.Coords( 14 , 114 )
-
-# Creation of Links
-StringStringOutString = StringString.Port( 'OutString' )
-MiscTypesInString = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InObjRef' ) )
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphConvertStringStringCheck.Run()
-GraphConvertStringStringCheck.DoneW()
-GraphConvertStringStringCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphCpuUsed
-#
-from SuperV import *
-import time
-# Graph creation
-GraphCpuUsed = Graph( 'GraphCpuUsed' )
-GraphCpuUsed.SetName( 'GraphCpuUsed' )
-GraphCpuUsed.SetAuthor( '' )
-GraphCpuUsed.SetComment( '' )
-GraphCpuUsed.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-sigma = GraphCpuUsed.FNode( 'FactorialComponent' , 'FactorialComponent' , 'sigma' )
-sigma.SetName( 'sigma' )
-sigma.SetAuthor( 'JR' )
-sigma.SetContainer( 'localhost/FactoryServerPy' )
-sigma.SetComment( 'sigma from FactorialComponent' )
-sigma.Coords( 214 , 172 )
-
-Sigma = GraphCpuUsed.FNode( 'AddComponent' , 'AddComponent' , 'Sigma' )
-Sigma.SetName( 'Sigma' )
-Sigma.SetAuthor( '' )
-Sigma.SetContainer( 'localhost/FactoryServer' )
-Sigma.SetComment( 'Sigma from AddComponent' )
-Sigma.Coords( 418 , 21 )
-
-# Creation of InLine Nodes
-PyAdd = []
-PyAdd.append( 'from time import * ' )
-PyAdd.append( 'def Add(a,b) : ' )
-PyAdd.append( ' print "Add will wait 5 seconds" ' )
-PyAdd.append( ' d = dir() ' )
-PyAdd.append( ' print "Add",d ' )
-PyAdd.append( ' d = dir(sleep) ' )
-PyAdd.append( ' print "Add",d ' )
-PyAdd.append( ' sleep(5) ' )
-PyAdd.append( ' print "Add waited" ' )
-PyAdd.append( ' n = 0 ' )
-PyAdd.append( ' while n < 10000 : ' )
-PyAdd.append( ' i = 0 ' )
-PyAdd.append( ' s = 0 ' )
-PyAdd.append( ' while i <= b : ' )
-PyAdd.append( ' s = s + i ' )
-PyAdd.append( ' i = i + 1 ' )
-PyAdd.append( ' n = n + 1 ' )
-PyAdd.append( ' return s ' )
-PyAdd.append( '' )
-Add = GraphCpuUsed.INode( 'Add' , PyAdd )
-Add.InPort( 'a' , 'long' )
-Add.InPort( 'b' , 'long' )
-Add.OutPort( 'f' , 'long' )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetComment( 'Python function' )
-Add.Coords( 214 , 0 )
-
-PySub = []
-PySub.append( 'def Sub(a,b) : ' )
-PySub.append( ' return a-b ' )
-PySub.append( '' )
-Sub = GraphCpuUsed.INode( 'Sub' , PySub )
-Sub.InPort( 'a' , 'long' )
-Sub.InPort( 'b' , 'long' )
-Sub.OutPort( 'f' , 'long' )
-Sub.SetName( 'Sub' )
-Sub.SetAuthor( '' )
-Sub.SetComment( 'Python function' )
-Sub.Coords( 0 , 139 )
-
-PyCompare = []
-PyCompare.append( 'def Compare( Add , sigma , Sigma ) : ' )
-PyCompare.append( ' Result = "Good" ' )
-PyCompare.append( ' if Add != sigma : ' )
-PyCompare.append( ' Result = "Bad" ' )
-PyCompare.append( ' if Add != Sigma : ' )
-PyCompare.append( ' Result = "Bad" ' )
-PyCompare.append( ' return Result ' )
-PyCompare.append( '' )
-Compare = GraphCpuUsed.INode( 'Compare' , PyCompare )
-Compare.InPort( 'Add' , 'long' )
-Compare.InPort( 'Sigma' , 'long' )
-Compare.InPort( 'sigma' , 'long' )
-Compare.OutPort( 'Result' , 'string' )
-Compare.SetName( 'Compare' )
-Compare.SetAuthor( '' )
-Compare.SetComment( 'Compute Node' )
-Compare.Coords( 419 , 184 )
-
-# Creation of Links
-Addf = Add.Port( 'f' )
-CompareAdd = GraphCpuUsed.Link( Addf , Compare.Port( 'Add' ) )
-CompareAdd.AddCoord( 1 , 411 , 265 )
-CompareAdd.AddCoord( 2 , 411 , 169 )
-CompareAdd.AddCoord( 3 , 617 , 169 )
-CompareAdd.AddCoord( 4 , 618 , 8 )
-CompareAdd.AddCoord( 5 , 401 , 8 )
-CompareAdd.AddCoord( 6 , 400 , 80 )
-
-Subf = Sub.Port( 'f' )
-Addb = GraphCpuUsed.Link( Subf , Add.Port( 'b' ) )
-Addb.AddCoord( 1 , 189 , 108 )
-Addb.AddCoord( 2 , 191 , 220 )
-
-sigman = GraphCpuUsed.Link( Subf , sigma.Port( 'n' ) )
-sigman.AddCoord( 1 , 206 , 254 )
-sigman.AddCoord( 2 , 206 , 220 )
-
-Sigman = GraphCpuUsed.Link( Subf , Sigma.Port( 'n' ) )
-Sigman.AddCoord( 1 , 389 , 101 )
-Sigman.AddCoord( 2 , 390 , 160 )
-Sigman.AddCoord( 3 , 190 , 161 )
-Sigman.AddCoord( 4 , 190 , 220 )
-
-sigmaf = sigma.Port( 'f' )
-Comparesigma = GraphCpuUsed.Link( sigmaf , Compare.Port( 'sigma' ) )
-Comparesigma.AddCoord( 1 , 386 , 323 )
-Comparesigma.AddCoord( 2 , 385 , 253 )
-
-Sigmaf = Sigma.Port( 'f' )
-CompareSigma = GraphCpuUsed.Link( Sigmaf , Compare.Port( 'Sigma' ) )
-CompareSigma.AddCoord( 1 , 400 , 295 )
-CompareSigma.AddCoord( 2 , 400 , 153 )
-CompareSigma.AddCoord( 3 , 595 , 153 )
-CompareSigma.AddCoord( 4 , 595 , 102 )
-
-# Creation of Input datas
-Adda = Add.Input( 'a' , 1)
-Suba = Sub.Input( 'a' , 1000)
-Subb = Sub.Input( 'b' , 1)
-
-# Creation of Output variables
-CompareResult = Compare.Port( 'Result' )
-
-GraphCpuUsed.Run()
-while GraphCpuUsed.IsDone() == 0 :
- time.sleep(1)
- print "sigma",sigma.CpuUsed(),"seconds"
- print "Sigma",Sigma.CpuUsed(),"seconds"
- print "Add",Add.CpuUsed(),"seconds"
- print "Sub",Sub.CpuUsed(),"seconds"
- print "Compare",Compare.CpuUsed(),"seconds"
-
-print GraphCpuUsed.State()
-GraphCpuUsed.PrintPorts()
-print "sigma",sigma.CpuUsed(),"seconds"
-print "Sigma",Sigma.CpuUsed(),"seconds"
-print "Add",Add.CpuUsed(),"seconds"
-print "Sub",Sub.CpuUsed(),"seconds"
-print "Compare",Compare.CpuUsed(),"seconds"
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-from GraphSwitchs import *
-
-GraphSwitchs.SetName('GraphEditSwitchs')
-GraphEditSwitchs = GraphSwitchs
-
-exec GraphEditSwitchs.ListNodes()
-InitLoopSwitch.destroy()
-
-aPyFile = os.getenv('DATA_DIR') + '/Superv/Python/GraphEditGraphSwitchs_1.py'
-GraphEditSwitchs.Export( aPyFile )
-
-InitLoop.SetName('InitLoopSwitch')
-InitLoopSwitch = InitLoop
-EndOfInitLoop.SetName('EndOfInitLoopSwitch')
-EndOfInitLoopSwitch = EndOfInitLoop
-
-exec InitLoopSwitch.ListPorts()
-exec Switch.ListPorts()
-
-GraphEditSwitchs.Link( OInitLoopSwitchIndex , ISwitcha )
-
-exec EndOfInitLoopSwitch.ListPorts()
-IEndOfInitLoopSwitchIndex.Link().destroy()
-
-aPyFile = os.getenv('DATA_DIR') + '/Superv/Python/GraphEditGraphSwitchs_2.py'
-GraphEditSwitchs.Export( aPyFile )
-
-exec EndOfSwitch.ListPorts()
-GraphEditSwitchs.Link(OEndOfSwitcha,IEndOfInitLoopSwitchIndex)
-
-exec EndSwitch.ListPorts()
-GraphEditSwitchs.Link(OEndSwitchGate,IEndOfInitLoopSwitchGate)
-
-aPyFile = os.getenv('DATA_DIR') + '/Superv/Python/GraphEditGraphSwitchs_3.py'
-GraphEditSwitchs.Export( aPyFile )
-
-IsOdd_1.SetName('IsEven')
-IsEven = IsOdd_1
-
-exec IsEven.ListPorts()
-IIsEvena.Link().destroy()
-
-IIsEvenGate.Link().destroy()
-
-exec Switch_1.ListPorts()
-GraphEditSwitchs.Link(OSwitch_1Even,IIsEvenGate)
-
-aPyFile = os.getenv('DATA_DIR') + '/Superv/Python/GraphEditGraphSwitchs_4.py'
-GraphEditSwitchs.Export( aPyFile )
-
-GraphEditSwitchs.PrintLinks()
-
-L = GraphEditSwitchs.Link(OSwitch_1Even,IEndSwitchDefault)
-L.destroy()
-
-aPyFile = os.getenv('DATA_DIR') + '/Superv/Python/GraphEditGraphSwitchs_5.py'
-GraphEditSwitchs.Export( aPyFile )
-
-GraphEditSwitchs.Link(OSwitch_1Default,IEndSwitchDefault)
-
-GraphEditSwitchs.Link(OSwitch_1a,IIsEvena)
-
-GraphEditSwitchs.Export( aPyFile)
-
-Switch_1.SetName('')
-
-from SuperV import *
-
-aPyFile = os.getenv('DATA_DIR') + '/Superv/Python/GraphEditGraphSwitchs_3.py'
-GraphEditSwitchs = Graph( aPyFile )
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEditSwitchs
-#
-from SuperV import *
-
-# Graph creation of GraphEditSwitchs
-def DefGraphEditSwitchs() :
- GraphEditSwitchs = Graph( 'GraphEditSwitchs' )
- GraphEditSwitchs.SetName( 'GraphEditSwitchs' )
- GraphEditSwitchs.SetAuthor( '' )
- GraphEditSwitchs.SetComment( '' )
- GraphEditSwitchs.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 = GraphEditSwitchs.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 = GraphEditSwitchs.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
- 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 = GraphEditSwitchs.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' )
- OEndOfInitLoopGate = EndOfInitLoop.GetOutPort( 'Gate' )
- OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- 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 = GraphEditSwitchs.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 = GraphEditSwitchs.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 = GraphEditSwitchs.Link( OIsOdda , IEndOfSwitcha )
- LIsOddaEndOfSwitcha.AddCoord( 1 , 573 , 160 )
- LIsOddaEndOfSwitcha.AddCoord( 2 , 572 , 130 )
-
- LIsOdd_1aEndSwitcha = GraphEditSwitchs.Link( OIsOdd_1a , IEndSwitcha )
- LIsOdd_1aEndSwitcha.AddCoord( 1 , 599 , 416 )
- LIsOdd_1aEndSwitcha.AddCoord( 2 , 598 , 389 )
-
- LInitLoopIndexSwitch_1a = GraphEditSwitchs.Link( OInitLoopIndex , ISwitch_1a )
-
- LInitLoopMinEndOfInitLoopMin = GraphEditSwitchs.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphEditSwitchs.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphEditSwitchs.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchaIsOdda = GraphEditSwitchs.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 365 , 129 )
- LSwitchaIsOdda.AddCoord( 2 , 365 , 222 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphEditSwitchs.Link( OSwitchDefault , IEndOfSwitchDefault )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 1 , 572 , 194 )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 2 , 571 , 257 )
-
- LSwitch_1OddIsOdd_1Gate = GraphEditSwitchs.Link( OSwitch_1Odd , IIsOdd_1Gate )
-
- LSwitch_1EvenEndSwitchDefault = GraphEditSwitchs.Link( OSwitch_1Even , IEndSwitchDefault )
-
- LSwitch_1aIsOdd_1a = GraphEditSwitchs.Link( OSwitch_1a , IIsOdd_1a )
- LSwitch_1aIsOdd_1a.AddCoord( 1 , 379 , 387 )
- LSwitch_1aIsOdd_1a.AddCoord( 2 , 378 , 481 )
-
- LEndSwitchaEndOfInitLoopIndex = GraphEditSwitchs.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 0 )
- IInitLoopMax.Input( 20 )
-
- # Input Ports of the graph
- #ISwitcha = Switch.GetInPort( 'a' )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- #OEndOfSwitcha = EndOfSwitch.GetOutPort( 'a' )
- return GraphEditSwitchs
-
-
-GraphEditSwitchs = DefGraphEditSwitchs()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEditSwitchs
-#
-from SuperV import *
-
-# Graph creation of GraphEditSwitchs
-def DefGraphEditSwitchs() :
- GraphEditSwitchs = Graph( 'GraphEditSwitchs' )
- GraphEditSwitchs.SetName( 'GraphEditSwitchs' )
- GraphEditSwitchs.SetAuthor( '' )
- GraphEditSwitchs.SetComment( '' )
- GraphEditSwitchs.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 = GraphEditSwitchs.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 = GraphEditSwitchs.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
- 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 = GraphEditSwitchs.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' )
- OEndOfInitLoopGate = EndOfInitLoop.GetOutPort( 'Gate' )
- OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- 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 = GraphEditSwitchs.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 = GraphEditSwitchs.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 = GraphEditSwitchs.Link( OIsOdda , IEndOfSwitcha )
- LIsOddaEndOfSwitcha.AddCoord( 1 , 573 , 160 )
- LIsOddaEndOfSwitcha.AddCoord( 2 , 572 , 130 )
-
- LIsOdd_1aEndSwitcha = GraphEditSwitchs.Link( OIsOdd_1a , IEndSwitcha )
- LIsOdd_1aEndSwitcha.AddCoord( 1 , 599 , 416 )
- LIsOdd_1aEndSwitcha.AddCoord( 2 , 598 , 389 )
-
- LInitLoopIndexSwitch_1a = GraphEditSwitchs.Link( OInitLoopIndex , ISwitch_1a )
-
- LInitLoopIndexSwitcha = GraphEditSwitchs.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphEditSwitchs.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphEditSwitchs.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphEditSwitchs.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchaIsOdda = GraphEditSwitchs.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 365 , 129 )
- LSwitchaIsOdda.AddCoord( 2 , 365 , 222 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphEditSwitchs.Link( OSwitchDefault , IEndOfSwitchDefault )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 1 , 572 , 194 )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 2 , 571 , 257 )
-
- LSwitch_1OddIsOdd_1Gate = GraphEditSwitchs.Link( OSwitch_1Odd , IIsOdd_1Gate )
-
- LSwitch_1EvenEndSwitchDefault = GraphEditSwitchs.Link( OSwitch_1Even , IEndSwitchDefault )
-
- LSwitch_1aIsOdd_1a = GraphEditSwitchs.Link( OSwitch_1a , IIsOdd_1a )
- LSwitch_1aIsOdd_1a.AddCoord( 1 , 379 , 387 )
- LSwitch_1aIsOdd_1a.AddCoord( 2 , 378 , 481 )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 0 )
- IInitLoopMax.Input( 20 )
-
- # Input Ports of the graph
- #IEndOfInitLoopIndex = EndOfInitLoop.GetInPort( 'Index' )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- #OEndOfSwitcha = EndOfSwitch.GetOutPort( 'a' )
- #OEndSwitcha = EndSwitch.GetOutPort( 'a' )
- return GraphEditSwitchs
-
-
-GraphEditSwitchs = DefGraphEditSwitchs()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEditSwitchs
-#
-from SuperV import *
-
-# Graph creation of GraphEditSwitchs
-def DefGraphEditSwitchs() :
- GraphEditSwitchs = Graph( 'GraphEditSwitchs' )
- GraphEditSwitchs.SetName( 'GraphEditSwitchs' )
- GraphEditSwitchs.SetAuthor( '' )
- GraphEditSwitchs.SetComment( '' )
- GraphEditSwitchs.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 = GraphEditSwitchs.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 = GraphEditSwitchs.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
- 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 = GraphEditSwitchs.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' )
- OEndOfInitLoopGate = EndOfInitLoop.GetOutPort( 'Gate' )
- OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- 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 = GraphEditSwitchs.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 = GraphEditSwitchs.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 = GraphEditSwitchs.Link( OIsOdda , IEndOfSwitcha )
- LIsOddaEndOfSwitcha.AddCoord( 1 , 573 , 160 )
- LIsOddaEndOfSwitcha.AddCoord( 2 , 572 , 130 )
-
- LIsOdd_1aEndSwitcha = GraphEditSwitchs.Link( OIsOdd_1a , IEndSwitcha )
- LIsOdd_1aEndSwitcha.AddCoord( 1 , 599 , 416 )
- LIsOdd_1aEndSwitcha.AddCoord( 2 , 598 , 389 )
-
- LInitLoopIndexSwitch_1a = GraphEditSwitchs.Link( OInitLoopIndex , ISwitch_1a )
-
- LInitLoopIndexSwitcha = GraphEditSwitchs.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphEditSwitchs.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphEditSwitchs.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphEditSwitchs.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchaIsOdda = GraphEditSwitchs.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 365 , 129 )
- LSwitchaIsOdda.AddCoord( 2 , 365 , 222 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphEditSwitchs.Link( OSwitchDefault , IEndOfSwitchDefault )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 1 , 572 , 194 )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 2 , 571 , 257 )
-
- LEndOfSwitchaEndOfInitLoopIndex = GraphEditSwitchs.Link( OEndOfSwitcha , IEndOfInitLoopIndex )
-
- LSwitch_1OddIsOdd_1Gate = GraphEditSwitchs.Link( OSwitch_1Odd , IIsOdd_1Gate )
-
- LSwitch_1EvenEndSwitchDefault = GraphEditSwitchs.Link( OSwitch_1Even , IEndSwitchDefault )
-
- LSwitch_1aIsOdd_1a = GraphEditSwitchs.Link( OSwitch_1a , IIsOdd_1a )
- LSwitch_1aIsOdd_1a.AddCoord( 1 , 379 , 387 )
- LSwitch_1aIsOdd_1a.AddCoord( 2 , 378 , 481 )
-
- LEndSwitchGateEndOfInitLoopGate = GraphEditSwitchs.Link( OEndSwitchGate , IEndOfInitLoopGate )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 0 )
- IInitLoopMax.Input( 20 )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- #OEndSwitcha = EndSwitch.GetOutPort( 'a' )
- return GraphEditSwitchs
-
-
-GraphEditSwitchs = DefGraphEditSwitchs()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEditSwitchs
-#
-from SuperV import *
-
-# Graph creation of GraphEditSwitchs
-def DefGraphEditSwitchs() :
- GraphEditSwitchs = Graph( 'GraphEditSwitchs' )
- GraphEditSwitchs.SetName( 'GraphEditSwitchs' )
- GraphEditSwitchs.SetAuthor( '' )
- GraphEditSwitchs.SetComment( '' )
- GraphEditSwitchs.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 = GraphEditSwitchs.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' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsOdd(a) : ' )
- PyIsEven.append( ' print a,"IsOdd_1 (GraphSwitchs)" ' )
- PyIsEven.append( ' sleep( 1 ) ' )
- PyIsEven.append( ' return a ' )
- IsEven = GraphEditSwitchs.INode( 'IsOdd' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Python function' )
- IsEven.Coords( 419 , 308 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.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 = GraphEditSwitchs.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 = GraphEditSwitchs.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 = GraphEditSwitchs.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 = GraphEditSwitchs.Link( OIsOdda , IEndOfSwitcha )
- LIsOddaEndOfSwitcha.AddCoord( 1 , 573 , 160 )
- LIsOddaEndOfSwitcha.AddCoord( 2 , 572 , 130 )
-
- LIsEvenaEndSwitcha = GraphEditSwitchs.Link( OIsEvena , IEndSwitcha )
- LIsEvenaEndSwitcha.AddCoord( 1 , 599 , 416 )
- LIsEvenaEndSwitcha.AddCoord( 2 , 598 , 389 )
-
- LInitLoopIndexSwitch_1a = GraphEditSwitchs.Link( OInitLoopIndex , ISwitch_1a )
-
- LInitLoopIndexSwitcha = GraphEditSwitchs.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphEditSwitchs.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphEditSwitchs.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphEditSwitchs.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchaIsOdda = GraphEditSwitchs.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 365 , 129 )
- LSwitchaIsOdda.AddCoord( 2 , 365 , 222 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphEditSwitchs.Link( OSwitchDefault , IEndOfSwitchDefault )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 1 , 572 , 194 )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 2 , 571 , 257 )
-
- LEndOfSwitchaEndOfInitLoopIndex = GraphEditSwitchs.Link( OEndOfSwitcha , IEndOfInitLoopIndex )
-
- LSwitch_1EvenEndSwitchDefault = GraphEditSwitchs.Link( OSwitch_1Even , IEndSwitchDefault )
-
- LSwitch_1EvenIsEvenGate = GraphEditSwitchs.Link( OSwitch_1Even , IIsEvenGate )
-
- LEndSwitchGateEndOfInitLoopGate = GraphEditSwitchs.Link( OEndSwitchGate , IEndOfInitLoopGate )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 0 )
- IInitLoopMax.Input( 20 )
-
- # Input Ports of the graph
- #IIsEvena = IsEven.GetInPort( 'a' )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- #OSwitch_1Odd = Switch_1.GetOutPort( 'Odd' )
- #OSwitch_1a = Switch_1.GetOutPort( 'a' )
- #OEndSwitcha = EndSwitch.GetOutPort( 'a' )
- return GraphEditSwitchs
-
-
-GraphEditSwitchs = DefGraphEditSwitchs()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEditSwitchs_5
-#
-from SuperV import *
-
-# Graph creation of GraphEditSwitchs_5
-def DefGraphEditSwitchs_5() :
- GraphEditSwitchs_5 = Graph( 'GraphEditSwitchs_5' )
- GraphEditSwitchs_5.SetName( 'GraphEditSwitchs_5' )
- GraphEditSwitchs_5.SetAuthor( '' )
- GraphEditSwitchs_5.SetComment( '' )
- GraphEditSwitchs_5.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 = GraphEditSwitchs_5.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 393 , 67 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven(a) : ' )
- PyIsEven.append( ' print a,"IsEven" ' )
- PyIsEven.append( ' sleep( 1 ) ' )
- PyIsEven.append( ' return a ' )
- IsEven = GraphEditSwitchs_5.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Python function' )
- IsEven.Coords( 408 , 343 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.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 = GraphEditSwitchs_5.LNode( 'InitLoop' , PyInitLoop , 'MoreLoop' , PyMoreInitLoop , 'NextLoop' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 823 , 259 )
- 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 , 248 )
-
- # 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 = GraphEditSwitchs_5.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 584 , 172 )
- 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( 199 , 132 )
- 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 = GraphEditSwitchs_5.SNode( 'Switch' , PySwitch_1 )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 608 , 430 )
- 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( 201 , 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 = GraphEditSwitchs_5.Link( OIsOdda , IEndOfSwitcha )
-
- LIsEvenaEndSwitcha = GraphEditSwitchs_5.Link( OIsEvena , IEndSwitcha )
-
- LInitLoopIndexSwitch_1a = GraphEditSwitchs_5.Link( OInitLoopIndex , ISwitch_1a )
-
- LInitLoopIndexSwitcha = GraphEditSwitchs_5.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphEditSwitchs_5.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphEditSwitchs_5.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphEditSwitchs_5.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchaIsOdda = GraphEditSwitchs_5.Link( OSwitcha , IIsOdda )
-
- LSwitchDefaultEndOfSwitchDefault = GraphEditSwitchs_5.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopIndex = GraphEditSwitchs_5.Link( OEndOfSwitcha , IEndOfInitLoopIndex )
-
- LSwitch_1EvenIsEvenGate = GraphEditSwitchs_5.Link( OSwitch_1Even , IIsEvenGate )
-
- LSwitch_1aIsEvena = GraphEditSwitchs_5.Link( OSwitch_1a , IIsEvena )
-
- LSwitch_1DefaultEndSwitchDefault = GraphEditSwitchs_5.Link( OSwitch_1Default , IEndSwitchDefault )
-
- LEndSwitchGateEndOfInitLoopGate = GraphEditSwitchs_5.Link( OEndSwitchGate , IEndOfInitLoopGate )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 0 )
- IInitLoopMax.Input( 20 )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- #OSwitch_1Odd = Switch_1.GetOutPort( 'Odd' )
- #OEndSwitcha = EndSwitch.GetOutPort( 'a' )
- return GraphEditSwitchs_5
-
-
-GraphEditSwitchs_5 = DefGraphEditSwitchs_5()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEmbeddedComponents
-#
-from SuperV import *
-
-# Graph creation of GraphEmbeddedComponents
-def DefGraphEmbeddedComponents() :
- GraphEmbeddedComponents = Graph( 'GraphEmbeddedComponents' )
- GraphEmbeddedComponents.SetName( 'GraphEmbeddedComponents' )
- GraphEmbeddedComponents.SetAuthor( '' )
- GraphEmbeddedComponents.SetComment( '' )
- GraphEmbeddedComponents.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphEmbeddedComponents.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'localhost/SuperVisionContainer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 1 , 152 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- Sub = GraphEmbeddedComponents.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'localhost/SuperVisionContainer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 412 , 377 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- Mul = GraphEmbeddedComponents.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
- Mul.SetName( 'Mul' )
- Mul.SetAuthor( '' )
- Mul.SetContainer( 'localhost/SuperVisionContainer' )
- Mul.SetComment( 'Mul from MulComponent' )
- Mul.Coords( 412 , 152 )
- IMulx = Mul.GetInPort( 'x' )
- IMuly = Mul.GetInPort( 'y' )
- IMulGate = Mul.GetInPort( 'Gate' )
- OMulz = Mul.GetOutPort( 'z' )
- OMulGate = Mul.GetOutPort( 'Gate' )
-
- Div = GraphEmbeddedComponents.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
- Div.SetName( 'Div' )
- Div.SetAuthor( '' )
- Div.SetContainer( 'localhost/SuperVisionContainer' )
- Div.SetComment( 'Div from DivComponent' )
- Div.Coords( 622 , 124 )
- IDivx = Div.GetInPort( 'x' )
- IDivy = Div.GetInPort( 'y' )
- IDivGate = Div.GetInPort( 'Gate' )
- ODivz = Div.GetOutPort( 'z' )
- ODivGate = Div.GetOutPort( 'Gate' )
-
- Addition = GraphEmbeddedComponents.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
- Addition.SetName( 'Addition' )
- Addition.SetAuthor( '' )
- Addition.SetContainer( 'localhost/AdditionServer' )
- Addition.SetComment( 'Addition from AddComponent' )
- Addition.Coords( 0 , 0 )
- IAdditionGate = Addition.GetInPort( 'Gate' )
- OAdditionAdder = Addition.GetOutPort( 'Adder' )
- OAdditionGate = Addition.GetOutPort( 'Gate' )
-
- Addition_1 = GraphEmbeddedComponents.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
- Addition_1.SetName( 'Addition_1' )
- Addition_1.SetAuthor( '' )
- Addition_1.SetContainer( 'localhost/Addition_1Server' )
- Addition_1.SetComment( 'Addition from AddComponent' )
- Addition_1.Coords( 4 , 327 )
- IAddition_1Gate = Addition_1.GetInPort( 'Gate' )
- OAddition_1Adder = Addition_1.GetOutPort( 'Adder' )
- OAddition_1Gate = Addition_1.GetOutPort( 'Gate' )
-
- # Creation of Computing Nodes
- AddAndCompare_ServiceinParameter = []
- AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'Adder' , 'Adder' ) )
- AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'x' ) )
- AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'y' ) )
- AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'Adder' , 'anOtherAdder' ) )
- AddAndCompare_ServiceoutParameter = []
- AddAndCompare_ServiceoutParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'FuncValue' ) )
- AddAndCompare_ServiceoutParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'z' ) )
- AddAndCompare_ServiceinStreamParameter = []
- AddAndCompare_ServiceoutStreamParameter = []
- AddAndCompare_Service = SALOME_ModuleCatalog.Service( 'AddAndCompare' , AddAndCompare_ServiceinParameter , AddAndCompare_ServiceoutParameter , AddAndCompare_ServiceinStreamParameter , AddAndCompare_ServiceoutStreamParameter , 0 , 0 )
- AddAndCompare = GraphEmbeddedComponents.CNode( AddAndCompare_Service )
- AddAndCompare.SetName( 'AddAndCompare' )
- AddAndCompare.SetAuthor( '' )
- AddAndCompare.SetComment( 'Python function' )
- AddAndCompare.Coords( 233 , 0 )
- IAddAndCompareAdder = AddAndCompare.GetInPort( 'Adder' )
- IAddAndComparex = AddAndCompare.GetInPort( 'x' )
- IAddAndComparey = AddAndCompare.GetInPort( 'y' )
- IAddAndCompareanOtherAdder = AddAndCompare.GetInPort( 'anOtherAdder' )
- IAddAndCompareGate = AddAndCompare.GetInPort( 'Gate' )
- OAddAndCompareFuncValue = AddAndCompare.GetOutPort( 'FuncValue' )
- OAddAndComparez = AddAndCompare.GetOutPort( 'z' )
- OAddAndCompareGate = AddAndCompare.GetOutPort( 'Gate' )
-
- # Creation of Links
- LAddFuncValueMulx = GraphEmbeddedComponents.Link( OAddFuncValue , IMulx )
-
- LAddFuncValueAddAndComparex = GraphEmbeddedComponents.Link( OAddFuncValue , IAddAndComparex )
- LAddFuncValueAddAndComparex.AddCoord( 1 , 195 , 108 )
- LAddFuncValueAddAndComparex.AddCoord( 2 , 195 , 233 )
-
- LAddzSubx = GraphEmbeddedComponents.Link( OAddz , ISubx )
- LAddzSubx.AddCoord( 1 , 187 , 459 )
- LAddzSubx.AddCoord( 2 , 186 , 262 )
-
- LAddzAddAndComparey = GraphEmbeddedComponents.Link( OAddz , IAddAndComparey )
- LAddzAddAndComparey.AddCoord( 1 , 187 , 139 )
- LAddzAddAndComparey.AddCoord( 2 , 186 , 261 )
-
- LSubzDivx = GraphEmbeddedComponents.Link( OSubz , IDivx )
- LSubzDivx.AddCoord( 1 , 598 , 203 )
- LSubzDivx.AddCoord( 2 , 598 , 457 )
-
- LMulzDivy = GraphEmbeddedComponents.Link( OMulz , IDivy )
-
- LAdditionAdderAddAndCompareAdder = GraphEmbeddedComponents.Link( OAdditionAdder , IAddAndCompareAdder )
-
- LAddition_1AdderAddAndCompareanOtherAdder = GraphEmbeddedComponents.Link( OAddition_1Adder , IAddAndCompareanOtherAdder )
- LAddition_1AdderAddAndCompareanOtherAdder.AddCoord( 1 , 215 , 168 )
- LAddition_1AdderAddAndCompareanOtherAdder.AddCoord( 2 , 214 , 407 )
-
- # Input datas
- IAddx.Input( 1 )
- IAddy.Input( 2 )
- ISuby.Input( 3 )
- IMuly.Input( 4 )
-
- # Output Ports of the graph
- #ODivz = Div.GetOutPort( 'z' )
- #OAddAndCompareFuncValue = AddAndCompare.GetOutPort( 'FuncValue' )
- #OAddAndComparez = AddAndCompare.GetOutPort( 'z' )
- return GraphEmbeddedComponents
-
-
-GraphEmbeddedComponents = DefGraphEmbeddedComponents()
-
-GraphEmbeddedComponents.Run()
-GraphEmbeddedComponents.DoneW()
-GraphEmbeddedComponents.PrintPorts()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEmbeddedComponentsCrash
-#
-from SuperV import *
-
-# Graph creation of GraphEmbeddedComponentsCrash
-def DefGraphEmbeddedComponentsCrash() :
- GraphEmbeddedComponentsCrash = Graph( 'GraphEmbeddedComponentsCrash' )
- GraphEmbeddedComponentsCrash.SetName( 'GraphEmbeddedComponentsCrash' )
- GraphEmbeddedComponentsCrash.SetAuthor( '' )
- GraphEmbeddedComponentsCrash.SetComment( '' )
- GraphEmbeddedComponentsCrash.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphEmbeddedComponentsCrash.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'localhost/FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 1 , 152 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- Sub = GraphEmbeddedComponentsCrash.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'localhost/FactoryServer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 477 , 381 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- Mul = GraphEmbeddedComponentsCrash.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
- Mul.SetName( 'Mul' )
- Mul.SetAuthor( '' )
- Mul.SetContainer( 'localhost/FactoryServer' )
- Mul.SetComment( 'Mul from MulComponent' )
- Mul.Coords( 480 , 152 )
- IMulx = Mul.GetInPort( 'x' )
- IMuly = Mul.GetInPort( 'y' )
- IMulGate = Mul.GetInPort( 'Gate' )
- OMulz = Mul.GetOutPort( 'z' )
- OMulGate = Mul.GetOutPort( 'Gate' )
-
- Div = GraphEmbeddedComponentsCrash.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
- Div.SetName( 'Div' )
- Div.SetAuthor( '' )
- Div.SetContainer( 'localhost/FactoryServer' )
- Div.SetComment( 'Div from DivComponent' )
- Div.Coords( 714 , 136 )
- IDivx = Div.GetInPort( 'x' )
- IDivy = Div.GetInPort( 'y' )
- IDivGate = Div.GetInPort( 'Gate' )
- ODivz = Div.GetOutPort( 'z' )
- ODivGate = Div.GetOutPort( 'Gate' )
-
- Addition = GraphEmbeddedComponentsCrash.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
- Addition.SetName( 'Addition' )
- Addition.SetAuthor( '' )
- Addition.SetContainer( 'localhost/AdditionServer' )
- Addition.SetComment( 'Addition from AddComponent' )
- Addition.Coords( 0 , 0 )
- IAdditionGate = Addition.GetInPort( 'Gate' )
- OAdditionAdder = Addition.GetOutPort( 'Adder' )
- OAdditionGate = Addition.GetOutPort( 'Gate' )
-
- Addition_1 = GraphEmbeddedComponentsCrash.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
- Addition_1.SetName( 'Addition_1' )
- Addition_1.SetAuthor( '' )
- Addition_1.SetContainer( 'localhost/Addition_1Server' )
- Addition_1.SetComment( 'Addition from AddComponent' )
- Addition_1.Coords( 4 , 327 )
- IAddition_1Gate = Addition_1.GetInPort( 'Gate' )
- OAddition_1Adder = Addition_1.GetOutPort( 'Adder' )
- OAddition_1Gate = Addition_1.GetOutPort( 'Gate' )
-
- # Creation of Computing Nodes
- AddAndCompare_ServiceinParameter = []
- AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'Adder' , 'Adder' ) )
- AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'x' ) )
- AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'y' ) )
- AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'Adder' , 'anOtherAdder' ) )
- AddAndCompare_ServiceoutParameter = []
- AddAndCompare_ServiceoutParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'FuncValue' ) )
- AddAndCompare_ServiceoutParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'z' ) )
- AddAndCompare_ServiceinStreamParameter = []
- AddAndCompare_ServiceoutStreamParameter = []
- AddAndCompare_Service = SALOME_ModuleCatalog.Service( 'AddAndCompare' , AddAndCompare_ServiceinParameter , AddAndCompare_ServiceoutParameter , AddAndCompare_ServiceinStreamParameter , AddAndCompare_ServiceoutStreamParameter , 0 , 0 )
- AddAndCompare = GraphEmbeddedComponentsCrash.CNode( AddAndCompare_Service )
- AddAndCompare.SetName( 'AddAndCompare' )
- AddAndCompare.SetAuthor( '' )
- AddAndCompare.SetComment( 'Python function' )
- AddAndCompare.Coords( 233 , 0 )
- IAddAndCompareAdder = AddAndCompare.GetInPort( 'Adder' )
- IAddAndComparex = AddAndCompare.GetInPort( 'x' )
- IAddAndComparey = AddAndCompare.GetInPort( 'y' )
- IAddAndCompareanOtherAdder = AddAndCompare.GetInPort( 'anOtherAdder' )
- IAddAndCompareGate = AddAndCompare.GetInPort( 'Gate' )
- OAddAndCompareFuncValue = AddAndCompare.GetOutPort( 'FuncValue' )
- OAddAndComparez = AddAndCompare.GetOutPort( 'z' )
- OAddAndCompareGate = AddAndCompare.GetOutPort( 'Gate' )
-
- # Creation of Links
- LAddFuncValueMulx = GraphEmbeddedComponentsCrash.Link( OAddFuncValue , IMulx )
-
- LAddFuncValueAddAndComparex = GraphEmbeddedComponentsCrash.Link( OAddFuncValue , IAddAndComparex )
- LAddFuncValueAddAndComparex.AddCoord( 1 , 195 , 108 )
- LAddFuncValueAddAndComparex.AddCoord( 2 , 195 , 233 )
-
- LAddzSubx = GraphEmbeddedComponentsCrash.Link( OAddz , ISubx )
- LAddzSubx.AddCoord( 1 , 187 , 459 )
- LAddzSubx.AddCoord( 2 , 186 , 262 )
-
- LAddzAddAndComparey = GraphEmbeddedComponentsCrash.Link( OAddz , IAddAndComparey )
- LAddzAddAndComparey.AddCoord( 1 , 187 , 139 )
- LAddzAddAndComparey.AddCoord( 2 , 186 , 261 )
-
- LSubzDivx = GraphEmbeddedComponentsCrash.Link( OSubz , IDivx )
- LSubzDivx.AddCoord( 1 , 670 , 206 )
- LSubzDivx.AddCoord( 2 , 680 , 447 )
-
- LMulzDivy = GraphEmbeddedComponentsCrash.Link( OMulz , IDivy )
-
- LAdditionAdderAddAndCompareAdder = GraphEmbeddedComponentsCrash.Link( OAdditionAdder , IAddAndCompareAdder )
-
- LAddition_1AdderAddAndCompareanOtherAdder = GraphEmbeddedComponentsCrash.Link( OAddition_1Adder , IAddAndCompareanOtherAdder )
- LAddition_1AdderAddAndCompareanOtherAdder.AddCoord( 1 , 215 , 168 )
- LAddition_1AdderAddAndCompareanOtherAdder.AddCoord( 2 , 214 , 407 )
-
- LAddAndCompareGateMulGate = GraphEmbeddedComponentsCrash.Link( OAddAndCompareGate , IMulGate )
-
- LAddAndCompareGateSubGate = GraphEmbeddedComponentsCrash.Link( OAddAndCompareGate , ISubGate )
-
- # Input datas
- IAddx.Input( 1 )
- IAddy.Input( 2 )
- ISuby.Input( 3 )
- IMuly.Input( 4 )
-
- # Output Ports of the graph
- #ODivz = Div.GetOutPort( 'z' )
- #OAddAndCompareFuncValue = AddAndCompare.GetOutPort( 'FuncValue' )
- #OAddAndComparez = AddAndCompare.GetOutPort( 'z' )
- return GraphEmbeddedComponentsCrash
-
-
-GraphEmbeddedComponentsCrash = DefGraphEmbeddedComponentsCrash()
-
-GraphEmbeddedComponentsCrash.Run()
-GraphEmbeddedComponentsCrash.DoneW()
-GraphEmbeddedComponentsCrash.PrintPorts()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEmbeddedComponentsCrash1
-#
-from SuperV import *
-
-# Graph creation of GraphEmbeddedComponentsCrash1
-def DefGraphEmbeddedComponentsCrash1() :
- GraphEmbeddedComponentsCrash1 = Graph( 'GraphEmbeddedComponentsCrash1' )
- GraphEmbeddedComponentsCrash1.SetName( 'GraphEmbeddedComponentsCrash1' )
- GraphEmbeddedComponentsCrash1.SetAuthor( '' )
- GraphEmbeddedComponentsCrash1.SetComment( '' )
- GraphEmbeddedComponentsCrash1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphEmbeddedComponentsCrash1.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'localhost/SuperVisionContainer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 1 , 152 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- Sub = GraphEmbeddedComponentsCrash1.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'localhost/SuperVisionContainer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 477 , 381 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- Mul = GraphEmbeddedComponentsCrash1.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
- Mul.SetName( 'Mul' )
- Mul.SetAuthor( '' )
- Mul.SetContainer( 'localhost/SuperVisionContainer' )
- Mul.SetComment( 'Mul from MulComponent' )
- Mul.Coords( 480 , 152 )
- IMulx = Mul.GetInPort( 'x' )
- IMuly = Mul.GetInPort( 'y' )
- IMulGate = Mul.GetInPort( 'Gate' )
- OMulz = Mul.GetOutPort( 'z' )
- OMulGate = Mul.GetOutPort( 'Gate' )
-
- Div = GraphEmbeddedComponentsCrash1.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
- Div.SetName( 'Div' )
- Div.SetAuthor( '' )
- Div.SetContainer( 'localhost/SuperVisionContainer' )
- Div.SetComment( 'Div from DivComponent' )
- Div.Coords( 714 , 136 )
- IDivx = Div.GetInPort( 'x' )
- IDivy = Div.GetInPort( 'y' )
- IDivGate = Div.GetInPort( 'Gate' )
- ODivz = Div.GetOutPort( 'z' )
- ODivGate = Div.GetOutPort( 'Gate' )
-
- Addition = GraphEmbeddedComponentsCrash1.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
- Addition.SetName( 'Addition' )
- Addition.SetAuthor( '' )
- Addition.SetContainer( 'localhost/SuperVisionContainer' )
- Addition.SetComment( 'Addition from AddComponent' )
- Addition.Coords( 0 , 0 )
- IAdditionGate = Addition.GetInPort( 'Gate' )
- OAdditionAdder = Addition.GetOutPort( 'Adder' )
- OAdditionGate = Addition.GetOutPort( 'Gate' )
-
- Addition_1 = GraphEmbeddedComponentsCrash1.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
- Addition_1.SetName( 'Addition_1' )
- Addition_1.SetAuthor( '' )
- Addition_1.SetContainer( 'localhost/SuperVisionContainer' )
- Addition_1.SetComment( 'Addition from AddComponent' )
- Addition_1.Coords( 4 , 327 )
- IAddition_1Gate = Addition_1.GetInPort( 'Gate' )
- OAddition_1Adder = Addition_1.GetOutPort( 'Adder' )
- OAddition_1Gate = Addition_1.GetOutPort( 'Gate' )
-
- # Creation of Computing Nodes
- AddAndCompare_ServiceinParameter = []
- AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'Adder' , 'Adder' ) )
- AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'x' ) )
- AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'y' ) )
- AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'Adder' , 'anOtherAdder' ) )
- AddAndCompare_ServiceoutParameter = []
- AddAndCompare_ServiceoutParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'FuncValue' ) )
- AddAndCompare_ServiceoutParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'z' ) )
- AddAndCompare_ServiceinStreamParameter = []
- AddAndCompare_ServiceoutStreamParameter = []
- AddAndCompare_Service = SALOME_ModuleCatalog.Service( 'AddAndCompare' , AddAndCompare_ServiceinParameter , AddAndCompare_ServiceoutParameter , AddAndCompare_ServiceinStreamParameter , AddAndCompare_ServiceoutStreamParameter , 0 , 0 )
- AddAndCompare = GraphEmbeddedComponentsCrash1.CNode( AddAndCompare_Service )
- AddAndCompare.SetName( 'AddAndCompare' )
- AddAndCompare.SetAuthor( '' )
- AddAndCompare.SetComment( 'Python function' )
- AddAndCompare.Coords( 233 , 0 )
- IAddAndCompareAdder = AddAndCompare.GetInPort( 'Adder' )
- IAddAndComparex = AddAndCompare.GetInPort( 'x' )
- IAddAndComparey = AddAndCompare.GetInPort( 'y' )
- IAddAndCompareanOtherAdder = AddAndCompare.GetInPort( 'anOtherAdder' )
- IAddAndCompareGate = AddAndCompare.GetInPort( 'Gate' )
- OAddAndCompareFuncValue = AddAndCompare.GetOutPort( 'FuncValue' )
- OAddAndComparez = AddAndCompare.GetOutPort( 'z' )
- OAddAndCompareGate = AddAndCompare.GetOutPort( 'Gate' )
-
- # Creation of Links
- LAddFuncValueMulx = GraphEmbeddedComponentsCrash1.Link( OAddFuncValue , IMulx )
-
- LAddFuncValueAddAndComparex = GraphEmbeddedComponentsCrash1.Link( OAddFuncValue , IAddAndComparex )
- LAddFuncValueAddAndComparex.AddCoord( 1 , 195 , 108 )
- LAddFuncValueAddAndComparex.AddCoord( 2 , 195 , 233 )
-
- LAddzSubx = GraphEmbeddedComponentsCrash1.Link( OAddz , ISubx )
- LAddzSubx.AddCoord( 1 , 187 , 459 )
- LAddzSubx.AddCoord( 2 , 186 , 262 )
-
- LAddzAddAndComparey = GraphEmbeddedComponentsCrash1.Link( OAddz , IAddAndComparey )
- LAddzAddAndComparey.AddCoord( 1 , 187 , 139 )
- LAddzAddAndComparey.AddCoord( 2 , 186 , 261 )
-
- LSubzDivx = GraphEmbeddedComponentsCrash1.Link( OSubz , IDivx )
- LSubzDivx.AddCoord( 1 , 670 , 206 )
- LSubzDivx.AddCoord( 2 , 680 , 447 )
-
- LMulzDivy = GraphEmbeddedComponentsCrash1.Link( OMulz , IDivy )
-
- LAdditionAdderAddAndCompareAdder = GraphEmbeddedComponentsCrash1.Link( OAdditionAdder , IAddAndCompareAdder )
-
- LAddition_1AdderAddAndCompareanOtherAdder = GraphEmbeddedComponentsCrash1.Link( OAddition_1Adder , IAddAndCompareanOtherAdder )
- LAddition_1AdderAddAndCompareanOtherAdder.AddCoord( 1 , 215 , 168 )
- LAddition_1AdderAddAndCompareanOtherAdder.AddCoord( 2 , 214 , 407 )
-
- # Input datas
- IAddx.Input( 1 )
- IAddy.Input( 2 )
- ISuby.Input( 3 )
- IMuly.Input( 4 )
-
- # Output Ports of the graph
- #ODivz = Div.GetOutPort( 'z' )
- #OAddAndCompareFuncValue = AddAndCompare.GetOutPort( 'FuncValue' )
- #OAddAndComparez = AddAndCompare.GetOutPort( 'z' )
- return GraphEmbeddedComponentsCrash1
-
-
-GraphEmbeddedComponentsCrash1 = DefGraphEmbeddedComponentsCrash1()
-
-GraphEmbeddedComponentsCrash1.Run()
-GraphEmbeddedComponentsCrash1.DoneW()
-GraphEmbeddedComponentsCrash1.PrintPorts()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEmptyInLinesConvertCheck
-#
-from SuperV import *
-# Graph creation
-GraphEmptyInLinesConvertCheck = Graph( 'GraphEmptyInLinesConvertCheck' )
-GraphEmptyInLinesConvertCheck.SetName( 'GraphEmptyInLinesConvertCheck' )
-GraphEmptyInLinesConvertCheck.SetAuthor( 'JR' )
-GraphEmptyInLinesConvertCheck.SetComment( '' )
-GraphEmptyInLinesConvertCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-Addition = GraphEmptyInLinesConvertCheck.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
-Addition.SetName( 'Addition' )
-Addition.SetAuthor( '' )
-Addition.SetContainer( 'localhost/FactoryServer' )
-Addition.SetComment( 'Addition from AddComponent' )
-Addition.Coords( 232 , 514 )
-
-# Creation of InLine Nodes
-PyBoolCheck = []
-PyBoolCheck.append( ' ' )
-BoolCheck = GraphEmptyInLinesConvertCheck.INode( '' , PyBoolCheck )
-BoolCheck.InPort( 'InBool' , 'boolean' )
-BoolCheck.OutPort( 'OutBool' , 'boolean' )
-BoolCheck.SetName( 'BoolCheck' )
-BoolCheck.SetAuthor( '' )
-BoolCheck.SetComment( 'Empty InLine Node' )
-BoolCheck.Coords( 234 , 92 )
-
-PyCharCheck = []
-PyCharCheck.append( ' ' )
-CharCheck = GraphEmptyInLinesConvertCheck.INode( '' , PyCharCheck )
-CharCheck.InPort( 'InChar' , 'char' )
-CharCheck.OutPort( 'OutChar' , 'char' )
-CharCheck.SetName( 'CharCheck' )
-CharCheck.SetAuthor( '' )
-CharCheck.SetComment( 'Empty InLine Node' )
-CharCheck.Coords( 30 , 142 )
-
-PyShortCheck = []
-PyShortCheck.append( ' ' )
-ShortCheck = GraphEmptyInLinesConvertCheck.INode( '' , PyShortCheck )
-ShortCheck.InPort( 'InShort' , 'short' )
-ShortCheck.OutPort( 'OutShort' , 'short' )
-ShortCheck.SetName( 'ShortCheck' )
-ShortCheck.SetAuthor( '' )
-ShortCheck.SetComment( 'Empty InLine Node' )
-ShortCheck.Coords( 234 , 230 )
-
-PyFloatCheck = []
-PyFloatCheck.append( ' ' )
-FloatCheck = GraphEmptyInLinesConvertCheck.INode( '' , PyFloatCheck )
-FloatCheck.InPort( 'InFloat' , 'float' )
-FloatCheck.OutPort( 'OutFloat' , 'float' )
-FloatCheck.SetName( 'FloatCheck' )
-FloatCheck.SetAuthor( '' )
-FloatCheck.SetComment( 'Empty InLine Node' )
-FloatCheck.Coords( 230 , 375 )
-
-PyLongCheck = []
-PyLongCheck.append( ' ' )
-LongCheck = GraphEmptyInLinesConvertCheck.INode( '' , PyLongCheck )
-LongCheck.InPort( 'InLong' , 'long' )
-LongCheck.OutPort( 'OutLong' , 'long' )
-LongCheck.SetName( 'LongCheck' )
-LongCheck.SetAuthor( '' )
-LongCheck.SetComment( 'Empty InLine Node' )
-LongCheck.Coords( 30 , 282 )
-
-PyStringCheck = []
-PyStringCheck.append( ' ' )
-StringCheck = GraphEmptyInLinesConvertCheck.INode( '' , PyStringCheck )
-StringCheck.InPort( 'InString' , 'string' )
-StringCheck.OutPort( 'OutString' , 'string' )
-StringCheck.SetName( 'StringCheck' )
-StringCheck.SetAuthor( '' )
-StringCheck.SetComment( 'Empty InLine Node' )
-StringCheck.Coords( 30 , 6 )
-
-PyDoubleCheck = []
-PyDoubleCheck.append( ' ' )
-DoubleCheck = GraphEmptyInLinesConvertCheck.INode( '' , PyDoubleCheck )
-DoubleCheck.InPort( 'InDouble' , 'double' )
-DoubleCheck.OutPort( 'OutDouble' , 'double' )
-DoubleCheck.SetName( 'DoubleCheck' )
-DoubleCheck.SetAuthor( '' )
-DoubleCheck.SetComment( 'Empty InLine Node' )
-DoubleCheck.Coords( 29 , 428 )
-
-PyMiscTypes = []
-PyMiscTypes.append( ' ' )
-MiscTypes = GraphEmptyInLinesConvertCheck.INode( '' , PyMiscTypes )
-MiscTypes.InPort( 'InString' , 'string' )
-MiscTypes.InPort( 'InBool' , 'boolean' )
-MiscTypes.InPort( 'InChar' , 'char' )
-MiscTypes.InPort( 'InShort' , 'short' )
-MiscTypes.InPort( 'InLong' , 'long' )
-MiscTypes.InPort( 'InFloat' , 'float' )
-MiscTypes.InPort( 'InDouble' , 'double' )
-MiscTypes.InPort( 'InObjRef' , 'SuperVision::Adder' )
-MiscTypes.OutPort( 'OutString' , 'string' )
-MiscTypes.OutPort( 'OutBool' , 'boolean' )
-MiscTypes.OutPort( 'OutChar' , 'char' )
-MiscTypes.OutPort( 'OutShort' , 'short' )
-MiscTypes.OutPort( 'OutLong' , 'long' )
-MiscTypes.OutPort( 'OutFloat' , 'float' )
-MiscTypes.OutPort( 'OutDouble' , 'double' )
-MiscTypes.OutPort( 'OutObjRef' , 'SuperVisionTest::Addre' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetComment( 'Empty InLine Node' )
-MiscTypes.Coords( 477 , 231 )
-
-# Creation of Links
-BoolCheckOutBool = BoolCheck.Port( 'OutBool' )
-MiscTypesInBool = GraphEmptyInLinesConvertCheck.Link( BoolCheckOutBool , MiscTypes.Port( 'InBool' ) )
-MiscTypesInBool.AddCoord( 1 , 446 , 341 )
-MiscTypesInBool.AddCoord( 2 , 446 , 172 )
-
-CharCheckOutChar = CharCheck.Port( 'OutChar' )
-MiscTypesInChar = GraphEmptyInLinesConvertCheck.Link( CharCheckOutChar , MiscTypes.Port( 'InChar' ) )
-MiscTypesInChar.AddCoord( 1 , 431 , 368 )
-MiscTypesInChar.AddCoord( 2 , 431 , 223 )
-
-ShortCheckOutShort = ShortCheck.Port( 'OutShort' )
-MiscTypesInShort = GraphEmptyInLinesConvertCheck.Link( ShortCheckOutShort , MiscTypes.Port( 'InShort' ) )
-MiscTypesInShort.AddCoord( 1 , 415 , 397 )
-MiscTypesInShort.AddCoord( 2 , 414 , 310 )
-
-FloatCheckOutFloat = FloatCheck.Port( 'OutFloat' )
-MiscTypesInFloat = GraphEmptyInLinesConvertCheck.Link( FloatCheckOutFloat , MiscTypes.Port( 'InFloat' ) )
-
-AdditionAdder = Addition.Port( 'Adder' )
-MiscTypesInObjRef = GraphEmptyInLinesConvertCheck.Link( AdditionAdder , MiscTypes.Port( 'InObjRef' ) )
-MiscTypesInObjRef.AddCoord( 1 , 462 , 514 )
-MiscTypesInObjRef.AddCoord( 2 , 461 , 593 )
-
-LongCheckOutLong = LongCheck.Port( 'OutLong' )
-MiscTypesInLong = GraphEmptyInLinesConvertCheck.Link( LongCheckOutLong , MiscTypes.Port( 'InLong' ) )
-MiscTypesInLong.AddCoord( 1 , 406 , 426 )
-MiscTypesInLong.AddCoord( 2 , 405 , 363 )
-
-StringCheckOutString = StringCheck.Port( 'OutString' )
-MiscTypesInString = GraphEmptyInLinesConvertCheck.Link( StringCheckOutString , MiscTypes.Port( 'InString' ) )
-MiscTypesInString.AddCoord( 1 , 462 , 312 )
-MiscTypesInString.AddCoord( 2 , 461 , 87 )
-
-DoubleCheckOutDouble = DoubleCheck.Port( 'OutDouble' )
-MiscTypesInDouble = GraphEmptyInLinesConvertCheck.Link( DoubleCheckOutDouble , MiscTypes.Port( 'InDouble' ) )
-MiscTypesInDouble.AddCoord( 1 , 445 , 485 )
-MiscTypesInDouble.AddCoord( 2 , 445 , 508 )
-
-# Creation of Input datas
-BoolCheckInBool = BoolCheck.Input( 'InBool' , 1)
-CharCheckInChar = CharCheck.Input( 'InChar' , 255)
-ShortCheckInShort = ShortCheck.Input( 'InShort' , 16383)
-FloatCheckInFloat = FloatCheck.Input( 'InFloat' , 3.14159)
-LongCheckInLong = LongCheck.Input( 'InLong' , 1234567890)
-StringCheckInString = StringCheck.Input( 'InString' , 'aString')
-DoubleCheckInDouble = DoubleCheck.Input( 'InDouble' , 1.23457)
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphEmptyInLinesConvertCheck.Run()
-GraphEmptyInLinesConvertCheck.DoneW()
-GraphEmptyInLinesConvertCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-from SuperV import *
-
-import sys
-
-GraphErrMsgs = Graph( "GraphErrMsgs" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/SyrStruct.xml'
-
-GraphErrMsgs.Import( anXmlFile )
-
-exec GraphErrMsgs.ListNodes( 'GraphErrMsgs' )
-# ==> m3,m3incr,incra,div2,incrb,SyrComponent,forN,whileNotOne,fori,whileEven,EndOfforN,EndOfwhileNotOne,EndOffori,EndOfwhileEven,ifNotEven,EndOfifNotEven
-
-exec ifNotEven.ListPorts()
-# ==> IifNotEvenSyrComponent,IifNotEvenN,IifNotEvenK,IifNotEvenGate,OifNotEvenOdd,OifNotEvenEven,OifNotEvenSyrComponent,OifNotEvenN,OifNotEvenK,OifNotEvenDefault
-
-exec EndOfifNotEven.ListPorts()
-# ==> IEndOfifNotEvenN,IEndOfifNotEvenK,IEndOfifNotEvenDefault,OEndOfifNotEvenN,OEndOfifNotEvenK,OEndOfifNotEvenGate
-
-aLink = GraphErrMsgs.Link( OifNotEvenEven , IEndOfifNotEvenN )
-if aLink != None :
- print "Error link from OifNotEvenEven to IEndOfifNotEvenN was created"
- print "GraphErrMsgs test failed"
- sys.exit(1)
-
-exec EndOfwhileEven.ListPorts()
-# ==> IEndOfwhileEvenSyrComponent,IEndOfwhileEvenN,IEndOfwhileEvenK,IEndOfwhileEvenGate,OEndOfwhileEvenSyrComponent,OEndOfwhileEvenN,OEndOfwhileEvenK,OEndOfwhileEvenGate
-
-exec EndOffori.ListPorts()
-# ==> IEndOfforii,IEndOfforiK,IEndOfforiGate,OEndOfforii,OEndOfforiK,OEndOfforiGate
-
-aLink = GraphErrMsgs.Link( OEndOfwhileEvenK , IEndOfifNotEvenK )
-aLink.destroy()
-
-aLink = GraphErrMsgs.Link( OEndOfforiK , IEndOfifNotEvenK )
-aLink.destroy()
-
-aLink = GraphErrMsgs.Link( OifNotEvenN , IEndOfifNotEvenK )
-if aLink == None :
- print "Error link from OifNotEvenN to IEndOfifNotEvenK was not created"
- print "GraphErrMsgs test failed"
- sys.exit(1)
-
-exec whileEven.ListPorts()
-# ==>IwhileEvenSyrComponent,IwhileEvenN,IwhileEvenK,IwhileEvenGate,OwhileEvenSyrComponent,OwhileEvenN,OwhileEvenK,OwhileEvenGate
-
-aLink = GraphErrMsgs.Link( OifNotEvenK , IwhileEvenK )
-aLink.destroy()
-
-aLink = GraphErrMsgs.Link( OifNotEvenOdd , IwhileEvenK )
-if aLink != None :
- print "Error link from OifNotEvenOdd to IwhileEvenK was created"
- print "GraphErrMsgs test failed"
- sys.exit(1)
-
-aLink = GraphErrMsgs.Link( OifNotEvenDefault , IwhileEvenK )
-if aLink != None :
- print "Error link from OifNotEvenDefault to IwhileEvenK was created"
- print "GraphErrMsgs test failed"
- sys.exit(1)
-
-exec div2.ListPorts()
-# ==> Idiv2anEvenInteger,Idiv2Gate,Odiv2anInteger,Odiv2Gate
-
-aLink = GraphErrMsgs.Link( OwhileEvenN , Idiv2Gate )
-if aLink != None :
- print "Error link from OwhileEvenN to Idiv2Gate was created"
- print "GraphErrMsgs test failed"
- sys.exit(1)
-
-print "GraphErrMsgs Errors Messages :"
-print GraphErrMsgs.Messages()
-
-RunOk = GraphErrMsgs.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphErrMsgs test failed"
- sys.exit(1)
-
-GraphErrMsgs.DoneW()
-
-print "GraphErrMsgs Errors Messages :"
-print GraphErrMsgs.Messages()
-
-
-from SuperV import *
-
-# GraphBadInputInLoop
-GraphBadInputInLoop = Graph( "GraphBadInputInLoop" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphBadInputInLoop.xml'
-
-GraphBadInputInLoop.Import( anXmlFile )
-
-RunOk = GraphBadInputInLoop.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphBadInputInLoop test failed"
- sys.exit(1)
-
-GraphBadInputInLoop.DoneW()
-
-print "GraphBadInputInLoop Errors Messages :"
-print GraphBadInputInLoop.Messages()
-
-
-
-from SuperV import *
-
-# GraphBadInputInLoop1
-GraphBadInputInLoop1 = Graph( "GraphBadInputInLoop1" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphBadInputInLoop1.xml'
-
-GraphBadInputInLoop1.Import( anXmlFile )
-
-RunOk = GraphBadInputInLoop1.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphBadInputInLoop1 test failed"
- sys.exit(1)
-
-GraphBadInputInLoop1.DoneW()
-
-print "GraphBadInputInLoop1 Errors Messages :"
-print GraphBadInputInLoop1.Messages()
-
-
-
-from SuperV import *
-
-# GraphBadInputInLoop2
-GraphBadInputInLoop2 = Graph( "GraphBadInputInLoop2" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphBadInputInLoop2.xml'
-
-GraphBadInputInLoop2.Import( anXmlFile )
-
-RunOk = GraphBadInputInLoop2.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphBadInputInLoop2 test failed"
- sys.exit(1)
-
-GraphBadInputInLoop2.DoneW()
-
-print "GraphBadInputInLoop2 Errors Messages :"
-print GraphBadInputInLoop2.Messages()
-
-
-
-from SuperV import *
-
-# GraphBadInputInLoop3
-GraphBadInputInLoop3 = Graph( "GraphBadInputInLoop3" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphBadInputInLoop3.xml'
-
-GraphBadInputInLoop3.Import( anXmlFile )
-
-RunOk = GraphBadInputInLoop3.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphBadInputInLoop3 test failed"
- sys.exit(1)
-
-GraphBadInputInLoop3.DoneW()
-
-print "GraphBadInputInLoop3 Errors Messages :"
-print GraphBadInputInLoop3.Messages()
-
-
-
-from SuperV import *
-
-# GraphBadOutputOfLoop
-GraphBadOutputOfLoop = Graph( "GraphBadOutputOfLoop" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphBadOutputOfLoop.xml'
-
-GraphBadOutputOfLoop.Import( anXmlFile )
-
-RunOk = GraphBadOutputOfLoop.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphBadOutputOfLoop test failed"
- sys.exit(1)
-
-GraphBadOutputOfLoop.DoneW()
-
-print "GraphBadOutputOfLoop Errors Messages :"
-print GraphBadOutputOfLoop.Messages()
-
-
-
-from SuperV import *
-
-# GraphBadOutputOfLoop1
-GraphBadOutputOfLoop1 = Graph( "GraphBadOutputOfLoop1" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphBadOutputOfLoop1.xml'
-
-GraphBadOutputOfLoop1.Import( anXmlFile )
-
-RunOk = GraphBadOutputOfLoop1.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphBadOutputOfLoop1 test failed"
- sys.exit(1)
-
-GraphBadOutputOfLoop1.DoneW()
-
-print "GraphBadOutputOfLoop1 Errors Messages :"
-print GraphBadOutputOfLoop1.Messages()
-
-
-
-from SuperV import *
-
-# GraphBadOutputOfLoop2
-GraphBadOutputOfLoop2 = Graph( "GraphBadOutputOfLoop2" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphBadOutputOfLoop2.xml'
-
-GraphBadOutputOfLoop2.Import( anXmlFile )
-
-RunOk = GraphBadOutputOfLoop2.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphBadOutputOfLoop2 test failed"
- sys.exit(1)
-
-GraphBadOutputOfLoop2.DoneW()
-
-print "GraphBadOutputOfLoop2 Errors Messages :"
-print GraphBadOutputOfLoop2.Messages()
-
-
-
-from SuperV import *
-
-# GraphConvertObjRefCheckNotCompatible
-GraphConvertObjRefCheckNotCompatible = Graph( "GraphConvertObjRefCheckNotCompatible" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphConvertObjRefCheckNotCompatible.xml'
-
-GraphConvertObjRefCheckNotCompatible.Import( anXmlFile )
-
-RunOk = GraphConvertObjRefCheckNotCompatible.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphConvertObjRefCheckNotCompatible test failed"
- sys.exit(1)
-
-GraphConvertObjRefCheckNotCompatible.DoneW()
-
-print "GraphConvertObjRefCheckNotCompatible Errors Messages :"
-print GraphConvertObjRefCheckNotCompatible.Messages()
-
-
-
-
-from SuperV import *
-
-# GraphWrongPythonFunctions
-GraphWrongPythonFunctions = Graph( "GraphWrongPythonFunctions" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphWrongPythonFunctions.xml'
-
-GraphWrongPythonFunctions.Import( anXmlFile )
-
-RunOk = GraphWrongPythonFunctions.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphWrongPythonFunctions test failed"
- sys.exit(1)
-
-GraphWrongPythonFunctions.DoneW()
-
-print "GraphWrongPythonFunctions Errors Messages :"
-print GraphWrongPythonFunctions.Messages()
-
-
-
-from SuperV import *
-
-# GraphWrongContainerOrComponent
-GraphWrongContainerOrComponent = Graph( "GraphWrongContainerOrComponent" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphWrongContainerOrComponent.xml'
-
-GraphWrongContainerOrComponent.Import( anXmlFile )
-
-RunOk = GraphWrongContainerOrComponent.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphWrongContainerOrComponent test failed"
- sys.exit(1)
-
-GraphWrongContainerOrComponent.DoneW()
-
-print "GraphWrongContainerOrComponent Errors Messages :"
-print GraphWrongContainerOrComponent.Messages()
-
-
-
-from SuperV import *
-
-# GraphLoopSwitchDefaultAborted
-GraphLoopSwitchDefaultAborted = Graph( "GraphLoopSwitchDefaultAborted" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchDefaultAborted.xml'
-
-GraphLoopSwitchDefaultAborted.Import( anXmlFile )
-
-RunOk = GraphLoopSwitchDefaultAborted.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphLoopSwitchDefaultAborted test failed"
- sys.exit(1)
-
-GraphLoopSwitchDefaultAborted.DoneW()
-
-print "GraphLoopSwitchDefaultAborted Errors Messages :"
-print GraphLoopSwitchDefaultAborted.Messages()
-
-
-
-from SuperV import *
-
-# GraphLoopSwitchOfSwitchAborted
-GraphLoopSwitchOfSwitchAborted = Graph( "GraphLoopSwitchOfSwitchAborted" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchOfSwitchAborted.xml'
-
-GraphLoopSwitchOfSwitchAborted.Import( anXmlFile )
-
-RunOk = GraphLoopSwitchOfSwitchAborted.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphLoopSwitchOfSwitchAborted test failed"
- sys.exit(1)
-
-GraphLoopSwitchOfSwitchAborted.DoneW()
-
-print "GraphLoopSwitchOfSwitchAborted Errors Messages :"
-print GraphLoopSwitchOfSwitchAborted.Messages()
-
-
-
-from SuperV import *
-
-# GraphLoopSwitchOfSwitchNOTValid
-GraphLoopSwitchOfSwitchNOTValid = Graph( "GraphLoopSwitchOfSwitchNOTValid" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchOfSwitchNOTValid.xml'
-
-GraphLoopSwitchOfSwitchNOTValid.Import( anXmlFile )
-
-RunOk = GraphLoopSwitchOfSwitchNOTValid.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphLoopSwitchOfSwitchNOTValid test failed"
- sys.exit(1)
-
-GraphLoopSwitchOfSwitchNOTValid.DoneW()
-
-print "GraphLoopSwitchOfSwitchNOTValid Errors Messages :"
-print GraphLoopSwitchOfSwitchNOTValid.Messages()
-
-
-from SuperV import *
-
-# GraphLoopSwitchsAborted
-GraphLoopSwitchsAborted = Graph( "GraphLoopSwitchsAborted" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchsAborted.xml'
-
-GraphLoopSwitchsAborted.Import( anXmlFile )
-
-RunOk = GraphLoopSwitchsAborted.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphLoopSwitchsAborted test failed"
- sys.exit(1)
-
-GraphLoopSwitchsAborted.DoneW()
-
-print "GraphLoopSwitchsAborted Errors Messages :"
-print GraphLoopSwitchsAborted.Messages()
-
-
-
-from SuperV import *
-
-# GraphLoopSwitchsBranchesDefaultAborted
-GraphLoopSwitchsBranchesDefaultAborted = Graph( "GraphLoopSwitchsBranchesDefaultAborted" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchsBranchesDefaultAborted.xml'
-
-GraphLoopSwitchsBranchesDefaultAborted.Import( anXmlFile )
-
-RunOk = GraphLoopSwitchsBranchesDefaultAborted.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphLoopSwitchsBranchesDefaultAborted test failed"
- sys.exit(1)
-
-GraphLoopSwitchsBranchesDefaultAborted.DoneW()
-
-print "GraphLoopSwitchsBranchesDefaultAborted Errors Messages :"
-print GraphLoopSwitchsBranchesDefaultAborted.Messages()
-
-
-
-from SuperV import *
-
-# GraphLoopSwitchsNOTValid
-GraphLoopSwitchsNOTValid = Graph( "GraphLoopSwitchsNOTValid" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchsNOTValid.xml'
-
-GraphLoopSwitchsNOTValid.Import( anXmlFile )
-
-RunOk = GraphLoopSwitchsNOTValid.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphLoopSwitchsNOTValid test failed"
- sys.exit(1)
-
-GraphLoopSwitchsNOTValid.DoneW()
-
-print "GraphLoopSwitchsNOTValid Errors Messages :"
-print GraphLoopSwitchsNOTValid.Messages()
-
-
-from SuperV import *
-
-# GraphSwitchCheckBranch2NOTValid
-GraphSwitchCheckBranch2NOTValid = Graph( "GraphSwitchCheckBranch2NOTValid" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckBranch2NOTValid.xml'
-
-GraphSwitchCheckBranch2NOTValid.Import( anXmlFile )
-
-RunOk = GraphSwitchCheckBranch2NOTValid.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchCheckBranch2NOTValid test failed"
- sys.exit(1)
-
-GraphSwitchCheckBranch2NOTValid.DoneW()
-
-print "GraphSwitchCheckBranch2NOTValid Errors Messages :"
-print GraphSwitchCheckBranch2NOTValid.Messages()
-
-
-from SuperV import *
-
-# GraphSwitchCheckDefault1NOTValid
-GraphSwitchCheckDefault1NOTValid = Graph( "GraphSwitchCheckDefault1NOTValid" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault1NOTValid.xml'
-
-GraphSwitchCheckDefault1NOTValid.Import( anXmlFile )
-
-RunOk = GraphSwitchCheckDefault1NOTValid.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchCheckDefault1NOTValid test failed"
- sys.exit(1)
-
-GraphSwitchCheckDefault1NOTValid.DoneW()
-
-print "GraphSwitchCheckDefault1NOTValid Errors Messages :"
-print GraphSwitchCheckDefault1NOTValid.Messages()
-
-
-from SuperV import *
-
-# GraphSwitchCheckDefault2NOTValid
-GraphSwitchCheckDefault2NOTValid = Graph( "GraphSwitchCheckDefault2NOTValid" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault2NOTValid.xml'
-
-GraphSwitchCheckDefault2NOTValid.Import( anXmlFile )
-
-RunOk = GraphSwitchCheckDefault2NOTValid.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchCheckDefault2NOTValid test failed"
- sys.exit(1)
-
-GraphSwitchCheckDefault2NOTValid.DoneW()
-
-print "GraphSwitchCheckDefault2NOTValid Errors Messages :"
-print GraphSwitchCheckDefault2NOTValid.Messages()
-
-
-from SuperV import *
-
-# GraphSwitchCheckDefault2NOTValid1
-GraphSwitchCheckDefault2NOTValid1 = Graph( "GraphSwitchCheckDefault2NOTValid1" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault2NOTValid1.xml'
-
-GraphSwitchCheckDefault2NOTValid1.Import( anXmlFile )
-
-RunOk = GraphSwitchCheckDefault2NOTValid1.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchCheckDefault2NOTValid1 test failed"
- sys.exit(1)
-
-GraphSwitchCheckDefault2NOTValid1.DoneW()
-
-print "GraphSwitchCheckDefault2NOTValid1 Errors Messages :"
-print GraphSwitchCheckDefault2NOTValid1.Messages()
-
-
-from SuperV import *
-
-# GraphSwitchCheckDefault2NOTValid2
-GraphSwitchCheckDefault2NOTValid2 = Graph( "GraphSwitchCheckDefault2NOTValid2" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault2NOTValid2.xml'
-
-GraphSwitchCheckDefault2NOTValid2.Import( anXmlFile )
-
-RunOk = GraphSwitchCheckDefault2NOTValid2.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchCheckDefault2NOTValid2 test failed"
- sys.exit(1)
-
-GraphSwitchCheckDefault2NOTValid2.DoneW()
-
-print "GraphSwitchCheckDefault2NOTValid2 Errors Messages :"
-print GraphSwitchCheckDefault2NOTValid2.Messages()
-
-
-from SuperV import *
-
-# GraphSwitchCrash
-GraphSwitchCrash = Graph( "GraphSwitchCrash" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCrash.xml'
-
-GraphSwitchCrash.Import( anXmlFile )
-
-RunOk = GraphSwitchCrash.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphSwitchCrash test failed"
- sys.exit(1)
-
-GraphSwitchCrash.DoneW()
-
-print "GraphSwitchCrash Errors Messages :"
-print GraphSwitchCrash.Messages()
-
-
-from SuperV import *
-
-# GraphSwitchErrExec
-GraphSwitchErrExec = Graph( "GraphSwitchErrExec" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchErrExec.xml'
-
-GraphSwitchErrExec.Import( anXmlFile )
-
-RunOk = GraphSwitchErrExec.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphSwitchErrExec test failed"
- sys.exit(1)
-
-GraphSwitchErrExec.DoneW()
-
-print "GraphSwitchErrExec Errors Messages :"
-print GraphSwitchErrExec.Messages()
-
-
-from SuperV import *
-
-# GraphSwitchGatesNoDefaultAborted
-GraphSwitchGatesNoDefaultAborted = Graph( "GraphSwitchGatesNoDefaultAborted" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchGatesNoDefaultAborted.xml'
-
-GraphSwitchGatesNoDefaultAborted.Import( anXmlFile )
-
-RunOk = GraphSwitchGatesNoDefaultAborted.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphSwitchGatesNoDefaultAborted test failed"
- sys.exit(1)
-
-GraphSwitchGatesNoDefaultAborted.DoneW()
-
-print "GraphSwitchGatesNoDefaultAborted Errors Messages :"
-print GraphSwitchGatesNoDefaultAborted.Messages()
-
-
-from SuperV import *
-
-# GraphSwitchOutputNOTValid
-GraphSwitchOutputNOTValid = Graph( "GraphSwitchOutputNOTValid" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchOutputNOTValid.xml'
-
-GraphSwitchOutputNOTValid.Import( anXmlFile )
-
-RunOk = GraphSwitchOutputNOTValid.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchOutputNOTValid test failed"
- sys.exit(1)
-
-GraphSwitchOutputNOTValid.DoneW()
-
-print "GraphSwitchOutputNOTValid Errors Messages :"
-print GraphSwitchOutputNOTValid.Messages()
-
-
-from SuperV import *
-
-# GraphSyrControlAborted
-GraphSyrControlAborted = Graph( "GraphSyrControlAborted" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSyrControlAborted.xml'
-
-GraphSyrControlAborted.Import( anXmlFile )
-
-RunOk = GraphSyrControlAborted.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphSyrControlAborted test failed"
- sys.exit(1)
-
-GraphSyrControlAborted.DoneW()
-
-print "GraphSyrControlAborted Errors Messages :"
-print GraphSyrControlAborted.Messages()
-
-
-from SuperV import *
-
-# GraphSyrControlAve
-GraphSyrControlAve = Graph( "GraphSyrControlAve" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSyrControlAve.xml'
-
-GraphSyrControlAve.Import( anXmlFile )
-
-RunOk = GraphSyrControlAve.Run()
-if RunOk == 0 :
- print "Error : Success call to Run"
- print "GraphSyrControlAve test failed"
- sys.exit(1)
-
-GraphSyrControlAve.DoneW()
-
-State = GraphSyrControlAve.State()
-if State != SUPERV.DoneState:
- Messages = GraphSyrControlAve.Messages()
- print "Error GraphSyrControlAve has Messages :"
- print Messages
- sys.exit(1)
-
-
-from SuperV import *
-
-# GraphSyrControlAveValid
-GraphSyrControlAveValid = Graph( "GraphSyrControlAveValid" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSyrControlAveValid.xml'
-
-GraphSyrControlAveValid.Import( anXmlFile )
-
-RunOk = GraphSyrControlAveValid.Run()
-if RunOk == 0 :
- print "Error : Success call to Run"
- print "GraphSyrControlAveValid test failed"
- sys.exit(1)
-
-GraphSyrControlAveValid.DoneW()
-
-Messages = GraphSyrControlAveValid.Messages()
-State = GraphSyrControlAveValid.State()
-if State != SUPERV.DoneState:
- print "Error GraphSyrControlAveValid has Messages :"
- print Messages
- sys.exit(1)
-
-
-from SuperV import *
-
-# GraphSyrControlAveExecutable
-GraphSyrControlAveExecutable = Graph( "GraphSyrControlAveExecutable" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSyrControlAveExecutable.xml'
-
-GraphSyrControlAveExecutable.Import( anXmlFile )
-
-RunOk = GraphSyrControlAveExecutable.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphSyrControlAveExecutable test failed"
- sys.exit(1)
-
-GraphSyrControlAveExecutable.DoneW()
-
-State = GraphSyrControlAveExecutable.State()
-if State != SUPERV.DoneState:
- Messages = GraphSyrControlAveExecutable.Messages()
- print "Error GraphSyrControlAveExecutable has Messages :"
- print Messages
- sys.exit(1)
-
-
-from SuperV import *
-
-# GraphSyrControlAveNOTValid
-GraphSyrControlAveNOTValid = Graph( "GraphSyrControlAveNOTValid" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSyrControlAveNOTValid.xml'
-
-GraphSyrControlAveNOTValid.Import( anXmlFile )
-
-RunOk = GraphSyrControlAveNOTValid.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSyrControlAveNOTValid test failed"
- sys.exit(1)
-
-GraphSyrControlAveNOTValid.DoneW()
-
-print "GraphSyrControlAveNOTValid Errors Messages :"
-print GraphSyrControlAveNOTValid.Messages()
-
-
-from SuperV import *
-
-# GraphSyrControlAveNOTValid1
-GraphSyrControlAveNOTValid1 = Graph( "GraphSyrControlAveNOTValid1" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSyrControlAveNOTValid1.xml'
-
-GraphSyrControlAveNOTValid1.Import( anXmlFile )
-
-RunOk = GraphSyrControlAveNOTValid1.Run()
-if RunOk != 0 :
- print "Error : UnSuccess call to Run"
- print "GraphSyrControlAveNOTValid1 test failed"
- sys.exit(1)
-
-GraphSyrControlAveNOTValid1.DoneW()
-
-print "GraphSyrControlAveNOTValid1 Errors Messages :"
-print GraphSyrControlAveNOTValid1.Messages()
-
-
-
-from SuperV import *
-
-# GraphSwitch
-GraphSwitch = Graph( "GraphSwitch" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitch.xml'
-
-GraphSwitch.Import( anXmlFile )
-
-RunOk = GraphSwitch.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphSwitch test failed"
- sys.exit(1)
-
-GraphSwitch.DoneW()
-
-Messages = GraphSwitch.Messages()
-if Messages != "" :
- print "Error GraphSwitch has Messages :"
- print Messages
- sys.exit(1)
-
-
-from SuperV import *
-
-# GraphSwitchExecutable
-GraphSwitchExecutable = Graph( "GraphSwitchExecutable" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchExecutable.xml'
-
-GraphSwitchExecutable.Import( anXmlFile )
-
-RunOk = GraphSwitchExecutable.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphSwitchExecutable test failed"
- sys.exit(1)
-
-GraphSwitchExecutable.DoneW()
-
-Messages = GraphSwitchExecutable.Messages()
-if Messages != "" :
- print "Error GraphSwitchExecutable has Messages :"
- print Messages
- sys.exit(1)
-
-
-from SuperV import *
-
-# GraphSwitchNOTExecutable
-GraphSwitchNOTExecutable = Graph( "GraphSwitchNOTExecutable" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchNOTExecutable.xml'
-
-GraphSwitchNOTExecutable.Import( anXmlFile )
-
-RunOk = GraphSwitchNOTExecutable.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchNOTExecutable test failed"
- sys.exit(1)
-
-GraphSwitchNOTExecutable.DoneW()
-
-print "GraphSwitchNOTExecutable Errors Messages :"
-print GraphSwitchNOTExecutable.Messages()
-
-
-from SuperV import *
-
-# GraphSwitchNOTExecutable1
-GraphSwitchNOTExecutable1 = Graph( "GraphSwitchNOTExecutable1" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchNOTExecutable1.xml'
-
-GraphSwitchNOTExecutable1.Import( anXmlFile )
-
-RunOk = GraphSwitchNOTExecutable1.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchNOTExecutable1 test failed"
- sys.exit(1)
-
-GraphSwitchNOTExecutable1.DoneW()
-
-print "GraphSwitchNOTExecutable1 Errors Messages :"
-print GraphSwitchNOTExecutable1.Messages()
-
-
-
-from SuperV import *
-
-# GraphSwitchNOTExecutable2
-GraphSwitchNOTExecutable2 = Graph( "GraphSwitchNOTExecutable2" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchNOTExecutable2.xml'
-
-GraphSwitchNOTExecutable2.Import( anXmlFile )
-
-RunOk = GraphSwitchNOTExecutable2.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchNOTExecutable2 test failed"
- sys.exit(1)
-
-GraphSwitchNOTExecutable2.DoneW()
-
-print "GraphSwitchNOTExecutable2 Errors Messages :"
-print GraphSwitchNOTExecutable2.Messages()
-
-
-
-from SuperV import *
-
-# GraphSwitchBranchGates
-GraphSwitchBranchGates = Graph( "GraphSwitchBranchGates" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchBranchGates.xml'
-
-GraphSwitchBranchGates.Import( anXmlFile )
-
-RunOk = GraphSwitchBranchGates.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphSwitchBranchGates test failed"
- sys.exit(1)
-
-GraphSwitchBranchGates.DoneW()
-
-Messages = GraphSwitchBranchGates.Messages()
-if Messages != "" :
- print "Error GraphSwitchBranchGates has Messages :"
- print Messages
- sys.exit(1)
-
-
-from SuperV import *
-
-# GraphInLinesUnValid
-GraphInLinesUnValid = Graph( "GraphInLinesUnValid" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphInLinesUnValid.xml'
-
-GraphInLinesUnValid.Import( anXmlFile )
-
-RunOk = GraphInLinesUnValid.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphInLinesUnValid test failed"
- sys.exit(1)
-
-GraphInLinesUnValid.DoneW()
-
-print "GraphInLinesUnValid Errors Messages :"
-print GraphInLinesUnValid.Messages()
-
-
-
-from SuperV import *
-
-# GraphSwitchCheckBranch2NOTValid
-GraphSwitchCheckBranch2NOTValid = Graph( "GraphSwitchCheckBranch2NOTValid" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckBranch2NOTValid.xml'
-
-GraphSwitchCheckBranch2NOTValid.Import( anXmlFile )
-
-RunOk = GraphSwitchCheckBranch2NOTValid.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchCheckBranch2NOTValid test failed"
- sys.exit(1)
-
-GraphSwitchCheckBranch2NOTValid.DoneW()
-
-print "GraphSwitchCheckBranch2NOTValid Errors Messages :"
-print GraphSwitchCheckBranch2NOTValid.Messages()
-
-
-
-from SuperV import *
-
-# GraphSwitchCheckDefault1NOTValid
-GraphSwitchCheckDefault1NOTValid = Graph( "GraphSwitchCheckDefault1NOTValid" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault1NOTValid.xml'
-
-GraphSwitchCheckDefault1NOTValid.Import( anXmlFile )
-
-RunOk = GraphSwitchCheckDefault1NOTValid.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchCheckDefault1NOTValid test failed"
- sys.exit(1)
-
-GraphSwitchCheckDefault1NOTValid.DoneW()
-
-print "GraphSwitchCheckDefault1NOTValid Errors Messages :"
-print GraphSwitchCheckDefault1NOTValid.Messages()
-
-
-from SuperV import *
-
-# GraphSwitchCheckDefault2NOTValid
-GraphSwitchCheckDefault2NOTValid = Graph( "GraphSwitchCheckDefault2NOTValid" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault2NOTValid.xml'
-
-GraphSwitchCheckDefault2NOTValid.Import( anXmlFile )
-
-RunOk = GraphSwitchCheckDefault2NOTValid.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchCheckDefault2NOTValid test failed"
- sys.exit(1)
-
-GraphSwitchCheckDefault2NOTValid.DoneW()
-
-print "GraphSwitchCheckDefault2NOTValid Errors Messages :"
-print GraphSwitchCheckDefault2NOTValid.Messages()
-
-
-
-
-from SuperV import *
-
-# GraphSwitchCheckDefault2NOTValid1
-GraphSwitchCheckDefault2NOTValid1 = Graph( "GraphSwitchCheckDefault2NOTValid1" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault2NOTValid1.xml'
-
-GraphSwitchCheckDefault2NOTValid1.Import( anXmlFile )
-
-RunOk = GraphSwitchCheckDefault2NOTValid1.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchCheckDefault2NOTValid1 test failed"
- sys.exit(1)
-
-GraphSwitchCheckDefault2NOTValid1.DoneW()
-
-print "GraphSwitchCheckDefault2NOTValid1 Errors Messages :"
-print GraphSwitchCheckDefault2NOTValid1.Messages()
-
-
-
-from SuperV import *
-
-# GraphSwitchCheckDefault2NOTValid2
-GraphSwitchCheckDefault2NOTValid2 = Graph( "GraphSwitchCheckDefault2NOTValid2" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault2NOTValid2.xml'
-
-GraphSwitchCheckDefault2NOTValid2.Import( anXmlFile )
-
-RunOk = GraphSwitchCheckDefault2NOTValid2.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchCheckDefault2NOTValid2 test failed"
- sys.exit(1)
-
-GraphSwitchCheckDefault2NOTValid2.DoneW()
-
-print "GraphSwitchCheckDefault2NOTValid2 Errors Messages :"
-print GraphSwitchCheckDefault2NOTValid2.Messages()
-
-
-from SuperV import *
-
-# GraphLoopsCoupled
-GraphLoopsCoupled = Graph( "GraphLoopsCoupled" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopsCoupled.xml'
-
-GraphLoopsCoupled.Import( anXmlFile )
-
-RunOk = GraphLoopsCoupled.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphLoopsCoupled test failed"
- sys.exit(1)
-
-GraphLoopsCoupled.DoneW()
-
-print "GraphLoopsCoupled Errors Messages :"
-print GraphLoopsCoupled.Messages()
-
-
-from SuperV import *
-
-# GraphLoopGates
-GraphLoopGates = Graph( "GraphLoopGates" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopGates.xml'
-
-GraphLoopGates.Import( anXmlFile )
-
-RunOk = GraphLoopGates.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphLoopGates test failed"
- sys.exit(1)
-
-GraphLoopGates.DoneW()
-
-Messages = GraphSwitchBranchGates.Messages()
-if Messages != "" :
- print "Error GraphSwitchBranchGates has Messages :"
- print Messages
- sys.exit(1)
-
-
-
-from SuperV import *
-
-# GraphLoopGatesNOTValid
-GraphLoopGatesNOTValid = Graph( "GraphLoopGatesNOTValid" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopGatesNOTValid.xml'
-
-GraphLoopGatesNOTValid.Import( anXmlFile )
-
-RunOk = GraphLoopGatesNOTValid.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphLoopGatesNOTValid test failed"
- sys.exit(1)
-
-GraphLoopGatesNOTValid.DoneW()
-
-print "GraphLoopGatesNOTValid Errors Messages :"
-print GraphLoopGatesNOTValid.Messages()
-
-
-from SuperV import *
-
-# GraphSwitchManyCases
-GraphSwitchManyCases = Graph( "GraphSwitchManyCases" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchManyCases.xml'
-
-GraphSwitchManyCases.Import( anXmlFile )
-
-RunOk = GraphSwitchManyCases.Run()
-if RunOk == 0:
- print "Error : UnSuccess call to Run"
- print "GraphSwitchManyCases test failed"
- sys.exit(1)
-
-GraphSwitchManyCases.DoneW()
-
-print "GraphSwitchManyCases Errors Messages :"
-print GraphSwitchManyCases.Messages()
-
-
-
-from SuperV import *
-
-# GraphLoopTwoBranches
-GraphLoopTwoBranches = Graph( "GraphLoopTwoBranches" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopTwoBranches.xml'
-
-GraphLoopTwoBranches.Import( anXmlFile )
-
-RunOk = GraphLoopTwoBranches.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphLoopTwoBranches test failed"
- sys.exit(1)
-
-GraphLoopTwoBranches.DoneW()
-
-print "GraphLoopTwoBranches Errors Messages :"
-print GraphLoopTwoBranches.Messages()
-
-
-
-from SuperV import *
-
-# GraphSwitchOutputNOTValid
-GraphSwitchOutputNOTValid = Graph( "GraphSwitchOutputNOTValid" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchOutputNOTValid.xml'
-
-GraphSwitchOutputNOTValid.Import( anXmlFile )
-
-RunOk = GraphSwitchOutputNOTValid.Run()
-if RunOk != 0 :
- print "Error : Success call to Run"
- print "GraphSwitchOutputNOTValid test failed"
- sys.exit(1)
-
-GraphSwitchOutputNOTValid.DoneW()
-
-print "GraphSwitchOutputNOTValid Errors Messages :"
-print GraphSwitchOutputNOTValid.Messages()
-
-
-
-from SuperV import *
-
-# GraphLoopSwitch
-GraphLoopSwitch = Graph( "GraphLoopSwitch" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitch.xml'
-
-GraphLoopSwitch.Import( anXmlFile )
-
-RunOk = GraphLoopSwitch.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphLoopSwitch test failed"
- sys.exit(1)
-
-GraphLoopSwitch.DoneW()
-
-Messages = GraphLoopSwitch.Messages()
-if Messages != "" :
- print "Error GraphLoopSwitch has Messages :"
- print Messages
- sys.exit(1)
-
-
-
-from SuperV import *
-
-# GraphLoopSwitchGateDefault
-GraphLoopSwitchGateDefault = Graph( "GraphLoopSwitchGateDefault" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchGateDefault.xml'
-
-GraphLoopSwitchGateDefault.Import( anXmlFile )
-
-RunOk = GraphLoopSwitchGateDefault.Run()
-if RunOk == 0 :
- print "Error : UnSuccess call to Run"
- print "GraphLoopSwitchGateDefault test failed"
- sys.exit(1)
-
-GraphLoopSwitchGateDefault.DoneW()
-
-Messages = GraphLoopSwitchGateDefault.Messages()
-if Messages != "" :
- print "Error GraphLoopSwitchGateDefault has Messages :"
- print Messages
- sys.exit(1)
-
-
-from SuperV import *
-
-# GraphLoopSwitchGatesDefault
-GraphLoopSwitchGatesDefault = Graph( "GraphLoopSwitchGatesDefault" )
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchGatesDefault.xml'
-
-GraphLoopSwitchGatesDefault.Import( anXmlFile )
-
-RunOk = GraphLoopSwitchGatesDefault.Run()
-if RunOk == 1 :
- print "Error : Success call to Run"
- print "GraphLoopSwitchGatesDefault test failed"
- sys.exit(1)
-
-GraphLoopSwitchGatesDefault.DoneW()
-
-print "GraphLoopSwitchGatesDefault Errors Messages :"
-print GraphLoopSwitchGatesDefault.Messages()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEssai
-#
-from SuperV import *
-# Graph creation
-GraphEssai = Graph( 'GraphEssai' )
-GraphEssai.SetName( 'GraphEssai' )
-GraphEssai.SetAuthor( '' )
-GraphEssai.SetComment( '' )
-GraphEssai.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-Add = GraphEssai.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetContainer( 'FactoryServer' )
-Add.SetComment( 'Add from AddComponent' )
-Add.Coords( 15 , 241 )
-
-Sub = GraphEssai.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
-Sub.SetName( 'Sub' )
-Sub.SetAuthor( '' )
-Sub.SetContainer( 'FactoryServer' )
-Sub.SetComment( 'Sub from SubComponent' )
-Sub.Coords( 227 , 96 )
-
-Mul = GraphEssai.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
-Mul.SetName( 'Mul' )
-Mul.SetAuthor( '' )
-Mul.SetContainer( 'FactoryServer' )
-Mul.SetComment( 'Mul from MulComponent' )
-Mul.Coords( 435 , 242 )
-
-Div = GraphEssai.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
-Div.SetName( 'Div' )
-Div.SetAuthor( '' )
-Div.SetContainer( 'FactoryServer' )
-Div.SetComment( 'Div from DivComponent' )
-Div.Coords( 634 , 97 )
-
-# Creation of Links
-Addz = Add.Port( 'z' )
-Muly = GraphEssai.Link( Addz , Mul.Port( 'y' ) )
-
-Suby = GraphEssai.Link( Addz , Sub.Port( 'y' ) )
-Suby.AddCoord( 1 , 197 , 204 )
-Suby.AddCoord( 2 , 198 , 351 )
-
-Subz = Sub.Port( 'z' )
-Divx = GraphEssai.Link( Subz , Div.Port( 'x' ) )
-
-Mulx = GraphEssai.Link( Subz , Mul.Port( 'x' ) )
-Mulx.AddCoord( 1 , 411 , 323 )
-Mulx.AddCoord( 2 , 411 , 177 )
-
-Mulz = Mul.Port( 'z' )
-Divy = GraphEssai.Link( Mulz , Div.Port( 'y' ) )
-Divy.AddCoord( 1 , 612 , 207 )
-Divy.AddCoord( 2 , 612 , 322 )
-
-# Creation of Input datas
-Addx = Add.Input( 'x' , 3)
-Addy = Add.Input( 'y' , 4.5)
-Subx = Sub.Input( 'x' , 1.5)
-
-# Creation of Output variables
-AddFuncValue = Add.Port( 'FuncValue' )
-Divz = Div.Port( 'z' )
-
-Add.Print()
-Sub.Print()
-Mul.Print()
-Div.Print()
-
-GraphEssai.PrintPorts()
-
-nodes = GraphEssai.LevelNodes( 0 )
-i = 0
-while i < len( nodes ) :
- print 'Nodes of level 0',nodes[i].Name()
- i = i + 1
-
-GraphEssai.Run()
-
-GraphEssai.DoneW()
-
-GraphEssai.State()
-
-GraphEssai.PrintPorts()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEssai1
-#
-from SuperV import *
-# Graph creation
-GraphEssai1 = Graph( 'GraphEssai1' )
-GraphEssai1.SetName( 'GraphEssai1' )
-GraphEssai1.SetAuthor( '' )
-GraphEssai1.SetComment( '' )
-GraphEssai1.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-Add = GraphEssai1.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetContainer( 'localhost/FactoryServer' )
-Add.SetComment( 'Add from AddComponent' )
-Add.Coords( 16 , 262 )
-
-Sub = GraphEssai1.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
-Sub.SetName( 'Sub' )
-Sub.SetAuthor( '' )
-Sub.SetContainer( 'localhost/FactoryServer' )
-Sub.SetComment( 'Sub from SubComponent' )
-Sub.Coords( 219 , 54 )
-
-Mul = GraphEssai1.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
-Mul.SetName( 'Mul' )
-Mul.SetAuthor( '' )
-Mul.SetContainer( 'localhost/FactoryServer' )
-Mul.SetComment( 'Mul from MulComponent' )
-Mul.Coords( 419 , 262 )
-
-Div = GraphEssai1.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
-Div.SetName( 'Div' )
-Div.SetAuthor( '' )
-Div.SetContainer( 'localhost/FactoryServer' )
-Div.SetComment( 'Div from DivComponent' )
-Div.Coords( 623 , 55 )
-
-# Creation of Links
-Addz = Add.Port( 'z' )
-Subx = GraphEssai1.Link( Addz , Sub.Port( 'x' ) )
-Subx.AddCoord( 1 , 193 , 135 )
-Subx.AddCoord( 2 , 193 , 372 )
-
-Subz = Sub.Port( 'z' )
-Divx = GraphEssai1.Link( Subz , Div.Port( 'x' ) )
-
-Mulx = GraphEssai1.Link( Subz , Mul.Port( 'x' ) )
-Mulx.AddCoord( 1 , 396 , 343 )
-Mulx.AddCoord( 2 , 397 , 136 )
-
-Mulz = Mul.Port( 'z' )
-Divy = GraphEssai1.Link( Mulz , Div.Port( 'y' ) )
-Divy.AddCoord( 1 , 598 , 163 )
-Divy.AddCoord( 2 , 598 , 343 )
-
-# Creation of Input datas
-Addx = Add.Input( 'x' , 3)
-Addy = Add.Input( 'y' , 5)
-Suby = Sub.Input( 'y' , 7)
-Muly = Mul.Input( 'y' , 11)
-
-# Creation of Output variables
-AddFuncValue = Add.Port( 'FuncValue' )
-Divz = Div.Port( 'z' )
-
-GraphEssai1.Run()
-
-GraphEssai1.DoneW()
-
-GraphEssai1.State()
-
-GraphEssai1.PrintPorts()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEssai2
-#
-from SuperV import *
-# Graph creation
-GraphEssai2 = Graph( 'GraphEssai2' )
-GraphEssai2.SetName( 'GraphEssai2' )
-GraphEssai2.SetAuthor( '' )
-GraphEssai2.SetComment( '' )
-GraphEssai2.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-Add = GraphEssai2.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetContainer( 'localhost/FactoryServer' )
-Add.SetComment( 'Add from AddComponent' )
-Add.Coords( 18 , 239 )
-
-Sub = GraphEssai2.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
-Sub.SetName( 'Sub' )
-Sub.SetAuthor( '' )
-Sub.SetContainer( 'localhost/FactoryServer' )
-Sub.SetComment( 'Sub from SubComponent' )
-Sub.Coords( 232 , 269 )
-
-Mul = GraphEssai2.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
-Mul.SetName( 'Mul' )
-Mul.SetAuthor( '' )
-Mul.SetContainer( 'localhost/FactoryServer' )
-Mul.SetComment( 'Mul from MulComponent' )
-Mul.Coords( 431 , 22 )
-
-Div = GraphEssai2.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
-Div.SetName( 'Div' )
-Div.SetAuthor( '' )
-Div.SetContainer( 'localhost/FactoryServer' )
-Div.SetComment( 'Div from DivComponent' )
-Div.Coords( 645 , 268 )
-
-# Creation of Links
-AddFuncValue = Add.Port( 'FuncValue' )
-Mulx = GraphEssai2.Link( AddFuncValue , Mul.Port( 'x' ) )
-Mulx.AddCoord( 1 , 199 , 102 )
-Mulx.AddCoord( 2 , 198 , 319 )
-
-Addz = Add.Port( 'z' )
-Subx = GraphEssai2.Link( Addz , Sub.Port( 'x' ) )
-
-Subz = Sub.Port( 'z' )
-Divx = GraphEssai2.Link( Subz , Div.Port( 'x' ) )
-
-SubOutGate = Sub.Port( 'OutGate' )
-MulInGate = GraphEssai2.Link( SubOutGate , Mul.Port( 'InGate' ) )
-MulInGate.AddCoord( 1 , 405 , 165 )
-MulInGate.AddCoord( 2 , 405 , 412 )
-
-Mulz = Mul.Port( 'z' )
-Divy = GraphEssai2.Link( Mulz , Div.Port( 'y' ) )
-Divy.AddCoord( 1 , 612 , 377 )
-Divy.AddCoord( 2 , 612 , 103 )
-
-# Creation of Input datas
-Addx = Add.Input( 'x' , 1)
-Addy = Add.Input( 'y' , 2)
-Suby = Sub.Input( 'y' , 3)
-Muly = Mul.Input( 'y' , 4)
-
-# Creation of Output variables
-Divz = Div.Port( 'z' )
-
-GraphEssai2.Run()
-
-GraphEssai2.DoneW()
-
-GraphEssai2.State()
-
-GraphEssai2.PrintPorts()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEssai3
-#
-from SuperV import *
-# Graph creation
-GraphEssai3 = Graph( 'GraphEssai3' )
-GraphEssai3.SetName( 'GraphEssai3' )
-GraphEssai3.SetAuthor( '' )
-GraphEssai3.SetComment( '' )
-GraphEssai3.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-Add = GraphEssai3.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetContainer( 'localhost/FactoryServer' )
-Add.SetComment( 'Add from AddComponent' )
-Add.Coords( 1 , 152 )
-
-Sub = GraphEssai3.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
-Sub.SetName( 'Sub' )
-Sub.SetAuthor( '' )
-Sub.SetContainer( 'localhost/FactoryServer' )
-Sub.SetComment( 'Sub from SubComponent' )
-Sub.Coords( 412 , 377 )
-
-Mul = GraphEssai3.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
-Mul.SetName( 'Mul' )
-Mul.SetAuthor( '' )
-Mul.SetContainer( 'localhost/FactoryServer' )
-Mul.SetComment( 'Mul from MulComponent' )
-Mul.Coords( 412 , 152 )
-
-Div = GraphEssai3.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
-Div.SetName( 'Div' )
-Div.SetAuthor( '' )
-Div.SetContainer( 'localhost/FactoryServer' )
-Div.SetComment( 'Div from DivComponent' )
-Div.Coords( 622 , 124 )
-
-Addition = GraphEssai3.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
-Addition.SetName( 'Addition' )
-Addition.SetAuthor( '' )
-Addition.SetContainer( 'localhost/AdditionServer' )
-Addition.SetComment( 'Addition from AddComponent' )
-Addition.Coords( 0 , 0 )
-
-Addition_1 = GraphEssai3.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
-Addition_1.SetName( 'Addition_1' )
-Addition_1.SetAuthor( '' )
-Addition_1.SetContainer( 'localhost/Addition_1Server' )
-Addition_1.SetComment( 'Addition from AddComponent' )
-Addition_1.Coords( 4 , 327 )
-
-# Creation of Computing Nodes
-AddAndCompare_ServiceinParameter = []
-AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'Adder' , 'Adder' ) )
-AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'x' ) )
-AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'y' ) )
-AddAndCompare_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'Adder' , 'anOtherAdder' ) )
-AddAndCompare_ServiceoutParameter = []
-AddAndCompare_ServiceoutParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'FuncValue' ) )
-AddAndCompare_ServiceoutParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'z' ) )
-AddAndCompare_ServiceinStreamParameter = []
-AddAndCompare_ServiceoutStreamParameter = []
-AddAndCompare_Service = SALOME_ModuleCatalog.Service( 'AddAndCompare' , AddAndCompare_ServiceinParameter , AddAndCompare_ServiceoutParameter , AddAndCompare_ServiceinStreamParameter , AddAndCompare_ServiceoutStreamParameter , 0 , 0 )
-AddAndCompare = GraphEssai3.CNode( AddAndCompare_Service )
-AddAndCompare.SetName( 'AddAndCompare' )
-AddAndCompare.SetAuthor( '' )
-AddAndCompare.SetComment( 'Python function' )
-AddAndCompare.Coords( 233 , 0 )
-
-# Creation of Links
-AddFuncValue = Add.Port( 'FuncValue' )
-Mulx = GraphEssai3.Link( AddFuncValue , Mul.Port( 'x' ) )
-
-AddAndComparex = GraphEssai3.Link( AddFuncValue , AddAndCompare.Port( 'x' ) )
-AddAndComparex.AddCoord( 1 , 195 , 108 )
-AddAndComparex.AddCoord( 2 , 195 , 233 )
-
-Addz = Add.Port( 'z' )
-Subx = GraphEssai3.Link( Addz , Sub.Port( 'x' ) )
-Subx.AddCoord( 1 , 187 , 459 )
-Subx.AddCoord( 2 , 186 , 262 )
-
-AddAndComparey = GraphEssai3.Link( Addz , AddAndCompare.Port( 'y' ) )
-AddAndComparey.AddCoord( 1 , 187 , 139 )
-AddAndComparey.AddCoord( 2 , 186 , 261 )
-
-Subz = Sub.Port( 'z' )
-Divx = GraphEssai3.Link( Subz , Div.Port( 'x' ) )
-Divx.AddCoord( 1 , 598 , 203 )
-Divx.AddCoord( 2 , 598 , 457 )
-
-Mulz = Mul.Port( 'z' )
-Divy = GraphEssai3.Link( Mulz , Div.Port( 'y' ) )
-
-AdditionAdder = Addition.Port( 'Adder' )
-AddAndCompareAdder = GraphEssai3.Link( AdditionAdder , AddAndCompare.Port( 'Adder' ) )
-
-Addition_1Adder = Addition_1.Port( 'Adder' )
-AddAndCompareanOtherAdder = GraphEssai3.Link( Addition_1Adder , AddAndCompare.Port( 'anOtherAdder' ) )
-AddAndCompareanOtherAdder.AddCoord( 1 , 215 , 168 )
-AddAndCompareanOtherAdder.AddCoord( 2 , 214 , 407 )
-
-# Creation of Input datas
-Addx = Add.Input( 'x' , 1)
-Addy = Add.Input( 'y' , 2)
-Suby = Sub.Input( 'y' , 3)
-Muly = Mul.Input( 'y' , 4)
-
-# Creation of Output variables
-Divz = Div.Port( 'z' )
-AddAndCompareFuncValue = AddAndCompare.Port( 'FuncValue' )
-AddAndComparez = AddAndCompare.Port( 'z' )
-
-GraphEssai3.Run()
-
-GraphEssai3.DoneW()
-
-print GraphEssai3.State()
-
-GraphEssai3.PrintPorts()
-
+++ /dev/null
-#! /usr/bin/env python
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-#==============================================================================
-# File : GraphExample.py
-# Created : 18 d?c 2001
-# Author : Jean Rahuel
-# Project : SALOME
-#==============================================================================
-#from GraphExample import *
-#
-from SuperV import *
-
-myGraph = Graph( "myDataFlow" )
-
-Add = myGraph.Node( "AddComponent" , "AddInterface" , "Add" )
-print Add.SetContainer('dm2s0017')
-Sub = myGraph.Node( "SubComponent" , "SubInterface" , "Sub" )
-print Sub.SetContainer('dm2s0018')
-Mul = myGraph.Node( "MulComponent" , "MulInterface" , "Mul" )
-print Mul.SetContainer('dm2s0019')
-Div = myGraph.Node( "DivComponent" , "DivInterface" , "Div" )
-print Div.SetContainer('dm2s0020')
-
-PAddz = Add.Port("z")
-PSuby = Sub.Port("y")
-Suby = myGraph.Link( PAddz , PSuby )
-Muly = myGraph.Link( Add.Port("z") , Mul.Port("y") )
-Mulx = myGraph.Link( Sub.Port( "z" ) , Mul.Port("x") )
-Divx = myGraph.Link( Sub.Port( "z" ) , Div.Port("x") )
-Divy = myGraph.Link( Mul.Port( "z" ) , Div.Port("y") )
-
-Addx = Add.Input( "x" , 3 )
-Addy = Add.Input( "y" , 4.5 )
-Subx = Sub.Input( "x" , "1.5" )
-
-print "Add(x) input value : ",Addx.ToString()
-print "Add(y) input value : ",Addy.ToString()
-print "Sub(x) input value : ",Subx.ToString()
-
-Divz = Div.Port("z")
-
-print Divz.ToString()
-
-print myGraph.IsValid()
-print myGraph.IsExecutable()
-
-print myGraph.Run()
-
-Addz = Add.Port( "z" )
-AddFuncValue = Add.Port( "FuncValue" )
-Subz = Sub.Port( "z" )
-Mulz = Mul.Port( "z" )
-Divz = Div.Port( "z" )
-
-print AddFuncValue.Done()
-print Addz.Done()
-print Subz.Done()
-print Mulz.Done()
-print Divz.Done()
-print Add.Done()
-print Sub.Done()
-print Mul.Done()
-print Div.Done()
-print myGraph.Done()
-print myGraph.State()
-
-print AddFuncValue.ToString()
-print Addz.ToString()
-print Subz.ToString()
-print Mulz.ToString()
-print Divz.ToString()
-print Divz.ToAny()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-# File : GraphFactorial.py
-# Module : SuperVisionTest
-#
-from SuperV import *
-
-GraphFactorial = Graph('GraphFactorial')
-
-eval = GraphFactorial.Node('FactorialComponent','FactorialComponent','eval')
-eval.SetContainer('Server3Py')
-
-GraphFactorial.IsValid()
-
-GraphFactorial.Run( 3 )
-GraphFactorial.DoneW()
-GraphFactorial.State()
-eval.GetComponentName()
-eval.GetContainer()
-GraphFactorial.PrintPorts()
-eval.CpuUsed()
-
-eval.SetContainer('Server4Py')
-GraphFactorial.Run( 4 )
-GraphFactorial.DoneW()
-GraphFactorial.State()
-eval.GetComponentName()
-eval.GetContainer()
-GraphFactorial.PrintPorts()
-eval.CpuUsed()
-
-eval.SetContainer('Server5Py')
-GraphFactorial.Run( 5 )
-GraphFactorial.DoneW()
-GraphFactorial.State()
-eval.GetComponentName()
-eval.GetContainer()
-GraphFactorial.PrintPorts()
-eval.CpuUsed()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-# File : GraphFactorialLcc.py
-# Module : SuperVisionTest
-# That test runs only with python but NOT in the TUI ...
-#
-from SuperV import *
-
-from FactorialComponent import *
-
-Factorial = lcc.FindOrLoadComponent('ServerPy','FactorialComponent')
-
-dir (Factorial)
-
-fact3 = Factorial.eval(3)
-
-if fact3 != 6 :
- print "Error",fact3,"!= 6 !"
-
-print Factorial.CpuUsed_impl()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# 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 )
-
- # Creation of Factory Nodes
-
- test_ISEVEN = GraphGOTO.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( 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.SetName( 'test_ISONE' )
- test_ISONE.SetAuthor( '' )
- test_ISONE.SetContainer( 'localhost/FactoryServer' )
- test_ISONE.SetComment( 'C_ISONE from SyrComponent' )
- 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.SetName( 'm3p1' )
- m3p1.SetAuthor( '' )
- m3p1.SetContainer( 'localhost/FactoryServer' )
- m3p1.SetComment( 'C_M3P1 from SyrComponent' )
- m3p1.Coords( 861 , 46 )
- Im3p1anOddInteger = m3p1.GetInPort( 'anOddInteger' )
- Im3p1Gate = m3p1.GetInPort( 'Gate' )
- Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
- Om3p1Gate = m3p1.GetOutPort( 'Gate' )
-
- div2 = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 858 , 466 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incr = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incr.SetName( 'incr' )
- incr.SetAuthor( '' )
- incr.SetContainer( 'localhost/FactoryServer' )
- incr.SetComment( 'C_INCR from SyrComponent' )
- incr.Coords( 865 , 169 )
- IincraCount = incr.GetInPort( 'aCount' )
- IincrGate = incr.GetInPort( 'Gate' )
- OincraNewCount = incr.GetOutPort( 'aNewCount' )
- OincrGate = incr.GetOutPort( 'Gate' )
-
- incr_1 = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incr_1.SetName( 'incr_1' )
- incr_1.SetAuthor( '' )
- incr_1.SetContainer( 'localhost/FactoryServer' )
- incr_1.SetComment( 'C_INCR from SyrComponent' )
- incr_1.Coords( 859 , 338 )
- Iincr_1aCount = incr_1.GetInPort( 'aCount' )
- Iincr_1Gate = incr_1.GetInPort( 'Gate' )
- Oincr_1aNewCount = incr_1.GetOutPort( 'aNewCount' )
- Oincr_1Gate = incr_1.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- Pylabel_begin = []
- 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.SetName( 'label_begin' )
- label_begin.SetAuthor( '' )
- label_begin.SetComment( 'Python function' )
- 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' )
- Olabel_beginNT = label_begin.OutPort( 'NT' , 'long' )
- Olabel_beginKT = label_begin.OutPort( 'KT' , 'long' )
- Olabel_beginGate = label_begin.GetOutPort( 'Gate' )
-
- Pylabel_test = []
- 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.SetName( 'label_test' )
- label_test.SetAuthor( '' )
- label_test.SetComment( 'Python function' )
- 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' )
- Ilabel_testKT = label_test.InPort( 'KT' , 'long' )
- Ilabel_testGate = label_test.GetInPort( 'Gate' )
- Olabel_testValEven = label_test.OutPort( 'ValEven' , 'long' )
- Olabel_testValOne = label_test.OutPort( 'ValOne' , 'long' )
- Olabel_testNT = label_test.OutPort( 'NT' , 'long' )
- Olabel_testKT = label_test.OutPort( 'KT' , 'long' )
- Olabel_testGate = label_test.GetOutPort( 'Gate' )
-
- # Creation of Switch Nodes
- Pytest = []
- Pytest.append( 'def Switch_OneEven( ValOne , ValEven , NT , KT ) :' )
- Pytest.append( ' Finished = ValOne' )
- Pytest.append( ' if Finished == 0 :' )
- Pytest.append( ' Incr = 1' )
- Pytest.append( ' Even = ValEven' )
- Pytest.append( ' if Even == 0 :' )
- Pytest.append( ' Odd = 1' )
- Pytest.append( ' else :' )
- Pytest.append( ' Odd = 0' )
- Pytest.append( ' else :' )
- Pytest.append( ' Incr = 0' )
- Pytest.append( ' Even = 0' )
- 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 )
- EndSwitch_OneEven.SetName( 'EndSwitch_OneEven' )
- EndSwitch_OneEven.SetAuthor( '' )
- EndSwitch_OneEven.SetComment( 'Compute Node' )
- EndSwitch_OneEven.Coords( 1331 , 310 )
- PyEndSwitch_OneEven = []
- PyEndSwitch_OneEven.append( 'def EndSwitch_OneEven( Finished , K ):' )
- PyEndSwitch_OneEven.append( ' print "label_begin",Finished,K' )
- PyEndSwitch_OneEven.append( ' return Finished,K' )
- EndSwitch_OneEven.SetPyFunction( 'EndSwitch_OneEven' , PyEndSwitch_OneEven )
- IEndSwitch_OneEvenFinished = EndSwitch_OneEven.InPort( 'Finished' , 'long' )
- IEndSwitch_OneEvenK = EndSwitch_OneEven.InPort( 'K' , 'long' )
- IEndSwitch_OneEvenDefault = EndSwitch_OneEven.GetInPort( 'Default' )
- OEndSwitch_OneEvenFinished = EndSwitch_OneEven.OutPort( 'Finished' , 'long' )
- OEndSwitch_OneEvenK = EndSwitch_OneEven.OutPort( 'K' , 'long' )
- OEndSwitch_OneEvenGate = EndSwitch_OneEven.GetOutPort( 'Gate' )
- test.SetName( 'test' )
- test.SetAuthor( '' )
- test.SetComment( 'Compute Node' )
- test.Coords( 596 , 260 )
- ItestValOne = test.InPort( 'ValOne' , 'long' )
- ItestValEven = test.InPort( 'ValEven' , 'long' )
- ItestNT = test.InPort( 'NT' , 'long' )
- ItestKT = test.InPort( 'KT' , 'long' )
- ItestGate = test.GetInPort( 'Gate' )
- OtestFinished = test.OutPort( 'Finished' , 'long' )
- OtestIncr = test.OutPort( 'Incr' , 'long' )
- OtestEven = test.OutPort( 'Even' , 'long' )
- OtestOdd = test.OutPort( 'Odd' , 'long' )
- OtestN = test.OutPort( 'N' , 'long' )
- OtestK = test.OutPort( 'K' , 'long' )
- OtestDefault = test.GetOutPort( 'Default' )
-
- # Creation of GOTO Nodes
- 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.SetName( 'control_m3p1' )
- control_m3p1.SetAuthor( '' )
- control_m3p1.SetComment( 'Compute Node' )
- 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' )
- Ocontrol_m3p1ValOne = control_m3p1.OutPort( 'ValOne' , 'long' )
- Ocontrol_m3p1ValEven = control_m3p1.OutPort( 'ValEven' , 'long' )
- Ocontrol_m3p1NT = control_m3p1.OutPort( 'NT' , 'long' )
- Ocontrol_m3p1KT = control_m3p1.OutPort( 'KT' , 'long' )
- Ocontrol_m3p1Gate = control_m3p1.GetOutPort( 'Gate' )
-
- 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.SetName( 'control_div2' )
- control_div2.SetAuthor( '' )
- control_div2.SetComment( 'Compute Node' )
- control_div2.Coords( 1128 , 453 )
- Icontrol_div2N = control_div2.InPort( 'N' , 'long' )
- Icontrol_div2K = control_div2.InPort( 'K' , 'long' )
- Icontrol_div2Gate = control_div2.GetInPort( 'Gate' )
- Ocontrol_div2NB = control_div2.OutPort( 'NB' , 'long' )
- Ocontrol_div2KB = control_div2.OutPort( 'KB' , 'long' )
- Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
-
- # Creation of Links
- 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.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 )
-
- Ldiv2anIntegercontrol_div2N = GraphGOTO.Link( Odiv2anInteger , Icontrol_div2N )
-
- LincraNewCountcontrol_m3p1K = GraphGOTO.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 )
-
- Llabel_beginNTlabel_testNT = GraphGOTO.Link( Olabel_beginNT , Ilabel_testNT )
-
- 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.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_testValEventestValEven = GraphGOTO.Link( Olabel_testValEven , ItestValEven )
-
- Llabel_testValOnetestValOne = GraphGOTO.Link( Olabel_testValOne , ItestValOne )
-
- Llabel_testNTtestNT = GraphGOTO.Link( Olabel_testNT , ItestNT )
-
- Llabel_testKTtestKT = GraphGOTO.Link( Olabel_testKT , ItestKT )
-
- LtestFinishedEndSwitch_OneEvenFinished = GraphGOTO.Link( OtestFinished , IEndSwitch_OneEvenFinished )
-
- LtestEvenincr_1Gate = GraphGOTO.Link( OtestEven , Iincr_1Gate )
-
- LtestEvendiv2Gate = GraphGOTO.Link( OtestEven , Idiv2Gate )
-
- LtestOddincrGate = GraphGOTO.Link( OtestOdd , IincrGate )
-
- LtestOddm3p1Gate = GraphGOTO.Link( OtestOdd , Im3p1Gate )
-
- LtestNm3p1anOddInteger = GraphGOTO.Link( OtestN , Im3p1anOddInteger )
- LtestNm3p1anOddInteger.AddCoord( 1 , 808 , 116 )
- LtestNm3p1anOddInteger.AddCoord( 2 , 806 , 372 )
-
- LtestNdiv2anEvenInteger = GraphGOTO.Link( OtestN , Idiv2anEvenInteger )
- LtestNdiv2anEvenInteger.AddCoord( 1 , 806 , 537 )
- LtestNdiv2anEvenInteger.AddCoord( 2 , 806 , 373 )
-
- LtestKEndSwitch_OneEvenK = GraphGOTO.Link( OtestK , IEndSwitch_OneEvenK )
-
- LtestKincraCount = GraphGOTO.Link( OtestK , IincraCount )
-
- LtestKincr_1aCount = GraphGOTO.Link( OtestK , Iincr_1aCount )
-
- 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.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.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 )
-
- # Input datas
- Ilabel_beginNB.Input( 7 )
- Ilabel_beginKB.Input( 0 )
-
- # Output Ports of the graph
- #OtestIncr = test.GetOutPort( 'Incr' )
- #OEndSwitch_OneEvenFinished = EndSwitch_OneEven.GetOutPort( 'Finished' )
- #OEndSwitch_OneEvenK = EndSwitch_OneEven.GetOutPort( 'K' )
- return GraphGOTO
-
-
-GraphGOTO = DefGraphGOTO()
-
-GraphGOTO.Run()
-GraphGOTO.DoneW()
-GraphGOTO.State()
-GraphGOTO.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphGOTO1
-#
-from SuperV import *
-
-# Graph creation of GraphGOTO1
-def DefGraphGOTO1() :
- GraphGOTO1 = Graph( 'GraphGOTO1' )
- GraphGOTO1.SetName( 'GraphGOTO1' )
- GraphGOTO1.SetAuthor( 'JR' )
- GraphGOTO1.SetComment( 'Syracuse algorithm' )
- GraphGOTO1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- test_ISEVEN = GraphGOTO1.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 )
- 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 = GraphGOTO1.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 )
- 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 = GraphGOTO1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
- m3p1.SetName( 'm3p1' )
- m3p1.SetAuthor( '' )
- m3p1.SetContainer( 'localhost/FactoryServer' )
- m3p1.SetComment( 'C_M3P1 from SyrComponent' )
- m3p1.Coords( 861 , 46 )
- Im3p1anOddInteger = m3p1.GetInPort( 'anOddInteger' )
- Im3p1Gate = m3p1.GetInPort( 'Gate' )
- Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
- Om3p1Gate = m3p1.GetOutPort( 'Gate' )
-
- div2 = GraphGOTO1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 858 , 466 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incr = GraphGOTO1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incr.SetName( 'incr' )
- incr.SetAuthor( '' )
- incr.SetContainer( 'localhost/FactoryServer' )
- incr.SetComment( 'C_INCR from SyrComponent' )
- incr.Coords( 865 , 169 )
- IincraCount = incr.GetInPort( 'aCount' )
- IincrGate = incr.GetInPort( 'Gate' )
- OincraNewCount = incr.GetOutPort( 'aNewCount' )
- OincrGate = incr.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- Pylabel_begin = []
- Pylabel_begin.append( 'def label_begin( NB , KB ):' )
- Pylabel_begin.append( ' print "label_begin",NB,KB' )
- Pylabel_begin.append( ' return NB,KB' )
- label_begin = GraphGOTO1.INode( 'label_begin' , Pylabel_begin )
- label_begin.SetName( 'label_begin' )
- label_begin.SetAuthor( '' )
- label_begin.SetComment( 'Python function' )
- label_begin.Coords( 9 , 250 )
- Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
- Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
- Ilabel_beginGate = label_begin.GetInPort( 'Gate' )
- Olabel_beginNT = label_begin.OutPort( 'NT' , 'long' )
- Olabel_beginKT = label_begin.OutPort( 'KT' , 'long' )
- Olabel_beginGate = label_begin.GetOutPort( 'Gate' )
-
- Pylabel_test = []
- 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 = GraphGOTO1.INode( 'label_test' , Pylabel_test )
- label_test.SetName( 'label_test' )
- label_test.SetAuthor( '' )
- label_test.SetComment( 'Python function' )
- label_test.Coords( 396 , 193 )
- Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
- Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
- Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
- Ilabel_testKT = label_test.InPort( 'KT' , 'long' )
- Ilabel_testGate = label_test.GetInPort( 'Gate' )
- Olabel_testValEven = label_test.OutPort( 'ValEven' , 'long' )
- Olabel_testValOne = label_test.OutPort( 'ValOne' , 'long' )
- Olabel_testNT = label_test.OutPort( 'NT' , 'long' )
- Olabel_testKT = label_test.OutPort( 'KT' , 'long' )
- Olabel_testGate = label_test.GetOutPort( 'Gate' )
-
- # Creation of Switch Nodes
- Pytest = []
- Pytest.append( 'def Switch_OneEven( ValOne , ValEven , NT , KT ) :' )
- Pytest.append( ' Finished = ValOne' )
- Pytest.append( ' if Finished == 0 :' )
- Pytest.append( ' Incr = 1' )
- Pytest.append( ' Even = ValEven' )
- Pytest.append( ' if Even == 0 :' )
- Pytest.append( ' Odd = 1' )
- Pytest.append( ' else :' )
- Pytest.append( ' Odd = 0' )
- Pytest.append( ' else :' )
- Pytest.append( ' Incr = 0' )
- Pytest.append( ' Even = 0' )
- Pytest.append( ' Odd = 0' )
- Pytest.append( ' Even = ValEven' )
- Pytest.append( ' return Finished,Incr,Even,Odd,NT,KT' )
- test,EndSwitch_OneEven = GraphGOTO1.SNode( 'Switch_OneEven' , Pytest )
- EndSwitch_OneEven.SetName( 'EndSwitch_OneEven' )
- EndSwitch_OneEven.SetAuthor( '' )
- EndSwitch_OneEven.SetComment( 'Compute Node' )
- EndSwitch_OneEven.Coords( 1256 , 305 )
- PyEndSwitch_OneEven = []
- PyEndSwitch_OneEven.append( 'def EndSwitch_OneEven( Finished , K ):' )
- PyEndSwitch_OneEven.append( ' print "label_begin",Finished,K' )
- PyEndSwitch_OneEven.append( ' return Finished,K' )
- EndSwitch_OneEven.SetPyFunction( 'EndSwitch_OneEven' , PyEndSwitch_OneEven )
- IEndSwitch_OneEvenFinished = EndSwitch_OneEven.InPort( 'Finished' , 'long' )
- IEndSwitch_OneEvenK = EndSwitch_OneEven.InPort( 'K' , 'long' )
- IEndSwitch_OneEvenDefault = EndSwitch_OneEven.GetInPort( 'Default' )
- OEndSwitch_OneEvenFinished = EndSwitch_OneEven.OutPort( 'Finished' , 'long' )
- OEndSwitch_OneEvenK = EndSwitch_OneEven.OutPort( 'K' , 'long' )
- OEndSwitch_OneEvenGate = EndSwitch_OneEven.GetOutPort( 'Gate' )
- test.SetName( 'test' )
- test.SetAuthor( '' )
- test.SetComment( 'Compute Node' )
- test.Coords( 595 , 239 )
- ItestValOne = test.InPort( 'ValOne' , 'long' )
- ItestValEven = test.InPort( 'ValEven' , 'long' )
- ItestNT = test.InPort( 'NT' , 'long' )
- ItestKT = test.InPort( 'KT' , 'long' )
- ItestGate = test.GetInPort( 'Gate' )
- OtestFinished = test.OutPort( 'Finished' , 'long' )
- OtestIncr = test.OutPort( 'Incr' , 'long' )
- OtestEven = test.OutPort( 'Even' , 'long' )
- OtestOdd = test.OutPort( 'Odd' , 'long' )
- OtestN = test.OutPort( 'N' , 'long' )
- OtestK = test.OutPort( 'K' , 'long' )
- OtestDefault = test.GetOutPort( 'Default' )
-
- # Creation of GOTO Nodes
- Pycontrol_m3p1 = []
- Pycontrol_m3p1.append( 'def control_m3p1( N , K ):' )
- Pycontrol_m3p1.append( ' return 0,1,N,K' )
- control_m3p1 = GraphGOTO1.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 )
- Icontrol_m3p1N = control_m3p1.InPort( 'N' , 'long' )
- Icontrol_m3p1K = control_m3p1.InPort( 'K' , 'long' )
- Icontrol_m3p1Gate = control_m3p1.GetInPort( 'Gate' )
- Ocontrol_m3p1ValOne = control_m3p1.OutPort( 'ValOne' , 'long' )
- Ocontrol_m3p1ValEven = control_m3p1.OutPort( 'ValEven' , 'long' )
- Ocontrol_m3p1NT = control_m3p1.OutPort( 'NT' , 'long' )
- Ocontrol_m3p1KT = control_m3p1.OutPort( 'KT' , 'long' )
- Ocontrol_m3p1Gate = control_m3p1.GetOutPort( 'Gate' )
-
- Pycontrol_div2 = []
- Pycontrol_div2.append( 'def control_div2( N , NB ) :' )
- Pycontrol_div2.append( ' return N,NB' )
- control_div2 = GraphGOTO1.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
- control_div2.SetName( 'control_div2' )
- control_div2.SetAuthor( '' )
- control_div2.SetComment( 'Compute Node' )
- control_div2.Coords( 1128 , 453 )
- Icontrol_div2N = control_div2.InPort( 'N' , 'long' )
- Icontrol_div2K = control_div2.InPort( 'K' , 'long' )
- Icontrol_div2Gate = control_div2.GetInPort( 'Gate' )
- Ocontrol_div2NB = control_div2.OutPort( 'NB' , 'long' )
- Ocontrol_div2KB = control_div2.OutPort( 'KB' , 'long' )
- Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
-
- # Creation of Links
- Ltest_ISEVENBoolEvenlabel_testValEven = GraphGOTO1.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 369 , 273 )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 370 , 498 )
-
- Ltest_ISONEBoolOnelabel_testValOne = GraphGOTO1.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 384 , 281 )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 384 , 225 )
-
- Lm3p1anEvenIntegercontrol_m3p1N = GraphGOTO1.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
-
- Ldiv2anIntegercontrol_div2N = GraphGOTO1.Link( Odiv2anInteger , Icontrol_div2N )
-
- LincraNewCountcontrol_m3p1K = GraphGOTO1.Link( OincraNewCount , Icontrol_m3p1K )
- LincraNewCountcontrol_m3p1K.AddCoord( 1 , 1048 , 139 )
- LincraNewCountcontrol_m3p1K.AddCoord( 2 , 1048 , 241 )
-
- LincraNewCountcontrol_div2K = GraphGOTO1.Link( OincraNewCount , Icontrol_div2K )
- LincraNewCountcontrol_div2K.AddCoord( 1 , 1052 , 504 )
- LincraNewCountcontrol_div2K.AddCoord( 2 , 1049 , 239 )
-
- Llabel_beginNTlabel_testNT = GraphGOTO1.Link( Olabel_beginNT , Ilabel_testNT )
-
- Llabel_beginNTtest_ISONEanInteger = GraphGOTO1.Link( Olabel_beginNT , Itest_ISONEanInteger )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 192 , 226 )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 191 , 331 )
-
- Llabel_beginNTtest_ISEVENanInteger = GraphGOTO1.Link( Olabel_beginNT , Itest_ISEVENanInteger )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 191 , 494 )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 192 , 331 )
-
- Llabel_beginKTlabel_testKT = GraphGOTO1.Link( Olabel_beginKT , Ilabel_testKT )
-
- Llabel_testValEventestValEven = GraphGOTO1.Link( Olabel_testValEven , ItestValEven )
-
- Llabel_testValOnetestValOne = GraphGOTO1.Link( Olabel_testValOne , ItestValOne )
-
- Llabel_testNTtestNT = GraphGOTO1.Link( Olabel_testNT , ItestNT )
-
- Llabel_testKTtestKT = GraphGOTO1.Link( Olabel_testKT , ItestKT )
-
- LtestFinishedEndSwitch_OneEvenFinished = GraphGOTO1.Link( OtestFinished , IEndSwitch_OneEvenFinished )
-
- LtestEvendiv2Gate = GraphGOTO1.Link( OtestEven , Idiv2Gate )
- LtestEvendiv2Gate.AddCoord( 1 , 793 , 561 )
- LtestEvendiv2Gate.AddCoord( 2 , 794 , 310 )
-
- LtestOddm3p1Gate = GraphGOTO1.Link( OtestOdd , Im3p1Gate )
- LtestOddm3p1Gate.AddCoord( 1 , 778 , 138 )
- LtestOddm3p1Gate.AddCoord( 2 , 780 , 328 )
-
- LtestNm3p1anOddInteger = GraphGOTO1.Link( OtestN , Im3p1anOddInteger )
- LtestNm3p1anOddInteger.AddCoord( 1 , 808 , 113 )
- LtestNm3p1anOddInteger.AddCoord( 2 , 807 , 352 )
-
- LtestNdiv2anEvenInteger = GraphGOTO1.Link( OtestN , Idiv2anEvenInteger )
- LtestNdiv2anEvenInteger.AddCoord( 1 , 806 , 537 )
- LtestNdiv2anEvenInteger.AddCoord( 2 , 807 , 351 )
-
- LtestKEndSwitch_OneEvenK = GraphGOTO1.Link( OtestK , IEndSwitch_OneEvenK )
-
- LtestKincraCount = GraphGOTO1.Link( OtestK , IincraCount )
- LtestKincraCount.AddCoord( 1 , 773 , 236 )
- LtestKincraCount.AddCoord( 2 , 773 , 370 )
-
- LtestDefaultEndSwitch_OneEvenDefault = GraphGOTO1.Link( OtestDefault , IEndSwitch_OneEvenDefault )
- LtestDefaultEndSwitch_OneEvenDefault.AddCoord( 1 , 840 , 381 )
- LtestDefaultEndSwitch_OneEvenDefault.AddCoord( 2 , 839 , 394 )
-
- Lcontrol_m3p1Gatelabel_testGate = GraphGOTO1.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 388 , 388 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 389 , 597 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1441 , 604 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1441 , 199 )
-
- Lcontrol_div2Gatelabel_beginGate = GraphGOTO1.Link( Ocontrol_div2Gate , Ilabel_beginGate )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 4 , 388 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 3 , 587 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 1307 , 586 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 1307 , 528 )
-
- # Input datas
- Ilabel_beginNB.Input( 7 )
- Ilabel_beginKB.Input( 0 )
-
- # Output Ports of the graph
- #OtestIncr = test.GetOutPort( 'Incr' )
- #OEndSwitch_OneEvenFinished = EndSwitch_OneEven.GetOutPort( 'Finished' )
- #OEndSwitch_OneEvenK = EndSwitch_OneEven.GetOutPort( 'K' )
- return GraphGOTO1
-
-
-GraphGOTO1 = DefGraphGOTO1()
-
-GraphGOTO1.Run()
-GraphGOTO1.DoneW()
-GraphGOTO1.State()
-GraphGOTO1.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphGOTOAborted
-#
-from SuperV import *
-
-# Graph creation of GraphGOTOAborted
-def DefGraphGOTOAborted() :
- GraphGOTOAborted = Graph( 'GraphGOTOAborted' )
- GraphGOTOAborted.SetName( 'GraphGOTOAborted' )
- GraphGOTOAborted.SetAuthor( 'JR' )
- GraphGOTOAborted.SetComment( 'Syracuse algorithm' )
- GraphGOTOAborted.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- test_ISEVEN = GraphGOTOAborted.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 )
- 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 = GraphGOTOAborted.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 )
- 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 = GraphGOTOAborted.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
- m3p1.SetName( 'm3p1' )
- m3p1.SetAuthor( '' )
- m3p1.SetContainer( 'localhost/FactoryServer' )
- m3p1.SetComment( 'C_M3P1 from SyrComponent' )
- m3p1.Coords( 861 , 46 )
- Im3p1anOddInteger = m3p1.GetInPort( 'anOddInteger' )
- Im3p1Gate = m3p1.GetInPort( 'Gate' )
- Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
- Om3p1Gate = m3p1.GetOutPort( 'Gate' )
-
- div2 = GraphGOTOAborted.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 858 , 466 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incr = GraphGOTOAborted.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incr.SetName( 'incr' )
- incr.SetAuthor( '' )
- incr.SetContainer( 'localhost/FactoryServer' )
- incr.SetComment( 'C_INCR from SyrComponent' )
- incr.Coords( 865 , 169 )
- IincraCount = incr.GetInPort( 'aCount' )
- IincrGate = incr.GetInPort( 'Gate' )
- OincraNewCount = incr.GetOutPort( 'aNewCount' )
- OincrGate = incr.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- Pylabel_begin = []
- Pylabel_begin.append( 'def label_begin( NB , KB ):' )
- Pylabel_begin.append( ' print "label_begin",NB,KB' )
- Pylabel_begin.append( ' return NB,KB' )
- label_begin = GraphGOTOAborted.INode( 'label_begin' , Pylabel_begin )
- label_begin.SetName( 'label_begin' )
- label_begin.SetAuthor( '' )
- label_begin.SetComment( 'Python function' )
- label_begin.Coords( 9 , 250 )
- Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
- Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
- Ilabel_beginGate = label_begin.GetInPort( 'Gate' )
- Olabel_beginNT = label_begin.OutPort( 'NT' , 'long' )
- Olabel_beginKT = label_begin.OutPort( 'KT' , 'long' )
- Olabel_beginGate = label_begin.GetOutPort( 'Gate' )
-
- Pylabel_test = []
- 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 = GraphGOTOAborted.INode( 'label_test' , Pylabel_test )
- label_test.SetName( 'label_test' )
- label_test.SetAuthor( '' )
- label_test.SetComment( 'Python function' )
- label_test.Coords( 396 , 193 )
- Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
- Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
- Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
- Ilabel_testKT = label_test.InPort( 'KT' , 'long' )
- Ilabel_testGate = label_test.GetInPort( 'Gate' )
- Olabel_testValEven = label_test.OutPort( 'ValEven' , 'long' )
- Olabel_testValOne = label_test.OutPort( 'ValOne' , 'long' )
- Olabel_testNT = label_test.OutPort( 'NT' , 'long' )
- Olabel_testKT = label_test.OutPort( 'KT' , 'long' )
- Olabel_testGate = label_test.GetOutPort( 'Gate' )
-
- # Creation of Switch Nodes
- Pytest = []
- Pytest.append( 'def Switch_OneEven( ValOne , ValEven , NT , KT ) :' )
- Pytest.append( ' Finished = ValOne' )
- Pytest.append( ' if Finished == 0 :' )
- Pytest.append( ' Incr = 1' )
- Pytest.append( ' Even = ValEven' )
- Pytest.append( ' if Even == 0 :' )
- Pytest.append( ' Odd = 1' )
- Pytest.append( ' else :' )
- Pytest.append( ' Odd = 0' )
- Pytest.append( ' else :' )
- Pytest.append( ' Incr = 0' )
- Pytest.append( ' Even = 0' )
- Pytest.append( ' Odd = 0' )
- Pytest.append( ' Even = ValEven' )
- Pytest.append( ' return Finished,Incr,Even,Odd,NT,KT' )
- test,EndSwitch_OneEven = GraphGOTOAborted.SNode( 'Switch_OneEven' , Pytest )
- EndSwitch_OneEven.SetName( 'EndSwitch_OneEven' )
- EndSwitch_OneEven.SetAuthor( '' )
- EndSwitch_OneEven.SetComment( 'Compute Node' )
- EndSwitch_OneEven.Coords( 1256 , 305 )
- PyEndSwitch_OneEven = []
- PyEndSwitch_OneEven.append( 'def EndSwitch_OneEven( Finished , K ):' )
- PyEndSwitch_OneEven.append( ' print "label_begin",Finished,K' )
- PyEndSwitch_OneEven.append( ' return Finished,K' )
- EndSwitch_OneEven.SetPyFunction( 'EndSwitch_OneEven' , PyEndSwitch_OneEven )
- IEndSwitch_OneEvenFinished = EndSwitch_OneEven.InPort( 'Finished' , 'long' )
- IEndSwitch_OneEvenK = EndSwitch_OneEven.InPort( 'K' , 'long' )
- IEndSwitch_OneEvenDefault = EndSwitch_OneEven.GetInPort( 'Default' )
- OEndSwitch_OneEvenFinished = EndSwitch_OneEven.OutPort( 'Finished' , 'long' )
- OEndSwitch_OneEvenK = EndSwitch_OneEven.OutPort( 'K' , 'long' )
- OEndSwitch_OneEvenGate = EndSwitch_OneEven.GetOutPort( 'Gate' )
- test.SetName( 'test' )
- test.SetAuthor( '' )
- test.SetComment( 'Compute Node' )
- test.Coords( 595 , 239 )
- ItestValOne = test.InPort( 'ValOne' , 'long' )
- ItestValEven = test.InPort( 'ValEven' , 'long' )
- ItestNT = test.InPort( 'NT' , 'long' )
- ItestKT = test.InPort( 'KT' , 'long' )
- ItestGate = test.GetInPort( 'Gate' )
- OtestFinished = test.OutPort( 'Finished' , 'long' )
- OtestIncr = test.OutPort( 'Incr' , 'long' )
- OtestEven = test.OutPort( 'Even' , 'long' )
- OtestOdd = test.OutPort( 'Odd' , 'long' )
- OtestN = test.OutPort( 'N' , 'long' )
- OtestK = test.OutPort( 'K' , 'long' )
- OtestDefault = test.GetOutPort( 'Default' )
-
- # Creation of GOTO Nodes
- Pycontrol_m3p1 = []
- Pycontrol_m3p1.append( 'def control_m3p1( N , K ):' )
- Pycontrol_m3p1.append( ' return 0,1,N,K' )
- control_m3p1 = GraphGOTOAborted.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 )
- Icontrol_m3p1N = control_m3p1.InPort( 'N' , 'long' )
- Icontrol_m3p1K = control_m3p1.InPort( 'K' , 'long' )
- Icontrol_m3p1Gate = control_m3p1.GetInPort( 'Gate' )
- Ocontrol_m3p1ValOne = control_m3p1.OutPort( 'ValOne' , 'long' )
- Ocontrol_m3p1ValEven = control_m3p1.OutPort( 'ValEven' , 'long' )
- Ocontrol_m3p1NT = control_m3p1.OutPort( 'NT' , 'long' )
- Ocontrol_m3p1KT = control_m3p1.OutPort( 'KT' , 'long' )
- Ocontrol_m3p1Gate = control_m3p1.GetOutPort( 'Gate' )
-
- Pycontrol_div2 = []
- Pycontrol_div2.append( 'def control_div2( N , NB ) :' )
- Pycontrol_div2.append( ' return N,NB' )
- control_div2 = GraphGOTOAborted.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
- control_div2.SetName( 'control_div2' )
- control_div2.SetAuthor( '' )
- control_div2.SetComment( 'Compute Node' )
- control_div2.Coords( 1128 , 453 )
- Icontrol_div2N = control_div2.InPort( 'N' , 'long' )
- Icontrol_div2K = control_div2.InPort( 'K' , 'long' )
- Icontrol_div2Gate = control_div2.GetInPort( 'Gate' )
- Ocontrol_div2NB = control_div2.OutPort( 'NB' , 'long' )
- Ocontrol_div2KB = control_div2.OutPort( 'KB' , 'long' )
- Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
-
- # Creation of Links
- Ltest_ISEVENBoolEvenlabel_testValEven = GraphGOTOAborted.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 369 , 273 )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 370 , 498 )
-
- Ltest_ISONEBoolOnelabel_testValOne = GraphGOTOAborted.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 384 , 281 )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 384 , 225 )
-
- Lm3p1anEvenIntegercontrol_m3p1N = GraphGOTOAborted.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
-
- Ldiv2anIntegercontrol_div2N = GraphGOTOAborted.Link( Odiv2anInteger , Icontrol_div2N )
-
- LincraNewCountcontrol_m3p1K = GraphGOTOAborted.Link( OincraNewCount , Icontrol_m3p1K )
- LincraNewCountcontrol_m3p1K.AddCoord( 1 , 1048 , 139 )
- LincraNewCountcontrol_m3p1K.AddCoord( 2 , 1048 , 241 )
-
- LincraNewCountcontrol_div2K = GraphGOTOAborted.Link( OincraNewCount , Icontrol_div2K )
- LincraNewCountcontrol_div2K.AddCoord( 1 , 1052 , 504 )
- LincraNewCountcontrol_div2K.AddCoord( 2 , 1049 , 239 )
-
- Llabel_beginNTlabel_testNT = GraphGOTOAborted.Link( Olabel_beginNT , Ilabel_testNT )
-
- Llabel_beginNTtest_ISONEanInteger = GraphGOTOAborted.Link( Olabel_beginNT , Itest_ISONEanInteger )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 192 , 226 )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 191 , 331 )
-
- Llabel_beginNTtest_ISEVENanInteger = GraphGOTOAborted.Link( Olabel_beginNT , Itest_ISEVENanInteger )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 191 , 494 )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 192 , 331 )
-
- Llabel_beginKTlabel_testKT = GraphGOTOAborted.Link( Olabel_beginKT , Ilabel_testKT )
-
- Llabel_testValEventestValEven = GraphGOTOAborted.Link( Olabel_testValEven , ItestValEven )
-
- Llabel_testValOnetestValOne = GraphGOTOAborted.Link( Olabel_testValOne , ItestValOne )
-
- Llabel_testNTtestNT = GraphGOTOAborted.Link( Olabel_testNT , ItestNT )
-
- Llabel_testKTtestKT = GraphGOTOAborted.Link( Olabel_testKT , ItestKT )
-
- LtestFinishedEndSwitch_OneEvenFinished = GraphGOTOAborted.Link( OtestFinished , IEndSwitch_OneEvenFinished )
-
- LtestIncrincrGate = GraphGOTOAborted.Link( OtestIncr , IincrGate )
-
- LtestEvendiv2Gate = GraphGOTOAborted.Link( OtestEven , Idiv2Gate )
- LtestEvendiv2Gate.AddCoord( 1 , 793 , 561 )
- LtestEvendiv2Gate.AddCoord( 2 , 794 , 310 )
-
- LtestOddm3p1Gate = GraphGOTOAborted.Link( OtestOdd , Im3p1Gate )
- LtestOddm3p1Gate.AddCoord( 1 , 778 , 138 )
- LtestOddm3p1Gate.AddCoord( 2 , 780 , 328 )
-
- LtestNm3p1anOddInteger = GraphGOTOAborted.Link( OtestN , Im3p1anOddInteger )
- LtestNm3p1anOddInteger.AddCoord( 1 , 808 , 113 )
- LtestNm3p1anOddInteger.AddCoord( 2 , 807 , 352 )
-
- LtestNdiv2anEvenInteger = GraphGOTOAborted.Link( OtestN , Idiv2anEvenInteger )
- LtestNdiv2anEvenInteger.AddCoord( 1 , 806 , 537 )
- LtestNdiv2anEvenInteger.AddCoord( 2 , 807 , 351 )
-
- LtestKEndSwitch_OneEvenK = GraphGOTOAborted.Link( OtestK , IEndSwitch_OneEvenK )
-
- LtestKincraCount = GraphGOTOAborted.Link( OtestK , IincraCount )
- LtestKincraCount.AddCoord( 1 , 773 , 236 )
- LtestKincraCount.AddCoord( 2 , 773 , 370 )
-
- LtestDefaultEndSwitch_OneEvenDefault = GraphGOTOAborted.Link( OtestDefault , IEndSwitch_OneEvenDefault )
- LtestDefaultEndSwitch_OneEvenDefault.AddCoord( 1 , 840 , 381 )
- LtestDefaultEndSwitch_OneEvenDefault.AddCoord( 2 , 839 , 394 )
-
- Lcontrol_m3p1Gatelabel_testGate = GraphGOTOAborted.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 388 , 388 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 389 , 597 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1441 , 604 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1441 , 199 )
-
- Lcontrol_div2Gatelabel_beginGate = GraphGOTOAborted.Link( Ocontrol_div2Gate , Ilabel_beginGate )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 4 , 388 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 3 , 587 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 1307 , 586 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 1307 , 528 )
-
- # Input datas
- Ilabel_beginNB.Input( 7 )
- Ilabel_beginKB.Input( 0 )
-
- # Output Ports of the graph
- #OEndSwitch_OneEvenFinished = EndSwitch_OneEven.GetOutPort( 'Finished' )
- #OEndSwitch_OneEvenK = EndSwitch_OneEven.GetOutPort( 'K' )
- return GraphGOTOAborted
-
-
-GraphGOTOAborted = DefGraphGOTOAborted()
-
-GraphGOTOAborted.Run()
-GraphGOTOAborted.DoneW()
-GraphGOTOAborted.State()
-GraphGOTOAborted.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphGOTOAddMemory
-#
-from SuperV import *
-
-# Graph creation of GraphGOTOAddMemory
-def DefGraphGOTOAddMemory() :
- GraphGOTOAddMemory = Graph( 'GraphGOTOAddMemory' )
- GraphGOTOAddMemory.SetName( 'GraphGOTOAddMemory' )
- GraphGOTOAddMemory.SetAuthor( 'JR' )
- GraphGOTOAddMemory.SetComment( 'To study memory leaks' )
- GraphGOTOAddMemory.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- AddWithoutSleep = GraphGOTOAddMemory.FNode( 'AddComponent' , 'AddComponent' , 'AddWithoutSleep' )
- AddWithoutSleep.SetName( 'AddWithoutSleep' )
- AddWithoutSleep.SetAuthor( '' )
- AddWithoutSleep.SetContainer( 'localhost/FactoryServer' )
- AddWithoutSleep.SetComment( 'AddWithoutSleep from AddComponent' )
- AddWithoutSleep.Coords( 297 , 138 )
- IAddWithoutSleepx = AddWithoutSleep.GetInPort( 'x' )
- IAddWithoutSleepy = AddWithoutSleep.GetInPort( 'y' )
- IAddWithoutSleepGate = AddWithoutSleep.GetInPort( 'Gate' )
- OAddWithoutSleepFuncValue = AddWithoutSleep.GetOutPort( 'FuncValue' )
- OAddWithoutSleepz = AddWithoutSleep.GetOutPort( 'z' )
- OAddWithoutSleepGate = AddWithoutSleep.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- PyInLine = []
- InLine = GraphGOTOAddMemory.INode( '' , PyInLine )
- InLine.SetName( 'InLine' )
- InLine.SetAuthor( '' )
- InLine.SetComment( 'Compute Node' )
- InLine.Coords( 74 , 178 )
- IInLineGate = InLine.GetInPort( 'Gate' )
- OInLineGate = InLine.GetOutPort( 'Gate' )
-
- # Creation of GOTO Nodes
- PyGoTo = []
- GoTo = GraphGOTOAddMemory.GNode( '' , PyGoTo , 'InLine' )
- GoTo.SetName( 'GoTo' )
- GoTo.SetAuthor( '' )
- GoTo.SetComment( 'Compute Node' )
- GoTo.Coords( 533 , 218 )
- IGoToGate = GoTo.GetInPort( 'Gate' )
- OGoToGate = GoTo.GetOutPort( 'Gate' )
-
- # Creation of Links
- LInLineGateAddWithoutSleepGate = GraphGOTOAddMemory.Link( OInLineGate , IAddWithoutSleepGate )
-
- LGoToGateInLineGate = GraphGOTOAddMemory.Link( OGoToGate , IInLineGate )
- LGoToGateInLineGate.AddCoord( 1 , 69 , 420 )
- LGoToGateInLineGate.AddCoord( 2 , 700 , 420 )
-
- LAddWithoutSleepGateGoToGate = GraphGOTOAddMemory.Link( OAddWithoutSleepGate , IGoToGate )
-
- # Input datas
- IAddWithoutSleepx.Input( 1 )
- IAddWithoutSleepy.Input( 2 )
-
- # Output Ports of the graph
- #OAddWithoutSleepFuncValue = AddWithoutSleep.GetOutPort( 'FuncValue' )
- #OAddWithoutSleepz = AddWithoutSleep.GetOutPort( 'z' )
- return GraphGOTOAddMemory
-
-
-GraphGOTOAddMemory = DefGraphGOTOAddMemory()
-
-GraphGOTOAddMemory.Run()
-GraphGOTOAddMemory.DoneW()
-GraphGOTOAddMemory.State()
-GraphGOTOAddMemory.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphGOTOMemory
-#
-from SuperV import *
-
-# Graph creation of GraphGOTOMemory
-def DefGraphGOTOMemory() :
- GraphGOTOMemory = Graph( 'GraphGOTOMemory' )
- GraphGOTOMemory.SetName( 'GraphGOTOMemory' )
- GraphGOTOMemory.SetAuthor( 'JR' )
- GraphGOTOMemory.SetComment( 'To study memory leaks' )
- GraphGOTOMemory.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyInLine = []
- InLine = GraphGOTOMemory.INode( '' , PyInLine )
- InLine.SetName( 'InLine' )
- InLine.SetAuthor( '' )
- InLine.SetComment( 'Compute Node' )
- InLine.Coords( 74 , 178 )
- IInLineGate = InLine.GetInPort( 'Gate' )
- OInLineGate = InLine.GetOutPort( 'Gate' )
-
- # Creation of GOTO Nodes
- PyGoTo = []
- GoTo = GraphGOTOMemory.GNode( '' , PyGoTo , 'InLine' )
- GoTo.SetName( 'GoTo' )
- GoTo.SetAuthor( '' )
- GoTo.SetComment( 'Compute Node' )
- GoTo.Coords( 533 , 218 )
- IGoToGate = GoTo.GetInPort( 'Gate' )
- OGoToGate = GoTo.GetOutPort( 'Gate' )
-
- # Creation of Links
- LInLineGateGoToGate = GraphGOTOMemory.Link( OInLineGate , IGoToGate )
-
- LGoToGateInLineGate = GraphGOTOMemory.Link( OGoToGate , IInLineGate )
- LGoToGateInLineGate.AddCoord( 1 , 69 , 420 )
- LGoToGateInLineGate.AddCoord( 2 , 700 , 420 )
-
- # Output Ports of the graph
- return GraphGOTOMemory
-
-
-GraphGOTOMemory = DefGraphGOTOMemory()
-
-GraphGOTOMemory.Run()
-GraphGOTOMemory.DoneW()
-GraphGOTOMemory.State()
-GraphGOTOMemory.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow
-def DefaNewDataFlow() :
- aNewDataFlow = Graph( 'aNewDataFlow' )
- aNewDataFlow.SetName( 'aNewDataFlow' )
- aNewDataFlow.SetAuthor( '' )
- aNewDataFlow.SetComment( '' )
- aNewDataFlow.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- SetStudyID = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'SetStudyID' )
- SetStudyID.SetName( 'SetStudyID' )
- SetStudyID.SetAuthor( '' )
- SetStudyID.SetContainer( 'localhost/FactoryServer' )
- SetStudyID.SetComment( 'SetStudyID from GEOM_Superv' )
- SetStudyID.Coords( 13 , 109 )
- ISetStudyIDtheStudyID = SetStudyID.GetInPort( 'theStudyID' )
- ISetStudyIDGate = SetStudyID.GetInPort( 'Gate' )
- OSetStudyIDGate = SetStudyID.GetOutPort( 'Gate' )
-
- MakeSphere = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeSphere' )
- MakeSphere.SetName( 'MakeSphere' )
- MakeSphere.SetAuthor( '' )
- MakeSphere.SetContainer( 'localhost/FactoryServer' )
- MakeSphere.SetComment( 'MakeSphere from GEOM_Superv' )
- MakeSphere.Coords( 210 , 49 )
- IMakeSpheretheX = MakeSphere.GetInPort( 'theX' )
- IMakeSpheretheY = MakeSphere.GetInPort( 'theY' )
- IMakeSpheretheZ = MakeSphere.GetInPort( 'theZ' )
- IMakeSpheretheRadius = MakeSphere.GetInPort( 'theRadius' )
- IMakeSphereGate = MakeSphere.GetInPort( 'Gate' )
- OMakeSpherereturn = MakeSphere.GetOutPort( 'return' )
- OMakeSphereGate = MakeSphere.GetOutPort( 'Gate' )
-
- MakeCopy = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
- MakeCopy.SetName( 'MakeCopy' )
- MakeCopy.SetAuthor( '' )
- MakeCopy.SetContainer( 'localhost/FactoryServer' )
- MakeCopy.SetComment( 'MakeCopy from GEOM_Superv' )
- MakeCopy.Coords( 412 , 12 )
- IMakeCopytheOriginal = MakeCopy.GetInPort( 'theOriginal' )
- IMakeCopyGate = MakeCopy.GetInPort( 'Gate' )
- OMakeCopyreturn = MakeCopy.GetOutPort( 'return' )
- OMakeCopyGate = MakeCopy.GetOutPort( 'Gate' )
-
- MakeCopy_1 = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
- MakeCopy_1.SetName( 'MakeCopy_1' )
- MakeCopy_1.SetAuthor( '' )
- MakeCopy_1.SetContainer( 'localhost/FactoryServer' )
- MakeCopy_1.SetComment( 'MakeCopy from GEOM_Superv' )
- MakeCopy_1.Coords( 414 , 183 )
- IMakeCopy_1theOriginal = MakeCopy_1.GetInPort( 'theOriginal' )
- IMakeCopy_1Gate = MakeCopy_1.GetInPort( 'Gate' )
- OMakeCopy_1return = MakeCopy_1.GetOutPort( 'return' )
- OMakeCopy_1Gate = MakeCopy_1.GetOutPort( 'Gate' )
-
- TranslateDXDYDZ = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetName( 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetAuthor( '' )
- TranslateDXDYDZ.SetContainer( 'localhost/FactoryServer' )
- TranslateDXDYDZ.SetComment( 'TranslateDXDYDZ from GEOM_Superv' )
- TranslateDXDYDZ.Coords( 606 , 12 )
- ITranslateDXDYDZtheObject = TranslateDXDYDZ.GetInPort( 'theObject' )
- ITranslateDXDYDZtheDX = TranslateDXDYDZ.GetInPort( 'theDX' )
- ITranslateDXDYDZtheDY = TranslateDXDYDZ.GetInPort( 'theDY' )
- ITranslateDXDYDZtheDZ = TranslateDXDYDZ.GetInPort( 'theDZ' )
- ITranslateDXDYDZGate = TranslateDXDYDZ.GetInPort( 'Gate' )
- OTranslateDXDYDZreturn = TranslateDXDYDZ.GetOutPort( 'return' )
- OTranslateDXDYDZGate = TranslateDXDYDZ.GetOutPort( 'Gate' )
-
- MakeFuse = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeFuse' )
- MakeFuse.SetName( 'MakeFuse' )
- MakeFuse.SetAuthor( '' )
- MakeFuse.SetContainer( 'localhost/FactoryServer' )
- MakeFuse.SetComment( 'MakeFuse from GEOM_Superv' )
- MakeFuse.Coords( 801 , 163 )
- IMakeFusetheShape1 = MakeFuse.GetInPort( 'theShape1' )
- IMakeFusetheShape2 = MakeFuse.GetInPort( 'theShape2' )
- IMakeFuseGate = MakeFuse.GetInPort( 'Gate' )
- OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
- OMakeFuseGate = MakeFuse.GetOutPort( 'Gate' )
-
- # Creation of Links
- LSetStudyIDGateMakeSphereGate = aNewDataFlow.Link( OSetStudyIDGate , IMakeSphereGate )
-
- LMakeSpherereturnMakeCopytheOriginal = aNewDataFlow.Link( OMakeSpherereturn , IMakeCopytheOriginal )
-
- LMakeSpherereturnMakeCopy_1theOriginal = aNewDataFlow.Link( OMakeSpherereturn , IMakeCopy_1theOriginal )
-
- LMakeCopyreturnTranslateDXDYDZtheObject = aNewDataFlow.Link( OMakeCopyreturn , ITranslateDXDYDZtheObject )
-
- LMakeCopy_1returnMakeFusetheShape2 = aNewDataFlow.Link( OMakeCopy_1return , IMakeFusetheShape2 )
-
- LTranslateDXDYDZreturnMakeFusetheShape1 = aNewDataFlow.Link( OTranslateDXDYDZreturn , IMakeFusetheShape1 )
-
- # Input datas
- ISetStudyIDtheStudyID.Input( 1 )
- IMakeSpheretheX.Input( 0 )
- IMakeSpheretheY.Input( 0 )
- IMakeSpheretheZ.Input( 0 )
- IMakeSpheretheRadius.Input( 20 )
- ITranslateDXDYDZtheDX.Input( 10 )
- ITranslateDXDYDZtheDY.Input( 10 )
- ITranslateDXDYDZtheDZ.Input( 10 )
-
- # Output Ports of the graph
- #OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
- return aNewDataFlow
-
-
-aNewDataFlow = DefaNewDataFlow()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow
-def DefaNewDataFlow() :
- aNewDataFlow = Graph( 'aNewDataFlow' )
- aNewDataFlow.SetName( 'aNewDataFlow' )
- aNewDataFlow.SetAuthor( '' )
- aNewDataFlow.SetComment( '' )
- aNewDataFlow.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- SetStudyID = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'SetStudyID' )
- SetStudyID.SetName( 'SetStudyID' )
- SetStudyID.SetAuthor( '' )
- SetStudyID.SetContainer( 'localhost/FactoryServer' )
- SetStudyID.SetComment( 'SetStudyID from GEOM_Superv' )
- SetStudyID.Coords( 14 , 104 )
- ISetStudyIDtheStudyID = SetStudyID.GetInPort( 'theStudyID' )
- ISetStudyIDGate = SetStudyID.GetInPort( 'Gate' )
- OSetStudyIDGate = SetStudyID.GetOutPort( 'Gate' )
-
- MakeSphere = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeSphere' )
- MakeSphere.SetName( 'MakeSphere' )
- MakeSphere.SetAuthor( '' )
- MakeSphere.SetContainer( 'localhost/FactoryServer' )
- MakeSphere.SetComment( 'MakeSphere from GEOM_Superv' )
- MakeSphere.Coords( 198 , 32 )
- IMakeSpheretheX = MakeSphere.GetInPort( 'theX' )
- IMakeSpheretheY = MakeSphere.GetInPort( 'theY' )
- IMakeSpheretheZ = MakeSphere.GetInPort( 'theZ' )
- IMakeSpheretheRadius = MakeSphere.GetInPort( 'theRadius' )
- IMakeSphereGate = MakeSphere.GetInPort( 'Gate' )
- OMakeSpherereturn = MakeSphere.GetOutPort( 'return' )
- OMakeSphereGate = MakeSphere.GetOutPort( 'Gate' )
-
- MakeCopy = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
- MakeCopy.SetName( 'MakeCopy' )
- MakeCopy.SetAuthor( '' )
- MakeCopy.SetContainer( 'localhost/FactoryServer' )
- MakeCopy.SetComment( 'MakeCopy from GEOM_Superv' )
- MakeCopy.Coords( 390 , 11 )
- IMakeCopytheOriginal = MakeCopy.GetInPort( 'theOriginal' )
- IMakeCopyGate = MakeCopy.GetInPort( 'Gate' )
- OMakeCopyreturn = MakeCopy.GetOutPort( 'return' )
- OMakeCopyGate = MakeCopy.GetOutPort( 'Gate' )
-
- MakeCopy_1 = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
- MakeCopy_1.SetName( 'MakeCopy_1' )
- MakeCopy_1.SetAuthor( '' )
- MakeCopy_1.SetContainer( 'localhost/FactoryServer' )
- MakeCopy_1.SetComment( 'MakeCopy from GEOM_Superv' )
- MakeCopy_1.Coords( 429 , 177 )
- IMakeCopy_1theOriginal = MakeCopy_1.GetInPort( 'theOriginal' )
- IMakeCopy_1Gate = MakeCopy_1.GetInPort( 'Gate' )
- OMakeCopy_1return = MakeCopy_1.GetOutPort( 'return' )
- OMakeCopy_1Gate = MakeCopy_1.GetOutPort( 'Gate' )
-
- TranslateDXDYDZ = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetName( 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetAuthor( '' )
- TranslateDXDYDZ.SetContainer( 'localhost/FactoryServer' )
- TranslateDXDYDZ.SetComment( 'TranslateDXDYDZ from GEOM_Superv' )
- TranslateDXDYDZ.Coords( 615 , 11 )
- ITranslateDXDYDZtheObject = TranslateDXDYDZ.GetInPort( 'theObject' )
- ITranslateDXDYDZtheDX = TranslateDXDYDZ.GetInPort( 'theDX' )
- ITranslateDXDYDZtheDY = TranslateDXDYDZ.GetInPort( 'theDY' )
- ITranslateDXDYDZtheDZ = TranslateDXDYDZ.GetInPort( 'theDZ' )
- ITranslateDXDYDZGate = TranslateDXDYDZ.GetInPort( 'Gate' )
- OTranslateDXDYDZreturn = TranslateDXDYDZ.GetOutPort( 'return' )
- OTranslateDXDYDZGate = TranslateDXDYDZ.GetOutPort( 'Gate' )
-
- MakeFuse = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeFuse' )
- MakeFuse.SetName( 'MakeFuse' )
- MakeFuse.SetAuthor( '' )
- MakeFuse.SetContainer( 'localhost/FactoryServer' )
- MakeFuse.SetComment( 'MakeFuse from GEOM_Superv' )
- MakeFuse.Coords( 806 , 33 )
- IMakeFusetheShape1 = MakeFuse.GetInPort( 'theShape1' )
- IMakeFusetheShape2 = MakeFuse.GetInPort( 'theShape2' )
- IMakeFuseGate = MakeFuse.GetInPort( 'Gate' )
- OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
- OMakeFuseGate = MakeFuse.GetOutPort( 'Gate' )
-
- # Creation of Links
- LSetStudyIDGateMakeSphereGate = aNewDataFlow.Link( OSetStudyIDGate , IMakeSphereGate )
-
- LMakeSpherereturnMakeCopytheOriginal = aNewDataFlow.Link( OMakeSpherereturn , IMakeCopytheOriginal )
-
- LMakeSpherereturnMakeCopy_1theOriginal = aNewDataFlow.Link( OMakeSpherereturn , IMakeCopy_1theOriginal )
-
- LMakeCopyreturnTranslateDXDYDZtheObject = aNewDataFlow.Link( OMakeCopyreturn , ITranslateDXDYDZtheObject )
-
- LMakeCopyGateMakeCopy_1Gate = aNewDataFlow.Link( OMakeCopyGate , IMakeCopy_1Gate )
- LMakeCopyGateMakeCopy_1Gate.AddCoord( 1 , 382 , 174 )
- LMakeCopyGateMakeCopy_1Gate.AddCoord( 2 , 552 , 147 )
-
- LMakeCopy_1returnMakeFusetheShape2 = aNewDataFlow.Link( OMakeCopy_1return , IMakeFusetheShape2 )
- LMakeCopy_1returnMakeFusetheShape2.AddCoord( 1 , 784 , 199 )
-
- LMakeCopy_1GateTranslateDXDYDZGate = aNewDataFlow.Link( OMakeCopy_1Gate , ITranslateDXDYDZGate )
-
- LTranslateDXDYDZreturnMakeFusetheShape1 = aNewDataFlow.Link( OTranslateDXDYDZreturn , IMakeFusetheShape1 )
-
- LTranslateDXDYDZGateMakeFuseGate = aNewDataFlow.Link( OTranslateDXDYDZGate , IMakeFuseGate )
-
- # Input datas
- ISetStudyIDtheStudyID.Input( 1 )
- IMakeSpheretheX.Input( 0 )
- IMakeSpheretheY.Input( 0 )
- IMakeSpheretheZ.Input( 0 )
- IMakeSpheretheRadius.Input( 20 )
- ITranslateDXDYDZtheDX.Input( 10 )
- ITranslateDXDYDZtheDY.Input( 10 )
- ITranslateDXDYDZtheDZ.Input( 10 )
-
- # Output Ports of the graph
- #OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
- return aNewDataFlow
-
-
-aNewDataFlow = DefaNewDataFlow()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphGeomEssai_1_1_1_1
-#
-from SuperV import *
-
-# Graph creation of GraphGeomEssai_1_1_1_1
-def DefGraphGeomEssai_1_1_1_1() :
- GraphGeomEssai_1_1_1_1 = Graph( 'GraphGeomEssai_1_1_1_1' )
- GraphGeomEssai_1_1_1_1.SetName( 'GraphGeomEssai_1_1_1_1' )
- GraphGeomEssai_1_1_1_1.SetAuthor( '' )
- GraphGeomEssai_1_1_1_1.SetComment( '' )
- GraphGeomEssai_1_1_1_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- Pygag = []
- Pygag.append( 'from batchmode_geompy import * ' )
- Pygag.append( 'def gag(): ' )
- Pygag.append( ' # This is a gag ' )
- Pygag.append( ' return 1 ' )
- gag = GraphGeomEssai_1_1_1_1.INode( 'gag' , Pygag )
- gag.SetName( 'gag' )
- gag.SetAuthor( '' )
- gag.SetComment( 'Compute Node' )
- gag.Coords( 0 , 166 )
- IgagGate = gag.GetInPort( 'Gate' )
- OgagGate = gag.GetOutPort( 'Gate' )
-
- PyMakeSphere_1 = []
- PyMakeSphere_1.append( 'def MakeSphere_1(x1,y1,z1,radius): ' )
- PyMakeSphere_1.append( ' apoint=MakeVertex(x1,y1,z1) ' )
- PyMakeSphere_1.append( ' shape=MakeSpherePntR(apoint,radius) ' )
- PyMakeSphere_1.append( ' return shape ' )
- MakeSphere_1 = GraphGeomEssai_1_1_1_1.INode( 'MakeSphere_1' , PyMakeSphere_1 )
- MakeSphere_1.SetName( 'MakeSphere_1' )
- MakeSphere_1.SetAuthor( '' )
- MakeSphere_1.SetComment( 'Compute Node' )
- MakeSphere_1.Coords( 181 , 86 )
- IMakeSphere_1x1 = MakeSphere_1.InPort( 'x1' , 'double' )
- IMakeSphere_1y1 = MakeSphere_1.InPort( 'y1' , 'double' )
- IMakeSphere_1z1 = MakeSphere_1.InPort( 'z1' , 'double' )
- IMakeSphere_1radius = MakeSphere_1.InPort( 'radius' , 'double' )
- IMakeSphere_1Gate = MakeSphere_1.GetInPort( 'Gate' )
- OMakeSphere_1shape = MakeSphere_1.OutPort( 'shape' , 'objref' )
- OMakeSphere_1Gate = MakeSphere_1.GetOutPort( 'Gate' )
-
- PyMakeCopy_1 = []
- PyMakeCopy_1.append( 'def MakeCopy_1(shape1): ' )
- PyMakeCopy_1.append( ' shape=MakeCopy(shape1) ' )
- PyMakeCopy_1.append( ' return shape ' )
- MakeCopy_1 = GraphGeomEssai_1_1_1_1.INode( 'MakeCopy_1' , PyMakeCopy_1 )
- MakeCopy_1.SetName( 'MakeCopy_1' )
- MakeCopy_1.SetAuthor( '' )
- MakeCopy_1.SetComment( 'Compute Node' )
- MakeCopy_1.Coords( 386 , 2 )
- IMakeCopy_1shape1 = MakeCopy_1.InPort( 'shape1' , 'objref' )
- IMakeCopy_1Gate = MakeCopy_1.GetInPort( 'Gate' )
- OMakeCopy_1shape = MakeCopy_1.OutPort( 'shape' , 'objref' )
- OMakeCopy_1Gate = MakeCopy_1.GetOutPort( 'Gate' )
-
- PyMakeCopy_2 = []
- PyMakeCopy_2.append( 'def MakeCopy_2(shape1): ' )
- PyMakeCopy_2.append( ' shape=MakeCopy(shape1) ' )
- PyMakeCopy_2.append( ' return shape ' )
- MakeCopy_2 = GraphGeomEssai_1_1_1_1.INode( 'MakeCopy_2' , PyMakeCopy_2 )
- MakeCopy_2.SetName( 'MakeCopy_2' )
- MakeCopy_2.SetAuthor( '' )
- MakeCopy_2.SetComment( 'Compute Node' )
- MakeCopy_2.Coords( 388 , 181 )
- IMakeCopy_2shape1 = MakeCopy_2.InPort( 'shape1' , 'objref' )
- IMakeCopy_2Gate = MakeCopy_2.GetInPort( 'Gate' )
- OMakeCopy_2shape = MakeCopy_2.OutPort( 'shape' , 'objref' )
- OMakeCopy_2Gate = MakeCopy_2.GetOutPort( 'Gate' )
-
- PyMakeFuse_1 = []
- PyMakeFuse_1.append( 'def MakeFuse_1(shape1,shape2): ' )
- PyMakeFuse_1.append( ' # fuse operation 3 ' )
- PyMakeFuse_1.append( ' shape = MakeBoolean(shape1,shape2,3) ' )
- PyMakeFuse_1.append( ' from SALOME_NamingServicePy import SALOME_NamingServicePy_i ' )
- PyMakeFuse_1.append( ' myNamingService = SALOME_NamingServicePy_i(orb) ' )
- PyMakeFuse_1.append( ' aSession = myNamingService.Resolve('/Kernel/Session') ' )
- PyMakeFuse_1.append( ' aStudyId = aSession.GetActiveStudyId() ' )
- PyMakeFuse_1.append( ' myStudyManager = myNamingService.Resolve('/myStudyManager') ' )
- PyMakeFuse_1.append( ' aStudy = myStudyManager.GetStudyByID(aStudyId) ' )
- PyMakeFuse_1.append( ' aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ' )
- PyMakeFuse_1.append( ' return shape ' )
- MakeFuse_1 = GraphGeomEssai_1_1_1_1.INode( 'MakeFuse_1' , PyMakeFuse_1 )
- MakeFuse_1.SetName( 'MakeFuse_1' )
- MakeFuse_1.SetAuthor( '' )
- MakeFuse_1.SetComment( 'Compute Node' )
- MakeFuse_1.Coords( 779 , 161 )
- IMakeFuse_1shape1 = MakeFuse_1.InPort( 'shape1' , 'objref' )
- IMakeFuse_1shape2 = MakeFuse_1.InPort( 'shape2' , 'objref' )
- IMakeFuse_1Gate = MakeFuse_1.GetInPort( 'Gate' )
- OMakeFuse_1shape = MakeFuse_1.OutPort( 'shape' , 'objref' )
- OMakeFuse_1Gate = MakeFuse_1.GetOutPort( 'Gate' )
-
- PyMakeTranslation_1 = []
- PyMakeTranslation_1.append( 'def MakeTranslation_1(shape1,x1,y1,z1): ' )
- PyMakeTranslation_1.append( ' shape = MakeTranslation(shape1,x1,y1,z1) ' )
- PyMakeTranslation_1.append( ' return shape' )
- MakeTranslation_1 = GraphGeomEssai_1_1_1_1.INode( 'MakeTranslation_1' , PyMakeTranslation_1 )
- MakeTranslation_1.SetName( 'MakeTranslation_1' )
- MakeTranslation_1.SetAuthor( '' )
- MakeTranslation_1.SetComment( 'Compute Node' )
- MakeTranslation_1.Coords( 580 , 2 )
- IMakeTranslation_1shape1 = MakeTranslation_1.InPort( 'shape1' , 'objref' )
- IMakeTranslation_1x1 = MakeTranslation_1.InPort( 'x1' , 'double' )
- IMakeTranslation_1y1 = MakeTranslation_1.InPort( 'y1' , 'double' )
- IMakeTranslation_1z1 = MakeTranslation_1.InPort( 'z1' , 'double' )
- IMakeTranslation_1Gate = MakeTranslation_1.GetInPort( 'Gate' )
- OMakeTranslation_1shape = MakeTranslation_1.OutPort( 'shape' , 'objref' )
- OMakeTranslation_1Gate = MakeTranslation_1.GetOutPort( 'Gate' )
-
- # Creation of Links
- LgagGateMakeSphere_1Gate = GraphGeomEssai_1_1_1_1.Link( OgagGate , IMakeSphere_1Gate )
-
- LMakeSphere_1shapeMakeCopy_1shape1 = GraphGeomEssai_1_1_1_1.Link( OMakeSphere_1shape , IMakeCopy_1shape1 )
-
- LMakeSphere_1shapeMakeCopy_2shape1 = GraphGeomEssai_1_1_1_1.Link( OMakeSphere_1shape , IMakeCopy_2shape1 )
-
- LMakeSphere_1GateMakeCopy_1Gate = GraphGeomEssai_1_1_1_1.Link( OMakeSphere_1Gate , IMakeCopy_1Gate )
-
- LMakeCopy_1shapeMakeTranslation_1shape1 = GraphGeomEssai_1_1_1_1.Link( OMakeCopy_1shape , IMakeTranslation_1shape1 )
-
- LMakeCopy_1GateMakeCopy_2Gate = GraphGeomEssai_1_1_1_1.Link( OMakeCopy_1Gate , IMakeCopy_2Gate )
- LMakeCopy_1GateMakeCopy_2Gate.AddCoord( 1 , 369 , 276 )
- LMakeCopy_1GateMakeCopy_2Gate.AddCoord( 2 , 560 , 97 )
-
- LMakeCopy_2shapeMakeFuse_1shape2 = GraphGeomEssai_1_1_1_1.Link( OMakeCopy_2shape , IMakeFuse_1shape2 )
-
- LMakeCopy_2GateMakeTranslation_1Gate = GraphGeomEssai_1_1_1_1.Link( OMakeCopy_2Gate , IMakeTranslation_1Gate )
-
- LMakeTranslation_1shapeMakeFuse_1shape1 = GraphGeomEssai_1_1_1_1.Link( OMakeTranslation_1shape , IMakeFuse_1shape1 )
-
- LMakeTranslation_1GateMakeFuse_1Gate = GraphGeomEssai_1_1_1_1.Link( OMakeTranslation_1Gate , IMakeFuse_1Gate )
-
- # Input datas
- IMakeSphere_1x1.Input( 0 )
- IMakeSphere_1y1.Input( 0 )
- IMakeSphere_1z1.Input( 0 )
- IMakeSphere_1radius.Input( 20 )
- IMakeTranslation_1x1.Input( 10 )
- IMakeTranslation_1y1.Input( 10 )
- IMakeTranslation_1z1.Input( 10 )
-
- # Output Ports of the graph
- #OMakeFuse_1shape = MakeFuse_1.GetOutPort( 'shape' )
- return GraphGeomEssai_1_1_1_1
-
-
-GraphGeomEssai_1_1_1_1 = DefGraphGeomEssai_1_1_1_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphGeomEssai_1_1_1_1
-#
-from SuperV import *
-
-# Graph creation of GraphGeomEssai_1_1_1_1
-def DefGraphGeomEssai_1_1_1_1() :
- GraphGeomEssai_1_1_1_1 = Graph( 'GraphGeomEssai_1_1_1_1' )
- GraphGeomEssai_1_1_1_1.SetName( 'GraphGeomEssai_1_1_1_1' )
- GraphGeomEssai_1_1_1_1.SetAuthor( '' )
- GraphGeomEssai_1_1_1_1.SetComment( '' )
- GraphGeomEssai_1_1_1_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- Pygag = []
- Pygag.append( 'from batchmode_geompy import * ' )
- Pygag.append( 'def gag(): ' )
- Pygag.append( ' # This is a gag ' )
- Pygag.append( ' return 1 ' )
- gag = GraphGeomEssai_1_1_1_1.INode( 'gag' , Pygag )
- gag.SetName( 'gag' )
- gag.SetAuthor( '' )
- gag.SetComment( 'Compute Node' )
- gag.Coords( 0 , 166 )
- IgagGate = gag.GetInPort( 'Gate' )
- OgagGate = gag.GetOutPort( 'Gate' )
-
- PyMakeSphere_1 = []
- PyMakeSphere_1.append( 'def MakeSphere_1(x1,y1,z1,radius): ' )
- PyMakeSphere_1.append( ' apoint=MakeVertex(x1,y1,z1) ' )
- PyMakeSphere_1.append( ' shape=MakeSpherePntR(apoint,radius) ' )
- PyMakeSphere_1.append( ' return shape ' )
- MakeSphere_1 = GraphGeomEssai_1_1_1_1.INode( 'MakeSphere_1' , PyMakeSphere_1 )
- MakeSphere_1.SetName( 'MakeSphere_1' )
- MakeSphere_1.SetAuthor( '' )
- MakeSphere_1.SetComment( 'Compute Node' )
- MakeSphere_1.Coords( 181 , 86 )
- IMakeSphere_1x1 = MakeSphere_1.InPort( 'x1' , 'double' )
- IMakeSphere_1y1 = MakeSphere_1.InPort( 'y1' , 'double' )
- IMakeSphere_1z1 = MakeSphere_1.InPort( 'z1' , 'double' )
- IMakeSphere_1radius = MakeSphere_1.InPort( 'radius' , 'double' )
- IMakeSphere_1Gate = MakeSphere_1.GetInPort( 'Gate' )
- OMakeSphere_1shape = MakeSphere_1.OutPort( 'shape' , 'objref' )
- OMakeSphere_1Gate = MakeSphere_1.GetOutPort( 'Gate' )
-
- PyMakeCopy_1 = []
- PyMakeCopy_1.append( 'def MakeCopy_1(shape1): ' )
- PyMakeCopy_1.append( ' shape=MakeCopy(shape1) ' )
- PyMakeCopy_1.append( ' return shape ' )
- MakeCopy_1 = GraphGeomEssai_1_1_1_1.INode( 'MakeCopy_1' , PyMakeCopy_1 )
- MakeCopy_1.SetName( 'MakeCopy_1' )
- MakeCopy_1.SetAuthor( '' )
- MakeCopy_1.SetComment( 'Compute Node' )
- MakeCopy_1.Coords( 386 , 2 )
- IMakeCopy_1shape1 = MakeCopy_1.InPort( 'shape1' , 'objref' )
- IMakeCopy_1Gate = MakeCopy_1.GetInPort( 'Gate' )
- OMakeCopy_1shape = MakeCopy_1.OutPort( 'shape' , 'objref' )
- OMakeCopy_1Gate = MakeCopy_1.GetOutPort( 'Gate' )
-
- PyMakeCopy_2 = []
- PyMakeCopy_2.append( 'def MakeCopy_2(shape1): ' )
- PyMakeCopy_2.append( ' shape=MakeCopy(shape1) ' )
- PyMakeCopy_2.append( ' return shape ' )
- MakeCopy_2 = GraphGeomEssai_1_1_1_1.INode( 'MakeCopy_2' , PyMakeCopy_2 )
- MakeCopy_2.SetName( 'MakeCopy_2' )
- MakeCopy_2.SetAuthor( '' )
- MakeCopy_2.SetComment( 'Compute Node' )
- MakeCopy_2.Coords( 388 , 181 )
- IMakeCopy_2shape1 = MakeCopy_2.InPort( 'shape1' , 'objref' )
- IMakeCopy_2Gate = MakeCopy_2.GetInPort( 'Gate' )
- OMakeCopy_2shape = MakeCopy_2.OutPort( 'shape' , 'objref' )
- OMakeCopy_2Gate = MakeCopy_2.GetOutPort( 'Gate' )
-
- PyMakeFuse_1 = []
- PyMakeFuse_1.append( 'def MakeFuse_1(shape1,shape2): ' )
- PyMakeFuse_1.append( ' # fuse operation 3 ' )
- PyMakeFuse_1.append( ' shape = MakeBoolean(shape1,shape2,3) ' )
- PyMakeFuse_1.append( ' from SALOME_NamingServicePy import SALOME_NamingServicePy_i ' )
- PyMakeFuse_1.append( ' myNamingService = SALOME_NamingServicePy_i(orb) ' )
- PyMakeFuse_1.append( ' aSession = myNamingService.Resolve('/Kernel/Session') ' )
- PyMakeFuse_1.append( ' aStudyId = aSession.GetActiveStudyId() ' )
- PyMakeFuse_1.append( ' myStudyManager = myNamingService.Resolve('/myStudyManager') ' )
- PyMakeFuse_1.append( ' aStudy = myStudyManager.GetStudyByID(aStudyId) ' )
- PyMakeFuse_1.append( ' aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ' )
- PyMakeFuse_1.append( ' return shape ' )
- MakeFuse_1 = GraphGeomEssai_1_1_1_1.INode( 'MakeFuse_1' , PyMakeFuse_1 )
- MakeFuse_1.SetName( 'MakeFuse_1' )
- MakeFuse_1.SetAuthor( '' )
- MakeFuse_1.SetComment( 'Compute Node' )
- MakeFuse_1.Coords( 779 , 161 )
- IMakeFuse_1shape1 = MakeFuse_1.InPort( 'shape1' , 'objref' )
- IMakeFuse_1shape2 = MakeFuse_1.InPort( 'shape2' , 'objref' )
- IMakeFuse_1Gate = MakeFuse_1.GetInPort( 'Gate' )
- OMakeFuse_1shape = MakeFuse_1.OutPort( 'shape' , 'objref' )
- OMakeFuse_1Gate = MakeFuse_1.GetOutPort( 'Gate' )
-
- PyMakeTranslation_1 = []
- PyMakeTranslation_1.append( 'def MakeTranslation_1(shape1,x1,y1,z1): ' )
- PyMakeTranslation_1.append( ' shape = MakeTranslation(shape1,x1,y1,z1) ' )
- PyMakeTranslation_1.append( ' return shape' )
- MakeTranslation_1 = GraphGeomEssai_1_1_1_1.INode( 'MakeTranslation_1' , PyMakeTranslation_1 )
- MakeTranslation_1.SetName( 'MakeTranslation_1' )
- MakeTranslation_1.SetAuthor( '' )
- MakeTranslation_1.SetComment( 'Compute Node' )
- MakeTranslation_1.Coords( 580 , 2 )
- IMakeTranslation_1shape1 = MakeTranslation_1.InPort( 'shape1' , 'objref' )
- IMakeTranslation_1x1 = MakeTranslation_1.InPort( 'x1' , 'double' )
- IMakeTranslation_1y1 = MakeTranslation_1.InPort( 'y1' , 'double' )
- IMakeTranslation_1z1 = MakeTranslation_1.InPort( 'z1' , 'double' )
- IMakeTranslation_1Gate = MakeTranslation_1.GetInPort( 'Gate' )
- OMakeTranslation_1shape = MakeTranslation_1.OutPort( 'shape' , 'objref' )
- OMakeTranslation_1Gate = MakeTranslation_1.GetOutPort( 'Gate' )
-
- # Creation of Links
- LgagGateMakeSphere_1Gate = GraphGeomEssai_1_1_1_1.Link( OgagGate , IMakeSphere_1Gate )
-
- LMakeSphere_1shapeMakeCopy_1shape1 = GraphGeomEssai_1_1_1_1.Link( OMakeSphere_1shape , IMakeCopy_1shape1 )
-
- LMakeSphere_1shapeMakeCopy_2shape1 = GraphGeomEssai_1_1_1_1.Link( OMakeSphere_1shape , IMakeCopy_2shape1 )
-
- LMakeCopy_1shapeMakeTranslation_1shape1 = GraphGeomEssai_1_1_1_1.Link( OMakeCopy_1shape , IMakeTranslation_1shape1 )
-
- LMakeCopy_2shapeMakeFuse_1shape2 = GraphGeomEssai_1_1_1_1.Link( OMakeCopy_2shape , IMakeFuse_1shape2 )
-
- LMakeTranslation_1shapeMakeFuse_1shape1 = GraphGeomEssai_1_1_1_1.Link( OMakeTranslation_1shape , IMakeFuse_1shape1 )
-
- # Input datas
- IMakeSphere_1x1.Input( 0 )
- IMakeSphere_1y1.Input( 0 )
- IMakeSphere_1z1.Input( 0 )
- IMakeSphere_1radius.Input( 20 )
- IMakeTranslation_1x1.Input( 10 )
- IMakeTranslation_1y1.Input( 10 )
- IMakeTranslation_1z1.Input( 10 )
-
- # Output Ports of the graph
- #OMakeFuse_1shape = MakeFuse_1.GetOutPort( 'shape' )
- return GraphGeomEssai_1_1_1_1
-
-
-GraphGeomEssai_1_1_1_1 = DefGraphGeomEssai_1_1_1_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow
-def DefaNewDataFlow() :
- aNewDataFlow = Graph( 'aNewDataFlow' )
- aNewDataFlow.SetName( 'aNewDataFlow' )
- aNewDataFlow.SetAuthor( '' )
- aNewDataFlow.SetComment( '' )
- aNewDataFlow.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyVoidFunction = []
- PyVoidFunction.append( 'import salome ' )
- PyVoidFunction.append( 'def VoidFunction() : ' )
- PyVoidFunction.append( ' print 'VoidFunction()' ' )
- PyVoidFunction.append( ' return 'Done' ' )
- PyVoidFunction.append( '' )
- VoidFunction = aNewDataFlow.INode( 'VoidFunction' , PyVoidFunction )
- VoidFunction.SetName( 'VoidFunction' )
- VoidFunction.SetAuthor( '' )
- VoidFunction.SetComment( 'Compute Node' )
- VoidFunction.Coords( 60 , 58 )
- IVoidFunctionGate = VoidFunction.GetInPort( 'Gate' )
- OVoidFunctionDone = VoidFunction.OutPort( 'Done' , 'string' )
- OVoidFunctionGate = VoidFunction.GetOutPort( 'Gate' )
-
- # Output Ports of the graph
- #OVoidFunctionDone = VoidFunction.GetOutPort( 'Done' )
- return aNewDataFlow
-
-
-aNewDataFlow = DefaNewDataFlow()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphInLines
-#
-from SuperV import *
-# Graph creation
-GraphInLines = Graph( 'GraphInLines' )
-GraphInLines.SetName( 'GraphInLines' )
-GraphInLines.SetAuthor( '' )
-GraphInLines.SetComment( '' )
-GraphInLines.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-# Creation of InLine Nodes
-PyAdd = []
-PyAdd.append( 'def Add(a,b) : ' )
-PyAdd.append( ' return a+b ' )
-PyAdd.append( '' )
-Add = GraphInLines.INode( 'Add' , PyAdd )
-Add.InPort( 'a' , 'long' )
-Add.InPort( 'b' , 'long' )
-Add.OutPort( 'f' , 'long' )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetComment( 'Python function' )
-Add.Coords( 351 , 77 )
-
-PySub = []
-PySub.append( 'def Sub(a,b) : ' )
-PySub.append( ' return a-b ' )
-PySub.append( '' )
-Sub = GraphInLines.INode( 'Sub' , PySub )
-Sub.InPort( 'a' , 'long' )
-Sub.InPort( 'b' , 'long' )
-Sub.OutPort( 'f' , 'long' )
-Sub.SetName( 'Sub' )
-Sub.SetAuthor( '' )
-Sub.SetComment( 'Python function' )
-Sub.Coords( 86 , 333 )
-
-PyMul = []
-PyMul.append( 'def Mul(a,b) : ' )
-PyMul.append( ' return a*b ' )
-Mul = GraphInLines.INode( 'Mul' , PyMul )
-Mul.InPort( 'a' , 'long' )
-Mul.InPort( 'b' , 'long' )
-Mul.OutPort( 'Result' , 'long' )
-Mul.SetName( 'Mul' )
-Mul.SetAuthor( '' )
-Mul.SetComment( 'Python function' )
-Mul.Coords( 616 , 247 )
-
-# Creation of Links
-Addf = Add.Port( 'f' )
-Mula = GraphInLines.Link( Addf , Mul.Port( 'a' ) )
-Mula.AddCoord( 1 , 569 , 326 )
-Mula.AddCoord( 2 , 569 , 158 )
-
-Subf = Sub.Port( 'f' )
-Mulb = GraphInLines.Link( Subf , Mul.Port( 'b' ) )
-Mulb.AddCoord( 1 , 283 , 358 )
-Mulb.AddCoord( 2 , 281 , 413 )
-
-Addb = GraphInLines.Link( Subf , Add.Port( 'b' ) )
-Addb.AddCoord( 1 , 283 , 187 )
-Addb.AddCoord( 2 , 282 , 356 )
-Addb.AddCoord( 3 , 281 , 414 )
-
-# Creation of Input datas
-Adda = Add.Input( 'a' , 1)
-Suba = Sub.Input( 'a' , 3)
-Subb = Sub.Input( 'b' , 4)
-
-# Creation of Output variables
-MulResult = Mul.Port( 'Result' )
-
-GraphInLines.Run()
-
-GraphInLines.DoneW()
-
-GraphInLines.PrintPorts()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphInLines
-#
-from SuperV import *
-# Graph creation
-GraphInLinesParall = Graph( 'GraphInLinesParall' )
-GraphInLinesParall.SetName( 'GraphInLinesParall' )
-GraphInLinesParall.SetAuthor( '' )
-GraphInLinesParall.SetComment( '' )
-GraphInLinesParall.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-# Creation of InLine Nodes
-PyAdd = []
-PyAdd.append( 'import time ' )
-PyAdd.append( 'def Add(a,b) : ' )
-PyAdd.append( ' print "Add will wait 5 seconds" ' )
-PyAdd.append( ' time.sleep(5) ' )
-PyAdd.append( ' print "Add waited" ' )
-PyAdd.append( ' return a+b ' )
-PyAdd.append( '' )
-Add = GraphInLinesParall.INode( 'Add' , PyAdd )
-Add.InPort( 'a' , 'long' )
-Add.InPort( 'b' , 'long' )
-Add.OutPort( 'f' , 'long' )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetComment( 'Python function' )
-Add.Coords( 351 , 77 )
-
-PySub = []
-PySub.append( 'def Sub(a,b) : ' )
-PySub.append( ' return a-b ' )
-PySub.append( '' )
-Sub = GraphInLinesParall.INode( 'Sub' , PySub )
-Sub.InPort( 'a' , 'long' )
-Sub.InPort( 'b' , 'long' )
-Sub.OutPort( 'f' , 'long' )
-Sub.SetName( 'Sub' )
-Sub.SetAuthor( '' )
-Sub.SetComment( 'Python function' )
-Sub.Coords( 86 , 333 )
-
-PyMul = []
-PyMul.append( 'import time ' )
-PyMul.append( 'def Mul(a,b) : ' )
-PyMul.append( ' print "Mul will wait 5 seconds" ' )
-PyMul.append( ' time.sleep(5) ' )
-PyMul.append( ' print "Mul waited" ' )
-PyMul.append( ' return a*b ' )
-Mul = GraphInLinesParall.INode( 'Mul' , PyMul )
-Mul.InPort( 'a' , 'long' )
-Mul.InPort( 'b' , 'long' )
-Mul.OutPort( 'Result' , 'long' )
-Mul.SetName( 'Mul' )
-Mul.SetAuthor( '' )
-Mul.SetComment( 'Python function' )
-Mul.Coords( 616 , 247 )
-
-# Creation of Links
-Subf = Sub.Port( 'f' )
-Mulb = GraphInLinesParall.Link( Subf , Mul.Port( 'b' ) )
-Mulb.AddCoord( 1 , 583 , 357 )
-Mulb.AddCoord( 2 , 583 , 413 )
-Mulb.AddCoord( 3 , 282 , 413 )
-
-Addb = GraphInLinesParall.Link( Subf , Add.Port( 'b' ) )
-Addb.AddCoord( 1 , 282 , 186 )
-Addb.AddCoord( 2 , 283 , 413 )
-
-Mula = GraphInLinesParall.Link( Subf , Mul.Port( 'a' ) )
-Mula.AddCoord( 1 , 583 , 328 )
-Mula.AddCoord( 2 , 583 , 412 )
-
-# Creation of Input datas
-Adda = Add.Input( 'a' , 1)
-Suba = Sub.Input( 'a' , 3)
-Subb = Sub.Input( 'b' , 4)
-
-# Creation of Output variables
-Addf = Add.Port( 'f' )
-MulResult = Mul.Port( 'Result' )
-
-GraphInLinesParall.Run()
-GraphInLinesParall.DoneW()
-GraphInLinesParall.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphInLinesConvertCheck
-#
-from SuperV import *
-# Graph creation
-GraphInLinesConvertCheck = Graph( 'GraphInLinesConvertCheck' )
-GraphInLinesConvertCheck.SetName( 'GraphInLinesConvertCheck' )
-GraphInLinesConvertCheck.SetAuthor( 'JR' )
-GraphInLinesConvertCheck.SetComment( '' )
-GraphInLinesConvertCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-Addition = GraphInLinesConvertCheck.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
-Addition.SetName( 'Addition' )
-Addition.SetAuthor( '' )
-Addition.SetContainer( 'localhost/FactoryServer' )
-Addition.SetComment( 'Addition from AddComponent' )
-Addition.Coords( 232 , 514 )
-
-# Creation of InLine Nodes
-PyBoolCheck = []
-PyBoolCheck.append( 'def BoolCheck( InBool ) : ' )
-PyBoolCheck.append( ' return InBool ' )
-PyBoolCheck.append( '' )
-BoolCheck = GraphInLinesConvertCheck.INode( 'BoolCheck' , PyBoolCheck )
-BoolCheck.InPort( 'InBool' , 'boolean' )
-BoolCheck.OutPort( 'OutBool' , 'boolean' )
-BoolCheck.SetName( 'BoolCheck' )
-BoolCheck.SetAuthor( '' )
-BoolCheck.SetComment( 'InLine Node' )
-BoolCheck.Coords( 234 , 92 )
-
-PyCharCheck = []
-PyCharCheck.append( 'def CharCheck( InChar ) : ' )
-PyCharCheck.append( ' return InChar ' )
-PyCharCheck.append( '' )
-CharCheck = GraphInLinesConvertCheck.INode( 'CharCheck' , PyCharCheck )
-CharCheck.InPort( 'InChar' , 'char' )
-CharCheck.OutPort( 'OutChar' , 'char' )
-CharCheck.SetName( 'CharCheck' )
-CharCheck.SetAuthor( '' )
-CharCheck.SetComment( 'InLine Node' )
-CharCheck.Coords( 30 , 142 )
-
-PyShortCheck = []
-PyShortCheck.append( 'def ShortCheck( InShort ) : ' )
-PyShortCheck.append( ' return InShort ' )
-PyShortCheck.append( '' )
-ShortCheck = GraphInLinesConvertCheck.INode( 'ShortCheck' , PyShortCheck )
-ShortCheck.InPort( 'InShort' , 'short' )
-ShortCheck.OutPort( 'OutShort' , 'short' )
-ShortCheck.SetName( 'ShortCheck' )
-ShortCheck.SetAuthor( '' )
-ShortCheck.SetComment( 'InLine Node' )
-ShortCheck.Coords( 234 , 230 )
-
-PyFloatCheck = []
-PyFloatCheck.append( 'def FloatCheck( InFloat ) : ' )
-PyFloatCheck.append( ' return InFloat ' )
-PyFloatCheck.append( '' )
-FloatCheck = GraphInLinesConvertCheck.INode( 'FloatCheck' , PyFloatCheck )
-FloatCheck.InPort( 'InFloat' , 'float' )
-FloatCheck.OutPort( 'OutFloat' , 'float' )
-FloatCheck.SetName( 'FloatCheck' )
-FloatCheck.SetAuthor( '' )
-FloatCheck.SetComment( 'InLine Node' )
-FloatCheck.Coords( 230 , 375 )
-
-PyLongCheck = []
-PyLongCheck.append( 'def LongCheck( InLong ) : ' )
-PyLongCheck.append( ' return InLong ' )
-PyLongCheck.append( '' )
-LongCheck = GraphInLinesConvertCheck.INode( 'LongCheck' , PyLongCheck )
-LongCheck.InPort( 'InLong' , 'long' )
-LongCheck.OutPort( 'OutLong' , 'long' )
-LongCheck.SetName( 'LongCheck' )
-LongCheck.SetAuthor( '' )
-LongCheck.SetComment( 'InLine Node' )
-LongCheck.Coords( 30 , 282 )
-
-PyStringCheck = []
-PyStringCheck.append( 'def StringCheck( aString ) : ' )
-PyStringCheck.append( ' return aString ' )
-PyStringCheck.append( '' )
-StringCheck = GraphInLinesConvertCheck.INode( 'StringCheck' , PyStringCheck )
-StringCheck.InPort( 'InString' , 'string' )
-StringCheck.OutPort( 'OutString' , 'string' )
-StringCheck.SetName( 'StringCheck' )
-StringCheck.SetAuthor( '' )
-StringCheck.SetComment( 'InLine Node' )
-StringCheck.Coords( 30 , 6 )
-
-PyDoubleCheck = []
-PyDoubleCheck.append( 'def DoubleCheck( InDouble ) : ' )
-PyDoubleCheck.append( ' return InDouble ' )
-PyDoubleCheck.append( '' )
-DoubleCheck = GraphInLinesConvertCheck.INode( 'DoubleCheck' , PyDoubleCheck )
-DoubleCheck.InPort( 'InDouble' , 'double' )
-DoubleCheck.OutPort( 'OutDouble' , 'double' )
-DoubleCheck.SetName( 'DoubleCheck' )
-DoubleCheck.SetAuthor( '' )
-DoubleCheck.SetComment( 'Compute Node' )
-DoubleCheck.Coords( 23 , 427 )
-
-PyMiscTypes = []
-PyMiscTypes.append( 'def MiscTypes( InString , InBool , InChar , InShort , InLong , InFloat , InDouble , InObjRef ) : ' )
-PyMiscTypes.append( ' return InString,InBool,InChar,InShort,InLong,InFloat,InDouble,InObjRef ' )
-MiscTypes = GraphInLinesConvertCheck.INode( 'MiscTypes' , PyMiscTypes )
-MiscTypes.InPort( 'InString' , 'string' )
-MiscTypes.InPort( 'InBool' , 'boolean' )
-MiscTypes.InPort( 'InChar' , 'char' )
-MiscTypes.InPort( 'InShort' , 'short' )
-MiscTypes.InPort( 'InLong' , 'long' )
-MiscTypes.InPort( 'InFloat' , 'float' )
-MiscTypes.InPort( 'InDouble' , 'double' )
-MiscTypes.InPort( 'InObjRef' , 'SuperVision::Adder' )
-MiscTypes.OutPort( 'OutString' , 'string' )
-MiscTypes.OutPort( 'OutBool' , 'boolean' )
-MiscTypes.OutPort( 'OutChar' , 'char' )
-MiscTypes.OutPort( 'OutShort' , 'short' )
-MiscTypes.OutPort( 'OutLong' , 'long' )
-MiscTypes.OutPort( 'OutFloat' , 'float' )
-MiscTypes.OutPort( 'OutDouble' , 'double' )
-MiscTypes.OutPort( 'OutObjRef' , 'SuperVisionTest::Addre' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetComment( 'InLine Node' )
-MiscTypes.Coords( 477 , 231 )
-
-# Creation of Links
-BoolCheckOutBool = BoolCheck.Port( 'OutBool' )
-MiscTypesInBool = GraphInLinesConvertCheck.Link( BoolCheckOutBool , MiscTypes.Port( 'InBool' ) )
-MiscTypesInBool.AddCoord( 1 , 446 , 341 )
-MiscTypesInBool.AddCoord( 2 , 446 , 172 )
-
-CharCheckOutChar = CharCheck.Port( 'OutChar' )
-MiscTypesInChar = GraphInLinesConvertCheck.Link( CharCheckOutChar , MiscTypes.Port( 'InChar' ) )
-MiscTypesInChar.AddCoord( 1 , 431 , 368 )
-MiscTypesInChar.AddCoord( 2 , 431 , 223 )
-
-ShortCheckOutShort = ShortCheck.Port( 'OutShort' )
-MiscTypesInShort = GraphInLinesConvertCheck.Link( ShortCheckOutShort , MiscTypes.Port( 'InShort' ) )
-MiscTypesInShort.AddCoord( 1 , 415 , 397 )
-MiscTypesInShort.AddCoord( 2 , 414 , 310 )
-
-FloatCheckOutFloat = FloatCheck.Port( 'OutFloat' )
-MiscTypesInFloat = GraphInLinesConvertCheck.Link( FloatCheckOutFloat , MiscTypes.Port( 'InFloat' ) )
-
-AdditionAdder = Addition.Port( 'Adder' )
-MiscTypesInObjRef = GraphInLinesConvertCheck.Link( AdditionAdder , MiscTypes.Port( 'InObjRef' ) )
-MiscTypesInObjRef.AddCoord( 1 , 462 , 514 )
-MiscTypesInObjRef.AddCoord( 2 , 461 , 593 )
-
-LongCheckOutLong = LongCheck.Port( 'OutLong' )
-MiscTypesInLong = GraphInLinesConvertCheck.Link( LongCheckOutLong , MiscTypes.Port( 'InLong' ) )
-MiscTypesInLong.AddCoord( 1 , 406 , 426 )
-MiscTypesInLong.AddCoord( 2 , 405 , 363 )
-
-StringCheckOutString = StringCheck.Port( 'OutString' )
-MiscTypesInString = GraphInLinesConvertCheck.Link( StringCheckOutString , MiscTypes.Port( 'InString' ) )
-MiscTypesInString.AddCoord( 1 , 462 , 312 )
-MiscTypesInString.AddCoord( 2 , 461 , 87 )
-
-DoubleCheckOutDouble = DoubleCheck.Port( 'OutDouble' )
-MiscTypesInDouble = GraphInLinesConvertCheck.Link( DoubleCheckOutDouble , MiscTypes.Port( 'InDouble' ) )
-MiscTypesInDouble.AddCoord( 1 , 445 , 485 )
-MiscTypesInDouble.AddCoord( 2 , 445 , 508 )
-
-# Creation of Input datas
-BoolCheckInBool = BoolCheck.Input( 'InBool' , 1)
-CharCheckInChar = CharCheck.Input( 'InChar' , 255)
-ShortCheckInShort = ShortCheck.Input( 'InShort' , 16383)
-FloatCheckInFloat = FloatCheck.Input( 'InFloat' , 3.14159)
-LongCheckInLong = LongCheck.Input( 'InLong' , 1234567890)
-StringCheckInString = StringCheck.Input( 'InString' , 'aString')
-DoubleCheckInDouble = DoubleCheck.Input( 'InDouble' , 1.23457)
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphInLinesConvertCheck.Run()
-GraphInLinesConvertCheck.DoneW()
-GraphInLinesConvertCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphInLinesUnValid
-#
-from SuperV import *
-# Graph creation
-GraphInLinesUnValid = Graph( 'GraphInLinesUnValid' )
-GraphInLinesUnValid.SetName( 'GraphInLinesUnValid' )
-GraphInLinesUnValid.SetAuthor( '' )
-GraphInLinesUnValid.SetComment( '' )
-GraphInLinesUnValid.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-# Creation of InLine Nodes
-PyAdd = []
-PyAdd.append( 'def Add(a,b) : ' )
-PyAdd.append( ' return a+b ' )
-PyAdd.append( '' )
-Add = GraphInLinesUnValid.INode( 'Add' , PyAdd )
-Add.InPort( 'a' , 'long' )
-Add.InPort( 'b' , 'long' )
-Add.OutPort( 'f' , 'long' )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetComment( 'Python function' )
-Add.Coords( 257 , 13 )
-
-PySub = []
-PySub.append( 'def Sub(a,b) : ' )
-PySub.append( ' return a-b ' )
-PySub.append( '' )
-Sub = GraphInLinesUnValid.INode( 'Sub' , PySub )
-Sub.InPort( 'a' , 'long' )
-Sub.InPort( 'b' , 'long' )
-Sub.OutPort( 'f' , 'long' )
-Sub.SetName( 'Sub' )
-Sub.SetAuthor( '' )
-Sub.SetComment( 'Python function' )
-Sub.Coords( 20 , 152 )
-
-PyMul = []
-PyMul.append( 'def Mul(a,b) : ' )
-PyMul.append( ' return a*b ' )
-Mul = GraphInLinesUnValid.INode( 'Mul' , PyMul )
-Mul.InPort( 'a' , 'long' )
-Mul.InPort( 'b' , 'long' )
-Mul.OutPort( 'Result' , 'long' )
-Mul.SetName( 'Mul' )
-Mul.SetAuthor( '' )
-Mul.SetComment( 'Python function' )
-Mul.Coords( 469 , 125 )
-
-# Creation of Links
-Addf = Add.Port( 'f' )
-Mula = GraphInLinesUnValid.Link( Addf , Mul.Port( 'a' ) )
-Mula.AddCoord( 1 , 451 , 205 )
-Mula.AddCoord( 2 , 450 , 93 )
-
-Subf = Sub.Port( 'f' )
-Mulb = GraphInLinesUnValid.Link( Subf , Mul.Port( 'b' ) )
-
-Addb = GraphInLinesUnValid.Link( Subf , Add.Port( 'b' ) )
-Addb.AddCoord( 1 , 235 , 122 )
-Addb.AddCoord( 2 , 236 , 232 )
-
-MulResult = Mul.Port( 'Result' )
-Adda = GraphInLinesUnValid.Link( MulResult , Add.Port( 'a' ) )
-Adda.AddCoord( 1 , 8 , 92 )
-Adda.AddCoord( 2 , 7 , 332 )
-Adda.AddCoord( 3 , 645 , 334 )
-Adda.AddCoord( 4 , 645 , 204 )
-
-statexec = GraphInLinesUnValid.IsExecutable()
-if statexec != 0 :
- print "ERROR : GraphInLinesUnValid should not be executable"
-else :
- print "Ok : GraphInLinesUnValid is not executable"
-
-# Creation of Output variables
-statrun = GraphInLinesUnValid.Run()
-if statrun != 0 :
- print "ERROR : GraphInLinesUnValid should not run"
-else :
- print "Ok : GraphInLinesUnValid does not run"
-
-
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow_4
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow_4
-def DefaNewDataFlow_4() :
- aNewDataFlow_4 = Graph( 'aNewDataFlow_4' )
- aNewDataFlow_4.SetName( 'aNewDataFlow_4' )
- aNewDataFlow_4.SetAuthor( '' )
- aNewDataFlow_4.SetComment( '' )
- aNewDataFlow_4.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyMulNode = []
- PyMulNode.append( 'def MulNode(a,b): ' )
- PyMulNode.append( ' c = a*b ' )
- PyMulNode.append( ' return c ' )
- MulNode = aNewDataFlow_4.INode( 'MulNode' , PyMulNode )
- MulNode.SetName( 'MulNode' )
- MulNode.SetAuthor( '' )
- MulNode.SetComment( 'Compute Node' )
- MulNode.Coords( 0 , 0 )
- IMulNodea = MulNode.InPort( 'a' , 'double' )
- IMulNodeb = MulNode.InPort( 'b' , 'double' )
- IMulNodeGate = MulNode.GetInPort( 'Gate' )
- OMulNodec = MulNode.OutPort( 'c' , 'string' )
- OMulNodeGate = MulNode.GetOutPort( 'Gate' )
-
- # Input datas
- IMulNodea.Input( 10.5 )
- IMulNodeb.Input( 2 )
-
- # Output Ports of the graph
- #OMulNodec = MulNode.GetOutPort( 'c' )
- return aNewDataFlow_4
-
-
-aNewDataFlow_4 = DefaNewDataFlow_4()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphInputInLoop_2_1
-#
-from SuperV import *
-
-# Graph creation of GraphInputInLoop_2_1
-def DefGraphInputInLoop_2_1() :
- GraphInputInLoop_2_1 = Graph( 'GraphInputInLoop_2_1' )
- GraphInputInLoop_2_1.SetName( 'GraphInputInLoop_2_1' )
- GraphInputInLoop_2_1.SetAuthor( '' )
- GraphInputInLoop_2_1.SetComment( '' )
- GraphInputInLoop_2_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a,Even,Const) : ' )
- PyIsOdd.append( ' print 'IsOdd',a,Even,Const ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a,Const ' )
- IsOdd = GraphInputInLoop_2_1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 5 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddEven = IsOdd.InPort( 'Even' , 'boolean' )
- IIsOddConst = IsOdd.InPort( 'Const' , 'string' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddConst = IsOdd.OutPort( 'Const' , 'string' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphInputInLoop_2_1.LNode( '' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 770 , 147 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphInputInLoop_2_1.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 588 , 147 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a) : ' )
- PyEndSwitch.append( ' if ( a & 1 ) == 0 : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- 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
- LIsOddaEndSwitcha = GraphInputInLoop_2_1.Link( OIsOdda , IEndSwitcha )
- LIsOddaEndSwitcha.AddCoord( 1 , 573 , 178 )
- LIsOddaEndSwitcha.AddCoord( 2 , 573 , 76 )
-
- LInitLoopIndexSwitcha = GraphInputInLoop_2_1.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphInputInLoop_2_1.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphInputInLoop_2_1.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphInputInLoop_2_1.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenIsOddEven = GraphInputInLoop_2_1.Link( OSwitchEven , IIsOddEven )
-
- LSwitchaIsOdda = GraphInputInLoop_2_1.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 366 , 71 )
- LSwitchaIsOdda.AddCoord( 2 , 366 , 182 )
-
- LSwitchDefaultEndSwitchDefault = GraphInputInLoop_2_1.Link( OSwitchDefault , IEndSwitchDefault )
-
- LEndSwitchaEndOfInitLoopIndex = GraphInputInLoop_2_1.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- # Input datas
- IIsOddConst.Input( 'Const Input Value' )
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 0 )
- IInitLoopMax.Input( 23 )
-
- # Output Ports of the graph
- #OIsOddConst = IsOdd.GetOutPort( 'Const' )
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- return GraphInputInLoop_2_1
-
-
-GraphInputInLoop_2_1 = DefGraphInputInLoop_2_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-from GraphEssai import *
-import time
-
-exec GraphEssai.ListNodes('GraphEssai')
-
-GraphEssai.Run()
-time.sleep(10)
-GraphEssai.Kill()
-print 'Add :',Add.State()
-print 'Sub :',Sub.State()
-print 'Mul :',Mul.State()
-print 'Div :',Div.State()
-print 'GraphEssai :',GraphEssai.State()
-
-
-GraphEssai.Run()
-time.sleep(5)
-GraphEssai.Suspend()
-print 'Add :',Add.State()
-print 'Sub :',Sub.State()
-print 'Mul :',Mul.State()
-print 'Div :',Div.State()
-print 'GraphEssai :',GraphEssai.State()
-GraphEssai.Resume()
-time.sleep(5)
-print 'Add :',Add.State()
-print 'Sub :',Sub.State()
-print 'Mul :',Mul.State()
-print 'Div :',Div.State()
-print 'GraphEssai :',GraphEssai.State()
-
-GraphEssai.DoneW()
-GraphEssai.PrintPorts()
-time.sleep(1)
-print 'Add :',Add.State()
-print 'Sub :',Sub.State()
-print 'Mul :',Mul.State()
-print 'Div :',Div.State()
-print 'GraphEssai :',GraphEssai.State()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoop
-#
-from SuperV import *
-
-# Graph creation of GraphLoop
-def DefGraphLoop() :
- GraphLoop = Graph( 'GraphLoop' )
- GraphLoop.SetName( 'GraphLoop' )
- GraphLoop.SetAuthor( '' )
- GraphLoop.SetComment( '' )
- GraphLoop.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'def Init(Index,Min,Max,Incr) : ' )
- PyInit.append( ' if Min <= Max : ' )
- PyInit.append( ' Index = Min ' )
- PyInit.append( ' else : ' )
- PyInit.append( ' Index = Max ' )
- PyInit.append( ' return Index,Min,Max,Incr ' )
- PyMoreInit = []
- PyMoreInit.append( 'import time ' )
- PyMoreInit.append( 'def More(Index,Min,Max,Incr) : ' )
- PyMoreInit.append( ' time.sleep(2) ' )
- PyMoreInit.append( ' if Index < Max : ' )
- PyMoreInit.append( ' DoLoop = 1 ' )
- PyMoreInit.append( ' else : ' )
- PyMoreInit.append( ' DoLoop = 0 ' )
- PyMoreInit.append( ' return DoLoop,Index,Min,Max,Incr ' )
- PyNextInit = []
- PyNextInit.append( 'def Next(Index,Min,Max,Incr) : ' )
- PyNextInit.append( ' Index = Index + Incr ' )
- PyNextInit.append( ' return Index,Min,Max,Incr ' )
- Init,EndInit = GraphLoop.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( '' )
- EndInit.SetComment( 'Compute Node' )
- EndInit.Coords( 366 , 262 )
- PyEndInit = []
- EndInit.SetPyFunction( '' , PyEndInit )
- IInitInitLoop = Init.GetInPort( 'DoLoop' )
- IInitIndex = Init.InPort( 'Index' , 'long' )
- IInitMin = Init.InPort( 'Min' , 'long' )
- IInitMax = Init.InPort( 'Max' , 'long' )
- IInitIncr = Init.InPort( 'Incr' , 'long' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitIndex = Init.GetOutPort( 'Index' )
- OInitMin = Init.GetOutPort( 'Min' )
- OInitMax = Init.GetOutPort( 'Max' )
- OInitIncr = Init.GetOutPort( 'Incr' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitIndex = EndInit.GetInPort( 'Index' )
- IEndInitMin = EndInit.GetInPort( 'Min' )
- IEndInitMax = EndInit.GetInPort( 'Max' )
- IEndInitIncr = EndInit.GetInPort( 'Incr' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitIndex = EndInit.GetOutPort( 'Index' )
- OEndInitMin = EndInit.GetOutPort( 'Min' )
- OEndInitMax = EndInit.GetOutPort( 'Max' )
- OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- Init.SetName( 'Init' )
- Init.SetAuthor( '' )
- Init.SetComment( 'Compute Node' )
- Init.Coords( 17 , 257 )
-
- # Creation of Links
- LInitIndexEndInitIndex = GraphLoop.Link( OInitIndex , IEndInitIndex )
-
- LInitMinEndInitMin = GraphLoop.Link( OInitMin , IEndInitMin )
-
- LInitMaxEndInitMax = GraphLoop.Link( OInitMax , IEndInitMax )
-
- LInitIncrEndInitIncr = GraphLoop.Link( OInitIncr , IEndInitIncr )
-
- # Input datas
- IInitIndex.Input( 0 )
- IInitMin.Input( 5 )
- IInitMax.Input( 10 )
- IInitIncr.Input( 1 )
-
- # Output Ports of the graph
- #OEndInitIndex = EndInit.GetOutPort( 'Index' )
- #OEndInitMin = EndInit.GetOutPort( 'Min' )
- #OEndInitMax = EndInit.GetOutPort( 'Max' )
- #OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- return GraphLoop
-
-
-GraphLoop = DefGraphLoop()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoop1
-#
-from SuperV import *
-
-# Graph creation of GraphLoop1
-def DefGraphLoop1() :
- GraphLoop1 = Graph( 'GraphLoop1' )
- GraphLoop1.SetName( 'GraphLoop1' )
- GraphLoop1.SetAuthor( '' )
- GraphLoop1.SetComment( '' )
- GraphLoop1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyNodeIndex = []
- NodeIndex = GraphLoop1.INode( '' , PyNodeIndex )
- NodeIndex.SetName( 'NodeIndex' )
- NodeIndex.SetAuthor( '' )
- NodeIndex.SetComment( 'Compute Node' )
- NodeIndex.Coords( 281 , 215 )
- INodeIndexIndex = NodeIndex.InPort( 'Index' , 'long' )
- INodeIndexGate = NodeIndex.GetInPort( 'Gate' )
- ONodeIndexIndex = NodeIndex.OutPort( 'Index' , 'long' )
- ONodeIndexGate = NodeIndex.GetOutPort( 'Gate' )
-
- PyNodeIncr = []
- NodeIncr = GraphLoop1.INode( '' , PyNodeIncr )
- NodeIncr.SetName( 'NodeIncr' )
- NodeIncr.SetAuthor( '' )
- NodeIncr.SetComment( 'Compute Node' )
- NodeIncr.Coords( 278 , 372 )
- INodeIncrIncr = NodeIncr.InPort( 'Incr' , 'long' )
- INodeIncrGate = NodeIncr.GetInPort( 'Gate' )
- ONodeIncrIncr = NodeIncr.OutPort( 'Incr' , 'long' )
- ONodeIncrGate = NodeIncr.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'def Init(Index,Min,Max,Incr) : ' )
- PyInit.append( ' if Min <= Max : ' )
- PyInit.append( ' Index = Min ' )
- PyInit.append( ' else : ' )
- PyInit.append( ' Index = Max ' )
- PyInit.append( ' return Index,Min,Max,Incr ' )
- PyMoreInit = []
- PyMoreInit.append( 'import time ' )
- PyMoreInit.append( 'def More(Index,Min,Max,Incr) : ' )
- PyMoreInit.append( ' time.sleep(2) ' )
- PyMoreInit.append( ' if Index < Max : ' )
- PyMoreInit.append( ' DoLoop = 1 ' )
- PyMoreInit.append( ' else : ' )
- PyMoreInit.append( ' DoLoop = 0 ' )
- PyMoreInit.append( ' return DoLoop,Index,Min,Max,Incr ' )
- PyNextInit = []
- PyNextInit.append( 'def Next(Index,Min,Max,Incr) : ' )
- PyNextInit.append( ' Index = Index + Incr ' )
- PyNextInit.append( ' return Index,Min,Max,Incr ' )
- Init,EndInit = GraphLoop1.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( '' )
- EndInit.SetComment( 'Compute Node' )
- EndInit.Coords( 555 , 255 )
- PyEndInit = []
- EndInit.SetPyFunction( '' , PyEndInit )
- IInitDoLoop = Init.GetInPort( 'DoLoop' )
- IInitIndex = Init.InPort( 'Index' , 'long' )
- IInitMin = Init.InPort( 'Min' , 'long' )
- IInitMax = Init.InPort( 'Max' , 'long' )
- IInitIncr = Init.InPort( 'Incr' , 'long' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitIndex = Init.GetOutPort( 'Index' )
- OInitMin = Init.GetOutPort( 'Min' )
- OInitMax = Init.GetOutPort( 'Max' )
- OInitIncr = Init.GetOutPort( 'Incr' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitIndex = EndInit.GetInPort( 'Index' )
- IEndInitMin = EndInit.GetInPort( 'Min' )
- IEndInitMax = EndInit.GetInPort( 'Max' )
- IEndInitIncr = EndInit.GetInPort( 'Incr' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitIndex = EndInit.GetOutPort( 'Index' )
- OEndInitMin = EndInit.GetOutPort( 'Min' )
- OEndInitMax = EndInit.GetOutPort( 'Max' )
- OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- OEndInitGate = EndInit.GetOutPort( 'Gate' )
- Init.SetName( 'Init' )
- Init.SetAuthor( '' )
- Init.SetComment( 'Compute Node' )
- Init.Coords( 17 , 257 )
-
- # Creation of Links
- LInitIndexNodeIndexIndex = GraphLoop1.Link( OInitIndex , INodeIndexIndex )
-
- LInitMinEndInitMin = GraphLoop1.Link( OInitMin , IEndInitMin )
-
- LInitMaxEndInitMax = GraphLoop1.Link( OInitMax , IEndInitMax )
-
- LInitIncrNodeIncrIncr = GraphLoop1.Link( OInitIncr , INodeIncrIncr )
-
- LNodeIndexIndexEndInitIndex = GraphLoop1.Link( ONodeIndexIndex , IEndInitIndex )
-
- LNodeIncrIncrEndInitIncr = GraphLoop1.Link( ONodeIncrIncr , IEndInitIncr )
-
- # Input datas
- IInitIndex.Input( 0 )
- IInitMin.Input( 5 )
- IInitMax.Input( 10 )
- IInitIncr.Input( 1 )
-
- # Output Ports of the graph
- #OEndInitIndex = EndInit.GetOutPort( 'Index' )
- #OEndInitMin = EndInit.GetOutPort( 'Min' )
- #OEndInitMax = EndInit.GetOutPort( 'Max' )
- #OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- return GraphLoop1
-
-
-GraphLoop1 = DefGraphLoop1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoop2
-#
-from SuperV import *
-
-# Graph creation of GraphLoop2
-def DefGraphLoop2() :
- GraphLoop2 = Graph( 'GraphLoop2' )
- GraphLoop2.SetName( 'GraphLoop2' )
- GraphLoop2.SetAuthor( '' )
- GraphLoop2.SetComment( '' )
- GraphLoop2.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyNodeIndex = []
- NodeIndex = GraphLoop2.INode( '' , PyNodeIndex )
- NodeIndex.SetName( 'NodeIndex' )
- NodeIndex.SetAuthor( '' )
- NodeIndex.SetComment( 'Compute Node' )
- NodeIndex.Coords( 281 , 215 )
- INodeIndexIndex = NodeIndex.InPort( 'Index' , 'long' )
- INodeIndexGate = NodeIndex.GetInPort( 'Gate' )
- ONodeIndexIndex = NodeIndex.OutPort( 'Index' , 'long' )
- ONodeIndexGate = NodeIndex.GetOutPort( 'Gate' )
-
- PyNodeIncr = []
- NodeIncr = GraphLoop2.INode( '' , PyNodeIncr )
- NodeIncr.SetName( 'NodeIncr' )
- NodeIncr.SetAuthor( '' )
- NodeIncr.SetComment( 'Compute Node' )
- NodeIncr.Coords( 278 , 372 )
- INodeIncrIncr = NodeIncr.InPort( 'Incr' , 'long' )
- INodeIncraString = NodeIncr.InPort( 'aString' , 'string' )
- INodeIncrGate = NodeIncr.GetInPort( 'Gate' )
- ONodeIncrIncr = NodeIncr.OutPort( 'Incr' , 'long' )
- ONodeIncraString = NodeIncr.OutPort( 'aString' , 'string' )
- ONodeIncrGate = NodeIncr.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'def Init(Index,Min,Max,Incr) : ' )
- PyInit.append( ' if Min <= Max : ' )
- PyInit.append( ' Index = Min ' )
- PyInit.append( ' else : ' )
- PyInit.append( ' Index = Max ' )
- PyInit.append( ' return Index,Min,Max,Incr ' )
- PyMoreInit = []
- PyMoreInit.append( 'import time ' )
- PyMoreInit.append( 'def More(Index,Min,Max,Incr) : ' )
- PyMoreInit.append( ' time.sleep(2) ' )
- PyMoreInit.append( ' if Index < Max : ' )
- PyMoreInit.append( ' DoLoop = 1 ' )
- PyMoreInit.append( ' else : ' )
- PyMoreInit.append( ' DoLoop = 0 ' )
- PyMoreInit.append( ' return DoLoop,Index,Min,Max,Incr ' )
- PyNextInit = []
- PyNextInit.append( 'def Next(Index,Min,Max,Incr) : ' )
- PyNextInit.append( ' Index = Index + Incr ' )
- PyNextInit.append( ' return Index,Min,Max,Incr ' )
- Init,EndInit = GraphLoop2.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( '' )
- EndInit.SetComment( 'Compute Node' )
- EndInit.Coords( 555 , 255 )
- PyEndInit = []
- EndInit.SetPyFunction( '' , PyEndInit )
- IInitDoLoop = Init.GetInPort( 'DoLoop' )
- IInitIndex = Init.InPort( 'Index' , 'long' )
- IInitMin = Init.InPort( 'Min' , 'long' )
- IInitMax = Init.InPort( 'Max' , 'long' )
- IInitIncr = Init.InPort( 'Incr' , 'long' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitIndex = Init.GetOutPort( 'Index' )
- OInitMin = Init.GetOutPort( 'Min' )
- OInitMax = Init.GetOutPort( 'Max' )
- OInitIncr = Init.GetOutPort( 'Incr' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitIndex = EndInit.GetInPort( 'Index' )
- IEndInitMin = EndInit.GetInPort( 'Min' )
- IEndInitMax = EndInit.GetInPort( 'Max' )
- IEndInitIncr = EndInit.GetInPort( 'Incr' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitIndex = EndInit.GetOutPort( 'Index' )
- OEndInitMin = EndInit.GetOutPort( 'Min' )
- OEndInitMax = EndInit.GetOutPort( 'Max' )
- OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- OEndInitGate = EndInit.GetOutPort( 'Gate' )
- Init.SetName( 'Init' )
- Init.SetAuthor( '' )
- Init.SetComment( 'Compute Node' )
- Init.Coords( 17 , 257 )
-
- # Creation of Links
- LInitIndexNodeIndexIndex = GraphLoop2.Link( OInitIndex , INodeIndexIndex )
-
- LInitMinEndInitMin = GraphLoop2.Link( OInitMin , IEndInitMin )
-
- LInitMaxEndInitMax = GraphLoop2.Link( OInitMax , IEndInitMax )
-
- LInitIncrNodeIncrIncr = GraphLoop2.Link( OInitIncr , INodeIncrIncr )
-
- LNodeIndexIndexEndInitIndex = GraphLoop2.Link( ONodeIndexIndex , IEndInitIndex )
-
- LNodeIncrIncrEndInitIncr = GraphLoop2.Link( ONodeIncrIncr , IEndInitIncr )
-
- # Input datas
- IInitIndex.Input( 0 )
- IInitMin.Input( 5 )
- IInitMax.Input( 10 )
- IInitIncr.Input( 1 )
- INodeIncraString.Input( 'NodeToDelete' )
-
- # Output Ports of the graph
- #OEndInitIndex = EndInit.GetOutPort( 'Index' )
- #OEndInitMin = EndInit.GetOutPort( 'Min' )
- #OEndInitMax = EndInit.GetOutPort( 'Max' )
- #OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- #ONodeIncraString = NodeIncr.GetOutPort( 'aString' )
- return GraphLoop2
-
-
-GraphLoop2 = DefGraphLoop2()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopAddMemory
-#
-from SuperV import *
-
-# Graph creation of GraphLoopAddMemory
-def DefGraphLoopAddMemory() :
- GraphLoopAddMemory = Graph( 'GraphLoopAddMemory' )
- GraphLoopAddMemory.SetName( 'GraphLoopAddMemory' )
- GraphLoopAddMemory.SetAuthor( 'JR' )
- GraphLoopAddMemory.SetComment( 'For solving of memory leaks' )
- GraphLoopAddMemory.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- AddWithoutSleep = GraphLoopAddMemory.FNode( 'AddComponent' , 'AddComponent' , 'AddWithoutSleep' )
- AddWithoutSleep.SetName( 'AddWithoutSleep' )
- AddWithoutSleep.SetAuthor( '' )
- AddWithoutSleep.SetContainer( 'localhost/FactoryServer' )
- AddWithoutSleep.SetComment( 'AddWithoutSleep from AddComponent' )
- AddWithoutSleep.Coords( 246 , 262 )
- IAddWithoutSleepx = AddWithoutSleep.GetInPort( 'x' )
- IAddWithoutSleepy = AddWithoutSleep.GetInPort( 'y' )
- IAddWithoutSleepGate = AddWithoutSleep.GetInPort( 'Gate' )
- OAddWithoutSleepFuncValue = AddWithoutSleep.GetOutPort( 'FuncValue' )
- OAddWithoutSleepz = AddWithoutSleep.GetOutPort( 'z' )
- OAddWithoutSleepGate = AddWithoutSleep.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'def Init(Index,Min,Max,Incr) : ' )
- PyInit.append( ' if Min <= Max : ' )
- PyInit.append( ' Index = Min ' )
- PyInit.append( ' else : ' )
- PyInit.append( ' Index = Max ' )
- PyInit.append( ' return Index,Min,Max,Incr ' )
- PyMoreInit = []
- PyMoreInit.append( 'def More(Index,Min,Max,Incr) : ' )
- PyMoreInit.append( ' if Index < Max : ' )
- PyMoreInit.append( ' DoLoop = 1 ' )
- PyMoreInit.append( ' else : ' )
- PyMoreInit.append( ' DoLoop = 0 ' )
- PyMoreInit.append( ' return DoLoop,Index,Min,Max,Incr ' )
- PyNextInit = []
- PyNextInit.append( 'def Next(Index,Min,Max,Incr) : ' )
- PyNextInit.append( ' Index = Index + Incr ' )
- PyNextInit.append( ' return Index,Min,Max,Incr ' )
- Init,EndInit = GraphLoopAddMemory.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( '' )
- EndInit.SetComment( 'Compute Node' )
- EndInit.Coords( 495 , 262 )
- PyEndInit = []
- EndInit.SetPyFunction( '' , PyEndInit )
- IInitDoLoop = Init.GetInPort( 'DoLoop' )
- IInitIndex = Init.InPort( 'Index' , 'long' )
- IInitMin = Init.InPort( 'Min' , 'long' )
- IInitMax = Init.InPort( 'Max' , 'long' )
- IInitIncr = Init.InPort( 'Incr' , 'long' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitIndex = Init.GetOutPort( 'Index' )
- OInitMin = Init.GetOutPort( 'Min' )
- OInitMax = Init.GetOutPort( 'Max' )
- OInitIncr = Init.GetOutPort( 'Incr' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitIndex = EndInit.GetInPort( 'Index' )
- IEndInitMin = EndInit.GetInPort( 'Min' )
- IEndInitMax = EndInit.GetInPort( 'Max' )
- IEndInitIncr = EndInit.GetInPort( 'Incr' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitIndex = EndInit.GetOutPort( 'Index' )
- OEndInitMin = EndInit.GetOutPort( 'Min' )
- OEndInitMax = EndInit.GetOutPort( 'Max' )
- OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- OEndInitGate = EndInit.GetOutPort( 'Gate' )
- Init.SetName( 'Init' )
- Init.SetAuthor( '' )
- Init.SetComment( 'Compute Node' )
- Init.Coords( 17 , 257 )
-
- # Creation of Links
- LInitIndexEndInitIndex = GraphLoopAddMemory.Link( OInitIndex , IEndInitIndex )
-
- LInitIndexAddWithoutSleepx = GraphLoopAddMemory.Link( OInitIndex , IAddWithoutSleepx )
-
- LInitMinEndInitMin = GraphLoopAddMemory.Link( OInitMin , IEndInitMin )
-
- LInitMaxEndInitMax = GraphLoopAddMemory.Link( OInitMax , IEndInitMax )
-
- LInitMaxAddWithoutSleepy = GraphLoopAddMemory.Link( OInitMax , IAddWithoutSleepy )
-
- LInitIncrEndInitIncr = GraphLoopAddMemory.Link( OInitIncr , IEndInitIncr )
-
- LAddWithoutSleepGateEndInitGate = GraphLoopAddMemory.Link( OAddWithoutSleepGate , IEndInitGate )
-
- # Input datas
- IInitIndex.Input( 0 )
- IInitMin.Input( 5 )
- IInitMax.Input( 100000 )
- IInitIncr.Input( 1 )
-
- # Output Ports of the graph
- #OEndInitIndex = EndInit.GetOutPort( 'Index' )
- #OEndInitMin = EndInit.GetOutPort( 'Min' )
- #OEndInitMax = EndInit.GetOutPort( 'Max' )
- #OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- #OAddWithoutSleepFuncValue = AddWithoutSleep.GetOutPort( 'FuncValue' )
- #OAddWithoutSleepz = AddWithoutSleep.GetOutPort( 'z' )
- return GraphLoopAddMemory
-
-
-GraphLoopAddMemory = DefGraphLoopAddMemory()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopDoWhile
-#
-from SuperV import *
-
-# Graph creation of GraphLoopDoWhile
-def DefGraphLoopDoWhile() :
- GraphLoopDoWhile = Graph( 'GraphLoopDoWhile' )
- GraphLoopDoWhile.SetName( 'GraphLoopDoWhile' )
- GraphLoopDoWhile.SetAuthor( 'JR' )
- GraphLoopDoWhile.SetComment( '' )
- GraphLoopDoWhile.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of Loop Nodes
- PyLoop = []
- PyMoreLoop = []
- PyMoreLoop.append( '' )
- PyNextLoop = []
- PyNextLoop.append( 'def LoopWhileNext(Index,Max) : ' )
- PyNextLoop.append( ' Index = Index + 1 ' )
- PyNextLoop.append( ' return Index,Max ' )
- PyNextLoop.append( '' )
- Loop,EndLoop = GraphLoopDoWhile.LNode( '' , PyLoop , '' , PyMoreLoop , 'LoopWhileNext' , PyNextLoop )
- EndLoop.SetName( 'EndLoop' )
- EndLoop.SetAuthor( '' )
- EndLoop.SetComment( 'Compute Node' )
- EndLoop.Coords( 414 , 232 )
- PyEndLoop = []
- PyEndLoop.append( 'import time ' )
- PyEndLoop.append( 'def DoWhile(DoLoop,Index,Max) : ' )
- PyEndLoop.append( ' print 'DoWhile',DoLoop,Index,Max ' )
- PyEndLoop.append( ' time.sleep(2) ' )
- PyEndLoop.append( ' if Index == Max : ' )
- PyEndLoop.append( ' DoLoop = 0 ' )
- PyEndLoop.append( ' else : ' )
- PyEndLoop.append( ' DoLoop = 1 ' )
- PyEndLoop.append( ' print 'DoWhile',DoLoop,Index,Max ' )
- PyEndLoop.append( ' return DoLoop,Index,Max ' )
- EndLoop.SetPyFunction( 'DoWhile' , PyEndLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- IEndLoopDoLoop = EndLoop.GetInPort( 'DoLoop' )
- IEndLoopIndex = EndLoop.GetInPort( 'Index' )
- IEndLoopMax = EndLoop.GetInPort( 'Max' )
- IEndLoopGate = EndLoop.GetInPort( 'Gate' )
- OEndLoopDoLoop = EndLoop.GetOutPort( 'DoLoop' )
- OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 105 , 226 )
-
- # Creation of Links
- LLoopIndexEndLoopIndex = GraphLoopDoWhile.Link( OLoopIndex , IEndLoopIndex )
-
- LLoopMaxEndLoopMax = GraphLoopDoWhile.Link( OLoopMax , IEndLoopMax )
-
- # Input datas
- ILoopIndex.Input( 5 )
- ILoopMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- #OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- return GraphLoopDoWhile
-
-
-GraphLoopDoWhile = DefGraphLoopDoWhile()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopGates
-#
-from SuperV import *
-
-# Graph creation of GraphLoopGates
-def DefGraphLoopGates() :
- GraphLoopGates = Graph( 'GraphLoopGates' )
- GraphLoopGates.SetName( 'GraphLoopGates' )
- GraphLoopGates.SetAuthor( 'JR' )
- GraphLoopGates.SetComment( '' )
- GraphLoopGates.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphLoopGates.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'localhost/FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 248 , 70 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- Add_1 = GraphLoopGates.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add_1.SetName( 'Add_1' )
- Add_1.SetAuthor( '' )
- Add_1.SetContainer( 'localhost/FactoryServer' )
- Add_1.SetComment( 'Add from AddComponent' )
- Add_1.Coords( 249 , 305 )
- IAdd_1x = Add_1.GetInPort( 'x' )
- IAdd_1y = Add_1.GetInPort( 'y' )
- IAdd_1Gate = Add_1.GetInPort( 'Gate' )
- OAdd_1FuncValue = Add_1.GetOutPort( 'FuncValue' )
- OAdd_1z = Add_1.GetOutPort( 'z' )
- OAdd_1Gate = Add_1.GetOutPort( 'Gate' )
-
- Sub = GraphLoopGates.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'localhost/FactoryServer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 453 , 72 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- Sub_1 = GraphLoopGates.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub_1.SetName( 'Sub_1' )
- Sub_1.SetAuthor( '' )
- Sub_1.SetContainer( 'localhost/FactoryServer' )
- Sub_1.SetComment( 'Sub from SubComponent' )
- Sub_1.Coords( 455 , 304 )
- ISub_1x = Sub_1.GetInPort( 'x' )
- ISub_1y = Sub_1.GetInPort( 'y' )
- ISub_1Gate = Sub_1.GetInPort( 'Gate' )
- OSub_1z = Sub_1.GetOutPort( 'z' )
- OSub_1Gate = Sub_1.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- PyGate = []
- PyGate.append( 'from time import * ' )
- PyGate.append( 'def Gate(G1,G2) : ' )
- PyGate.append( ' sleep(1) ' )
- PyGate.append( ' return G1&G2 ' )
- Gate = GraphLoopGates.INode( 'Gate' , PyGate )
- Gate.SetName( 'Gate' )
- Gate.SetAuthor( '' )
- Gate.SetComment( 'Compute Node' )
- Gate.Coords( 650 , 227 )
- IGateG1 = Gate.InPort( 'G1' , 'long' )
- IGateG2 = Gate.InPort( 'G2' , 'long' )
- IGateGate = Gate.GetInPort( 'Gate' )
- OGateG = Gate.OutPort( 'G' , 'long' )
- OGateGate = Gate.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'from time import * ' )
- PyInit.append( 'def Init(Index,Min,Max) : ' )
- PyInit.append( ' Index = Min ' )
- PyInit.append( ' sleep(1) ' )
- PyInit.append( ' return Index,Min,Max ' )
- PyMoreInit = []
- PyMoreInit.append( 'def More(Index,Min,Max) : ' )
- PyMoreInit.append( ' if Index < Max : ' )
- PyMoreInit.append( ' DoLoop = 1 ' )
- PyMoreInit.append( ' else : ' )
- PyMoreInit.append( ' DoLoop = 0 ' )
- PyMoreInit.append( ' return DoLoop,Index,Min,Max ' )
- PyNextInit = []
- PyNextInit.append( 'def Next(Index,Min,Max) : ' )
- PyNextInit.append( ' Index = Index + 1 ' )
- PyNextInit.append( ' return Index,Min,Max ' )
- Init,EndInit = GraphLoopGates.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( '' )
- EndInit.SetComment( 'Compute Node' )
- EndInit.Coords( 847 , 247 )
- PyEndInit = []
- EndInit.SetPyFunction( 'EndInit' , PyEndInit )
- IInitDoLoop = Init.GetInPort( 'DoLoop' )
- IInitIndex = Init.InPort( 'Index' , 'long' )
- IInitMin = Init.InPort( 'Min' , 'long' )
- IInitMax = Init.InPort( 'Max' , 'long' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitIndex = Init.GetOutPort( 'Index' )
- OInitMin = Init.GetOutPort( 'Min' )
- OInitMax = Init.GetOutPort( 'Max' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitIndex = EndInit.GetInPort( 'Index' )
- IEndInitMin = EndInit.GetInPort( 'Min' )
- IEndInitMax = EndInit.GetInPort( 'Max' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitIndex = EndInit.GetOutPort( 'Index' )
- OEndInitMin = EndInit.GetOutPort( 'Min' )
- OEndInitMax = EndInit.GetOutPort( 'Max' )
- OEndInitGate = EndInit.GetOutPort( 'Gate' )
- Init.SetName( 'Init' )
- Init.SetAuthor( '' )
- Init.SetComment( 'Compute Node' )
- Init.Coords( 10 , 181 )
-
- # Creation of Links
- LInitIndexEndInitIndex = GraphLoopGates.Link( OInitIndex , IEndInitIndex )
-
- LInitMinEndInitMin = GraphLoopGates.Link( OInitMin , IEndInitMin )
-
- LInitMaxEndInitMax = GraphLoopGates.Link( OInitMax , IEndInitMax )
-
- LInitGateAdd_1Gate = GraphLoopGates.Link( OInitGate , IAdd_1Gate )
-
- LInitGateAddGate = GraphLoopGates.Link( OInitGate , IAddGate )
-
- LAddGateSubGate = GraphLoopGates.Link( OAddGate , ISubGate )
-
- LAdd_1GateSub_1Gate = GraphLoopGates.Link( OAdd_1Gate , ISub_1Gate )
-
- LSubGateGateG1 = GraphLoopGates.Link( OSubGate , IGateG1 )
-
- LSub_1zGateG2 = GraphLoopGates.Link( OSub_1z , IGateG2 )
-
- LSub_1GateGateGate = GraphLoopGates.Link( OSub_1Gate , IGateGate )
-
- LGateGateEndInitGate = GraphLoopGates.Link( OGateGate , IEndInitGate )
-
- # Input datas
- IInitIndex.Input( 0 )
- IInitMin.Input( 5 )
- IInitMax.Input( 13 )
- IAddx.Input( 1 )
- IAddy.Input( 2 )
- IAdd_1x.Input( 3 )
- IAdd_1y.Input( 4 )
- ISubx.Input( 5 )
- ISuby.Input( 6 )
- ISub_1x.Input( 7 )
- ISub_1y.Input( 8 )
-
- # Output Ports of the graph
- #OEndInitIndex = EndInit.GetOutPort( 'Index' )
- #OEndInitMin = EndInit.GetOutPort( 'Min' )
- #OEndInitMax = EndInit.GetOutPort( 'Max' )
- #OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- #OAddz = Add.GetOutPort( 'z' )
- #OAdd_1FuncValue = Add_1.GetOutPort( 'FuncValue' )
- #OAdd_1z = Add_1.GetOutPort( 'z' )
- #OSubz = Sub.GetOutPort( 'z' )
- #OGateG = Gate.GetOutPort( 'G' )
- return GraphLoopGates
-
-
-GraphLoopGates = DefGraphLoopGates()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopGatesNOTValid
-#
-from SuperV import *
-
-# Graph creation of GraphLoopGatesNOTValid
-def DefGraphLoopGatesNOTValid() :
- GraphLoopGatesNOTValid = Graph( 'GraphLoopGatesNOTValid' )
- GraphLoopGatesNOTValid.SetName( 'GraphLoopGatesNOTValid' )
- GraphLoopGatesNOTValid.SetAuthor( 'JR' )
- GraphLoopGatesNOTValid.SetComment( '' )
- GraphLoopGatesNOTValid.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphLoopGatesNOTValid.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'localhost/FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 248 , 70 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- Add_1 = GraphLoopGatesNOTValid.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add_1.SetName( 'Add_1' )
- Add_1.SetAuthor( '' )
- Add_1.SetContainer( 'localhost/FactoryServer' )
- Add_1.SetComment( 'Add from AddComponent' )
- Add_1.Coords( 249 , 305 )
- IAdd_1x = Add_1.GetInPort( 'x' )
- IAdd_1y = Add_1.GetInPort( 'y' )
- IAdd_1Gate = Add_1.GetInPort( 'Gate' )
- OAdd_1FuncValue = Add_1.GetOutPort( 'FuncValue' )
- OAdd_1z = Add_1.GetOutPort( 'z' )
- OAdd_1Gate = Add_1.GetOutPort( 'Gate' )
-
- Sub = GraphLoopGatesNOTValid.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'localhost/FactoryServer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 453 , 72 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- Sub_1 = GraphLoopGatesNOTValid.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub_1.SetName( 'Sub_1' )
- Sub_1.SetAuthor( '' )
- Sub_1.SetContainer( 'localhost/FactoryServer' )
- Sub_1.SetComment( 'Sub from SubComponent' )
- Sub_1.Coords( 455 , 304 )
- ISub_1x = Sub_1.GetInPort( 'x' )
- ISub_1y = Sub_1.GetInPort( 'y' )
- ISub_1Gate = Sub_1.GetInPort( 'Gate' )
- OSub_1z = Sub_1.GetOutPort( 'z' )
- OSub_1Gate = Sub_1.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- PyGate = []
- PyGate.append( 'from time import * ' )
- PyGate.append( 'def Gate(G1,G2) : ' )
- PyGate.append( ' sleep(1) ' )
- PyGate.append( ' return G1&G2 ' )
- Gate = GraphLoopGatesNOTValid.INode( 'Gate' , PyGate )
- Gate.SetName( 'Gate' )
- Gate.SetAuthor( '' )
- Gate.SetComment( 'Compute Node' )
- Gate.Coords( 650 , 227 )
- IGateG1 = Gate.InPort( 'G1' , 'long' )
- IGateG2 = Gate.InPort( 'G2' , 'long' )
- IGateGate = Gate.GetInPort( 'Gate' )
- OGateG = Gate.OutPort( 'G' , 'long' )
- OGateGate = Gate.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'from time import * ' )
- PyInit.append( 'def Init(Index,Min,Max) : ' )
- PyInit.append( ' Index = Min ' )
- PyInit.append( ' sleep(1) ' )
- PyInit.append( ' return Index,Min,Max ' )
- PyMoreInit = []
- PyMoreInit.append( 'def More(Index,Min,Max) : ' )
- PyMoreInit.append( ' if Index < Max : ' )
- PyMoreInit.append( ' DoLoop = 1 ' )
- PyMoreInit.append( ' else : ' )
- PyMoreInit.append( ' DoLoop = 0 ' )
- PyMoreInit.append( ' return DoLoop,Index,Min,Max ' )
- PyNextInit = []
- PyNextInit.append( 'def Next(Index,Min,Max) : ' )
- PyNextInit.append( ' Index = Index + 1 ' )
- PyNextInit.append( ' return Index,Min,Max ' )
- Init,EndInit = GraphLoopGatesNOTValid.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( '' )
- EndInit.SetComment( 'Compute Node' )
- EndInit.Coords( 840 , 204 )
- PyEndInit = []
- EndInit.SetPyFunction( 'EndInit' , PyEndInit )
- IInitDoLoop = Init.GetInPort( 'DoLoop' )
- IInitIndex = Init.InPort( 'Index' , 'long' )
- IInitMin = Init.InPort( 'Min' , 'long' )
- IInitMax = Init.InPort( 'Max' , 'long' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitIndex = Init.GetOutPort( 'Index' )
- OInitMin = Init.GetOutPort( 'Min' )
- OInitMax = Init.GetOutPort( 'Max' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitIndex = EndInit.GetInPort( 'Index' )
- IEndInitMin = EndInit.GetInPort( 'Min' )
- IEndInitMax = EndInit.GetInPort( 'Max' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitGate = EndInit.GetOutPort( 'Gate' )
- OEndInitIndex = EndInit.GetOutPort( 'Index' )
- OEndInitMin = EndInit.GetOutPort( 'Min' )
- OEndInitMax = EndInit.GetOutPort( 'Max' )
- Init.SetName( 'Init' )
- Init.SetAuthor( '' )
- Init.SetComment( 'Compute Node' )
- Init.Coords( 10 , 181 )
-
- # Creation of Links
- LInitGateAdd_1Gate = GraphLoopGatesNOTValid.Link( OInitGate , IAdd_1Gate )
-
- LInitGateAddGate = GraphLoopGatesNOTValid.Link( OInitGate , IAddGate )
-
- LInitIndexEndInitIndex = GraphLoopGatesNOTValid.Link( OInitIndex , IEndInitIndex )
-
- LInitMinEndInitMin = GraphLoopGatesNOTValid.Link( OInitMin , IEndInitMin )
-
- LInitMaxEndInitMax = GraphLoopGatesNOTValid.Link( OInitMax , IEndInitMax )
-
- LAddGateSubGate = GraphLoopGatesNOTValid.Link( OAddGate , ISubGate )
-
- LAdd_1GateSub_1Gate = GraphLoopGatesNOTValid.Link( OAdd_1Gate , ISub_1Gate )
-
- LSubGateGateG1 = GraphLoopGatesNOTValid.Link( OSubGate , IGateG1 )
-
- LSub_1GateGateG2 = GraphLoopGatesNOTValid.Link( OSub_1Gate , IGateG2 )
-
- LGateGEndInitGate = GraphLoopGatesNOTValid.Link( OGateG , IEndInitGate )
-
- # Input datas
- IInitIndex.Input( 0 )
- IInitMin.Input( 5 )
- IInitMax.Input( 13 )
- IAddx.Input( 1 )
- IAddy.Input( 2 )
- IAdd_1x.Input( 3 )
- IAdd_1y.Input( 4 )
- ISubx.Input( 5 )
- ISuby.Input( 6 )
- ISub_1x.Input( 7 )
- ISub_1y.Input( 8 )
-
- # Output Ports of the graph
- #OEndInitIndex = EndInit.GetOutPort( 'Index' )
- #OEndInitMin = EndInit.GetOutPort( 'Min' )
- #OEndInitMax = EndInit.GetOutPort( 'Max' )
- #OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- #OAddz = Add.GetOutPort( 'z' )
- #OAdd_1FuncValue = Add_1.GetOutPort( 'FuncValue' )
- #OAdd_1z = Add_1.GetOutPort( 'z' )
- #OSubz = Sub.GetOutPort( 'z' )
- #OSub_1z = Sub_1.GetOutPort( 'z' )
- return GraphLoopGatesNOTValid
-
-
-GraphLoopGatesNOTValid = DefGraphLoopGatesNOTValid()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopMacroNodes
-#
-from SuperV import *
-
-# Graph creation of GraphLoopMacroNodes
-def DefGraphLoopMacroNodes() :
- GraphLoopMacroNodes = Graph( 'GraphLoopMacroNodes' )
- GraphLoopMacroNodes.SetName( 'GraphLoopMacroNodes' )
- GraphLoopMacroNodes.SetAuthor( 'JR' )
- GraphLoopMacroNodes.SetComment( '' )
- GraphLoopMacroNodes.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphLoopMacroNodes.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 205 , 238 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- Sub = GraphLoopMacroNodes.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'FactoryServer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 394 , 146 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- Mul = GraphLoopMacroNodes.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
- Mul.SetName( 'Mul' )
- Mul.SetAuthor( '' )
- Mul.SetContainer( 'FactoryServer' )
- Mul.SetComment( 'Mul from MulComponent' )
- Mul.Coords( 821 , 319 )
- IMulx = Mul.GetInPort( 'x' )
- IMuly = Mul.GetInPort( 'y' )
- IMulGate = Mul.GetInPort( 'Gate' )
- OMulz = Mul.GetOutPort( 'z' )
- OMulGate = Mul.GetOutPort( 'Gate' )
-
- Div = GraphLoopMacroNodes.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
- Div.SetName( 'Div' )
- Div.SetAuthor( '' )
- Div.SetContainer( 'FactoryServer' )
- Div.SetComment( 'Div from DivComponent' )
- Div.Coords( 825 , 133 )
- IDivx = Div.GetInPort( 'x' )
- IDivy = Div.GetInPort( 'y' )
- IDivGate = Div.GetInPort( 'Gate' )
- ODivz = Div.GetOutPort( 'z' )
- ODivGate = Div.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- PyResultsControl = []
- PyResultsControl.append( 'def ResultsControl(x,y,zDiv,zMul) :' )
- PyResultsControl.append( ' Add_FuncValue = x - y' )
- PyResultsControl.append( ' Add_z = x + y' )
- PyResultsControl.append( ' Sub_z = 1.5 - Add_z' )
- PyResultsControl.append( ' Macro_GraphAdd_Add_FuncValue = Sub_z - Add_FuncValue' )
- PyResultsControl.append( ' Macro_GraphAdd_Add_z = Sub_z + Add_FuncValue' )
- PyResultsControl.append( ' Macro_GraphSub_z = Add_FuncValue - Add_z' )
- PyResultsControl.append( ' Div_z = Macro_GraphAdd_Add_FuncValue/Macro_GraphAdd_Add_z' )
- PyResultsControl.append( ' Mul_z = Sub_z * Macro_GraphSub_z' )
- PyResultsControl.append( ' OK = \'Okay\'' )
- PyResultsControl.append( ' if Div_z != zDiv or Mul_z != zMul :' )
- PyResultsControl.append( ' OK = \'KO\'' )
- PyResultsControl.append( ' return zDiv,zMul,Div_z,Mul_z,OK' )
- PyResultsControl.append( '' )
- ResultsControl = GraphLoopMacroNodes.INode( 'ResultsControl' , PyResultsControl )
- ResultsControl.SetName( 'ResultsControl' )
- ResultsControl.SetAuthor( '' )
- ResultsControl.SetComment( 'Compute Node' )
- ResultsControl.Coords( 1102 , 196 )
- IResultsControlx = ResultsControl.InPort( 'x' , 'double' )
- IResultsControly = ResultsControl.InPort( 'y' , 'double' )
- IResultsControlzDiv = ResultsControl.InPort( 'zDiv' , 'double' )
- IResultsControlzMul = ResultsControl.InPort( 'zMul' , 'double' )
- IResultsControlGate = ResultsControl.GetInPort( 'Gate' )
- OResultsControlzDiv = ResultsControl.OutPort( 'zDiv' , 'double' )
- OResultsControlzMul = ResultsControl.OutPort( 'zMul' , 'double' )
- OResultsControlDiv_z = ResultsControl.OutPort( 'Div_z' , 'double' )
- OResultsControlMul_z = ResultsControl.OutPort( 'Mul_z' , 'double' )
- OResultsControlOK = ResultsControl.OutPort( 'OK' , 'string' )
- OResultsControlGate = ResultsControl.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoop = []
- PyLoop.append( 'def Init(Index,Min,Max,Incr,zDiv,zMul,OK) :' )
- PyLoop.append( ' if Min <= Max :' )
- PyLoop.append( ' Index = Min' )
- PyLoop.append( ' else :' )
- PyLoop.append( ' Index = Max' )
- PyLoop.append( ' return Index,Min,Max,Incr,zDiv,zMul,OK' )
- PyLoop.append( '' )
- PyMoreLoop = []
- PyMoreLoop.append( 'def More(Index,Min,Max,Incr,zDiv,zMul,OK) :' )
- PyMoreLoop.append( ' if Index < Max :' )
- PyMoreLoop.append( ' DoLoop = 1' )
- PyMoreLoop.append( ' else :' )
- PyMoreLoop.append( ' DoLoop = 0' )
- PyMoreLoop.append( ' return DoLoop,Index,Min,Max,Incr,zDiv,zMul,OK' )
- PyMoreLoop.append( '' )
- PyNextLoop = []
- PyNextLoop.append( 'def Next(Index,Min,Max,Incr,zDiv,zMul,OK) :' )
- PyNextLoop.append( ' Index = Index + Incr' )
- PyNextLoop.append( ' return Index,Min,Max,Incr,zDiv,zMul,OK' )
- PyNextLoop.append( '' )
- Loop,EndLoop = GraphLoopMacroNodes.LNode( 'Init' , PyLoop , 'More' , PyMoreLoop , 'Next' , PyNextLoop )
- EndLoop.SetName( 'EndLoop' )
- EndLoop.SetAuthor( '' )
- EndLoop.SetComment( 'Compute Node' )
- EndLoop.Coords( 1354 , 156 )
- PyEndLoop = []
- PyEndLoop.append( 'def EndLoop(DoLoop,Index,Min,Max,Incr,zDiv,zMul,OK) :' )
- PyEndLoop.append( ' print \'EndLoop\',DoLoop,Index,Min,Max,Incr,zDiv,zMul,OK' )
- PyEndLoop.append( ' if OK != \'Okay\' :' )
- PyEndLoop.append( ' DoLoop = 0' )
- PyEndLoop.append( ' return DoLoop,Index,Min,Max,Incr ,zDiv,zMul,OK' )
- PyEndLoop.append( '' )
- EndLoop.SetPyFunction( 'EndLoop' , PyEndLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMin = Loop.InPort( 'Min' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopIncr = Loop.InPort( 'Incr' , 'long' )
- ILoopzDiv = Loop.InPort( 'zDiv' , 'double' )
- ILoopzMul = Loop.InPort( 'zMul' , 'double' )
- ILoopOK = Loop.InPort( 'OK' , 'string' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMin = Loop.GetOutPort( 'Min' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- OLoopIncr = Loop.GetOutPort( 'Incr' )
- OLoopzDiv = Loop.GetOutPort( 'zDiv' )
- OLoopzMul = Loop.GetOutPort( 'zMul' )
- OLoopOK = Loop.GetOutPort( 'OK' )
- OLoopGate = Loop.GetOutPort( 'Gate' )
- IEndLoopDoLoop = EndLoop.GetInPort( 'DoLoop' )
- IEndLoopIndex = EndLoop.GetInPort( 'Index' )
- IEndLoopMin = EndLoop.GetInPort( 'Min' )
- IEndLoopMax = EndLoop.GetInPort( 'Max' )
- IEndLoopIncr = EndLoop.GetInPort( 'Incr' )
- IEndLoopzDiv = EndLoop.GetInPort( 'zDiv' )
- IEndLoopzMul = EndLoop.GetInPort( 'zMul' )
- IEndLoopOK = EndLoop.GetInPort( 'OK' )
- IEndLoopGate = EndLoop.GetInPort( 'Gate' )
- OEndLoopDoLoop = EndLoop.GetOutPort( 'DoLoop' )
- OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- OEndLoopMin = EndLoop.GetOutPort( 'Min' )
- OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- OEndLoopIncr = EndLoop.GetOutPort( 'Incr' )
- OEndLoopzDiv = EndLoop.GetOutPort( 'zDiv' )
- OEndLoopzMul = EndLoop.GetOutPort( 'zMul' )
- OEndLoopOK = EndLoop.GetOutPort( 'OK' )
- OEndLoopGate = EndLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 5 , 265 )
-
- # Creation of Macro Nodes
- GraphAdd_1 = DefGraphAdd_1()
- Macro_GraphAdd = GraphLoopMacroNodes.GraphMNode( GraphAdd_1 )
- Macro_GraphAdd.SetCoupled( 'GraphAdd_1' )
- Macro_GraphAdd.SetName( 'Macro_GraphAdd' )
- Macro_GraphAdd.SetAuthor( '' )
- Macro_GraphAdd.SetComment( 'Macro Node' )
- Macro_GraphAdd.Coords( 625 , 133 )
- IMacro_GraphAddAdd__x = Macro_GraphAdd.GetInPort( 'Add__x' )
- IMacro_GraphAddAdd__y = Macro_GraphAdd.GetInPort( 'Add__y' )
- IMacro_GraphAddGate = Macro_GraphAdd.GetInPort( 'Gate' )
- OMacro_GraphAddAdd__FuncValue = Macro_GraphAdd.GetOutPort( 'Add__FuncValue' )
- OMacro_GraphAddAdd__z = Macro_GraphAdd.GetOutPort( 'Add__z' )
- OMacro_GraphAddGate = Macro_GraphAdd.GetOutPort( 'Gate' )
-
- GraphSub_1 = DefGraphSub_1()
- Macro_GraphSub = GraphLoopMacroNodes.GraphMNode( GraphSub_1 )
- Macro_GraphSub.SetCoupled( 'GraphSub_1' )
- Macro_GraphSub.SetName( 'Macro_GraphSub' )
- Macro_GraphSub.SetAuthor( '' )
- Macro_GraphSub.SetComment( 'Macro Node' )
- Macro_GraphSub.Coords( 512 , 319 )
- IMacro_GraphSubSub__x = Macro_GraphSub.GetInPort( 'Sub__x' )
- IMacro_GraphSubSub__y = Macro_GraphSub.GetInPort( 'Sub__y' )
- IMacro_GraphSubGate = Macro_GraphSub.GetInPort( 'Gate' )
- OMacro_GraphSubSub__z = Macro_GraphSub.GetOutPort( 'Sub__z' )
- OMacro_GraphSubGate = Macro_GraphSub.GetOutPort( 'Gate' )
-
- # Creation of Links
- LAddFuncValueMacro_GraphSubSub__x = GraphLoopMacroNodes.Link( OAddFuncValue , IMacro_GraphSubSub__x )
-
- LAddFuncValueMacro_GraphAddAdd__y = GraphLoopMacroNodes.Link( OAddFuncValue , IMacro_GraphAddAdd__y )
- LAddFuncValueMacro_GraphAddAdd__y.AddCoord( 1 , 512 , 309 )
-
- LAddzSuby = GraphLoopMacroNodes.Link( OAddz , ISuby )
-
- LAddzMacro_GraphSubSub__y = GraphLoopMacroNodes.Link( OAddz , IMacro_GraphSubSub__y )
-
- LSubzMacro_GraphAddAdd__x = GraphLoopMacroNodes.Link( OSubz , IMacro_GraphAddAdd__x )
-
- LSubzMulx = GraphLoopMacroNodes.Link( OSubz , IMulx )
- LSubzMulx.AddCoord( 1 , 767 , 389 )
- LSubzMulx.AddCoord( 2 , 767 , 297 )
- LSubzMulx.AddCoord( 3 , 592 , 297 )
- LSubzMulx.AddCoord( 4 , 592 , 217 )
-
- LMulzResultsControlzMul = GraphLoopMacroNodes.Link( OMulz , IResultsControlzMul )
-
- LDivzResultsControlzDiv = GraphLoopMacroNodes.Link( ODivz , IResultsControlzDiv )
-
- LMacro_GraphAddAdd__FuncValueDivx = GraphLoopMacroNodes.Link( OMacro_GraphAddAdd__FuncValue , IDivx )
-
- LMacro_GraphAddAdd__zDivy = GraphLoopMacroNodes.Link( OMacro_GraphAddAdd__z , IDivy )
-
- LMacro_GraphSubSub__zMuly = GraphLoopMacroNodes.Link( OMacro_GraphSubSub__z , IMuly )
-
- LMacro_GraphSubGateMulGate = GraphLoopMacroNodes.Link( OMacro_GraphSubGate , IMulGate )
-
- LLoopIndexEndLoopIndex = GraphLoopMacroNodes.Link( OLoopIndex , IEndLoopIndex )
-
- LLoopIndexAddx = GraphLoopMacroNodes.Link( OLoopIndex , IAddx )
-
- LLoopIndexResultsControlx = GraphLoopMacroNodes.Link( OLoopIndex , IResultsControlx )
-
- LLoopMinEndLoopMin = GraphLoopMacroNodes.Link( OLoopMin , IEndLoopMin )
-
- LLoopMaxEndLoopMax = GraphLoopMacroNodes.Link( OLoopMax , IEndLoopMax )
-
- LLoopMaxAddy = GraphLoopMacroNodes.Link( OLoopMax , IAddy )
-
- LLoopMaxResultsControly = GraphLoopMacroNodes.Link( OLoopMax , IResultsControly )
-
- LLoopIncrEndLoopIncr = GraphLoopMacroNodes.Link( OLoopIncr , IEndLoopIncr )
-
- LResultsControlzDivEndLoopzDiv = GraphLoopMacroNodes.Link( OResultsControlzDiv , IEndLoopzDiv )
-
- LResultsControlzMulEndLoopzMul = GraphLoopMacroNodes.Link( OResultsControlzMul , IEndLoopzMul )
-
- LResultsControlOKEndLoopOK = GraphLoopMacroNodes.Link( OResultsControlOK , IEndLoopOK )
-
- # Input datas
- ISubx.Input( 1.5 )
- ILoopIndex.Input( 0 )
- ILoopMin.Input( 7 )
- ILoopMax.Input( 17 )
- ILoopIncr.Input( 1 )
- ILoopzDiv.Input( 0 )
- ILoopzMul.Input( 0 )
- ILoopOK.Input( 'Okay' )
-
- # Output Ports of the graph
- #OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- #OEndLoopMin = EndLoop.GetOutPort( 'Min' )
- #OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- #OEndLoopIncr = EndLoop.GetOutPort( 'Incr' )
- #OEndLoopzDiv = EndLoop.GetOutPort( 'zDiv' )
- #OEndLoopzMul = EndLoop.GetOutPort( 'zMul' )
- #OEndLoopOK = EndLoop.GetOutPort( 'OK' )
- #OResultsControlDiv_z = ResultsControl.GetOutPort( 'Div_z' )
- #OResultsControlMul_z = ResultsControl.GetOutPort( 'Mul_z' )
- return GraphLoopMacroNodes
-
-# Graph creation of GraphAdd_1
-def DefGraphAdd_1() :
- GraphAdd_1 = Graph( 'GraphAdd_1' )
- GraphAdd_1.SetCoupled( 'Macro_GraphAdd' )
- GraphAdd_1.SetName( 'GraphAdd_1' )
- GraphAdd_1.SetAuthor( '' )
- GraphAdd_1.SetComment( '' )
- GraphAdd_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphAdd_1.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'localhost/FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 55 , 61 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- # Input Ports of the graph
- #IAddx = Add.GetInPort( 'x' )
- #IAddy = Add.GetInPort( 'y' )
-
- # Output Ports of the graph
- #OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- #OAddz = Add.GetOutPort( 'z' )
- return GraphAdd_1
-
-# Graph creation of GraphSub_1
-def DefGraphSub_1() :
- GraphSub_1 = Graph( 'GraphSub_1' )
- GraphSub_1.SetCoupled( 'Macro_GraphSub' )
- GraphSub_1.SetName( 'GraphSub_1' )
- GraphSub_1.SetAuthor( '' )
- GraphSub_1.SetComment( '' )
- GraphSub_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Sub = GraphSub_1.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'localhost/FactoryServer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 55 , 71 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- # Input Ports of the graph
- #ISubx = Sub.GetInPort( 'x' )
- #ISuby = Sub.GetInPort( 'y' )
-
- # Output Ports of the graph
- #OSubz = Sub.GetOutPort( 'z' )
- return GraphSub_1
-
-
-GraphLoopMacroNodes = DefGraphLoopMacroNodes()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopMacroNodesOutput
-#
-from SuperV import *
-
-# Graph creation of GraphLoopMacroNodesOutput
-def DefGraphLoopMacroNodesOutput() :
- GraphLoopMacroNodesOutput = Graph( 'GraphLoopMacroNodesOutput' )
- GraphLoopMacroNodesOutput.SetName( 'GraphLoopMacroNodesOutput' )
- GraphLoopMacroNodesOutput.SetAuthor( 'JR' )
- GraphLoopMacroNodesOutput.SetComment( '' )
- GraphLoopMacroNodesOutput.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphLoopMacroNodesOutput.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 205 , 238 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- Sub = GraphLoopMacroNodesOutput.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'FactoryServer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 394 , 146 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- Mul = GraphLoopMacroNodesOutput.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
- Mul.SetName( 'Mul' )
- Mul.SetAuthor( '' )
- Mul.SetContainer( 'FactoryServer' )
- Mul.SetComment( 'Mul from MulComponent' )
- Mul.Coords( 821 , 319 )
- IMulx = Mul.GetInPort( 'x' )
- IMuly = Mul.GetInPort( 'y' )
- IMulGate = Mul.GetInPort( 'Gate' )
- OMulz = Mul.GetOutPort( 'z' )
- OMulGate = Mul.GetOutPort( 'Gate' )
-
- Div = GraphLoopMacroNodesOutput.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
- Div.SetName( 'Div' )
- Div.SetAuthor( '' )
- Div.SetContainer( 'FactoryServer' )
- Div.SetComment( 'Div from DivComponent' )
- Div.Coords( 825 , 133 )
- IDivx = Div.GetInPort( 'x' )
- IDivy = Div.GetInPort( 'y' )
- IDivGate = Div.GetInPort( 'Gate' )
- ODivz = Div.GetOutPort( 'z' )
- ODivGate = Div.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- PyResultsControl = []
- PyResultsControl.append( 'def ResultsControl(x,y,zDiv,zMul) :' )
- PyResultsControl.append( ' Add_FuncValue = x - y' )
- PyResultsControl.append( ' Add_z = x + y' )
- PyResultsControl.append( ' Sub_z = 1.5 - Add_z' )
- PyResultsControl.append( ' Macro_GraphAdd_Add_FuncValue = Sub_z - Add_FuncValue' )
- PyResultsControl.append( ' Macro_GraphAdd_Add_z = Sub_z + Add_FuncValue' )
- PyResultsControl.append( ' Macro_GraphSub_z = Add_FuncValue - Add_z' )
- PyResultsControl.append( ' Div_z = Macro_GraphAdd_Add_FuncValue/Macro_GraphAdd_Add_z' )
- PyResultsControl.append( ' Mul_z = Sub_z * Macro_GraphSub_z' )
- PyResultsControl.append( ' OK = \'Okay\'' )
- PyResultsControl.append( ' if Div_z != zDiv or Mul_z != zMul :' )
- PyResultsControl.append( ' OK = \'KO\'' )
- PyResultsControl.append( ' return zDiv,zMul,Div_z,Mul_z,OK' )
- PyResultsControl.append( '' )
- ResultsControl = GraphLoopMacroNodesOutput.INode( 'ResultsControl' , PyResultsControl )
- ResultsControl.SetName( 'ResultsControl' )
- ResultsControl.SetAuthor( '' )
- ResultsControl.SetComment( 'Compute Node' )
- ResultsControl.Coords( 1102 , 196 )
- IResultsControlx = ResultsControl.InPort( 'x' , 'double' )
- IResultsControly = ResultsControl.InPort( 'y' , 'double' )
- IResultsControlzDiv = ResultsControl.InPort( 'zDiv' , 'double' )
- IResultsControlzMul = ResultsControl.InPort( 'zMul' , 'double' )
- IResultsControlGate = ResultsControl.GetInPort( 'Gate' )
- OResultsControlzDiv = ResultsControl.OutPort( 'zDiv' , 'double' )
- OResultsControlzMul = ResultsControl.OutPort( 'zMul' , 'double' )
- OResultsControlDiv_z = ResultsControl.OutPort( 'Div_z' , 'double' )
- OResultsControlMul_z = ResultsControl.OutPort( 'Mul_z' , 'double' )
- OResultsControlOK = ResultsControl.OutPort( 'OK' , 'string' )
- OResultsControlGate = ResultsControl.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoop = []
- PyLoop.append( 'def Init(Index,Min,Max,Incr,zDiv,zMul,OK) :' )
- PyLoop.append( ' if Min <= Max :' )
- PyLoop.append( ' Index = Min' )
- PyLoop.append( ' else :' )
- PyLoop.append( ' Index = Max' )
- PyLoop.append( ' return Index,Min,Max,Incr,zDiv,zMul,OK' )
- PyLoop.append( '' )
- PyMoreLoop = []
- PyMoreLoop.append( 'def More(Index,Min,Max,Incr,zDiv,zMul,OK) :' )
- PyMoreLoop.append( ' if Index < Max :' )
- PyMoreLoop.append( ' DoLoop = 1' )
- PyMoreLoop.append( ' else :' )
- PyMoreLoop.append( ' DoLoop = 0' )
- PyMoreLoop.append( ' return DoLoop,Index,Min,Max,Incr,zDiv,zMul,OK' )
- PyMoreLoop.append( '' )
- PyNextLoop = []
- PyNextLoop.append( 'def Next(Index,Min,Max,Incr,zDiv,zMul,OK) :' )
- PyNextLoop.append( ' Index = Index + Incr' )
- PyNextLoop.append( ' return Index,Min,Max,Incr,zDiv,zMul,OK' )
- PyNextLoop.append( '' )
- Loop,EndLoop = GraphLoopMacroNodesOutput.LNode( 'Init' , PyLoop , 'More' , PyMoreLoop , 'Next' , PyNextLoop )
- EndLoop.SetName( 'EndLoop' )
- EndLoop.SetAuthor( '' )
- EndLoop.SetComment( 'Compute Node' )
- EndLoop.Coords( 1354 , 156 )
- PyEndLoop = []
- PyEndLoop.append( 'def EndLoop(DoLoop,Index,Min,Max,Incr,zDiv,zMul,OK) :' )
- PyEndLoop.append( ' print \'EndLoop\',DoLoop,Index,Min,Max,Incr,zDiv,zMul,OK' )
- PyEndLoop.append( ' if OK != \'Okay\' :' )
- PyEndLoop.append( ' DoLoop = 0' )
- PyEndLoop.append( ' return DoLoop,Index,Min,Max,Incr ,zDiv,zMul,OK' )
- PyEndLoop.append( '' )
- EndLoop.SetPyFunction( 'EndLoop' , PyEndLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMin = Loop.InPort( 'Min' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopIncr = Loop.InPort( 'Incr' , 'long' )
- ILoopzDiv = Loop.InPort( 'zDiv' , 'double' )
- ILoopzMul = Loop.InPort( 'zMul' , 'double' )
- ILoopOK = Loop.InPort( 'OK' , 'string' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMin = Loop.GetOutPort( 'Min' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- OLoopIncr = Loop.GetOutPort( 'Incr' )
- OLoopzDiv = Loop.GetOutPort( 'zDiv' )
- OLoopzMul = Loop.GetOutPort( 'zMul' )
- OLoopOK = Loop.GetOutPort( 'OK' )
- OLoopGate = Loop.GetOutPort( 'Gate' )
- IEndLoopDoLoop = EndLoop.GetInPort( 'DoLoop' )
- IEndLoopIndex = EndLoop.GetInPort( 'Index' )
- IEndLoopMin = EndLoop.GetInPort( 'Min' )
- IEndLoopMax = EndLoop.GetInPort( 'Max' )
- IEndLoopIncr = EndLoop.GetInPort( 'Incr' )
- IEndLoopzDiv = EndLoop.GetInPort( 'zDiv' )
- IEndLoopzMul = EndLoop.GetInPort( 'zMul' )
- IEndLoopOK = EndLoop.GetInPort( 'OK' )
- IEndLoopGate = EndLoop.GetInPort( 'Gate' )
- OEndLoopDoLoop = EndLoop.GetOutPort( 'DoLoop' )
- OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- OEndLoopMin = EndLoop.GetOutPort( 'Min' )
- OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- OEndLoopIncr = EndLoop.GetOutPort( 'Incr' )
- OEndLoopzDiv = EndLoop.GetOutPort( 'zDiv' )
- OEndLoopzMul = EndLoop.GetOutPort( 'zMul' )
- OEndLoopOK = EndLoop.GetOutPort( 'OK' )
- OEndLoopGate = EndLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 5 , 265 )
-
- # Creation of Macro Nodes
- GraphSub_1 = DefGraphSub_1()
- Macro_GraphSub = GraphLoopMacroNodesOutput.GraphMNode( GraphSub_1 )
- Macro_GraphSub.SetCoupled( 'GraphSub_1' )
- Macro_GraphSub.SetName( 'Macro_GraphSub' )
- Macro_GraphSub.SetAuthor( '' )
- Macro_GraphSub.SetComment( 'Macro Node' )
- Macro_GraphSub.Coords( 512 , 319 )
- IMacro_GraphSubSub__x = Macro_GraphSub.GetInPort( 'Sub__x' )
- IMacro_GraphSubSub__y = Macro_GraphSub.GetInPort( 'Sub__y' )
- IMacro_GraphSubGate = Macro_GraphSub.GetInPort( 'Gate' )
- OMacro_GraphSubSub__z = Macro_GraphSub.GetOutPort( 'Sub__z' )
- OMacro_GraphSubGate = Macro_GraphSub.GetOutPort( 'Gate' )
-
- GraphAddLoop = DefGraphAddLoop()
- Macro_GraphAddLoop = GraphLoopMacroNodesOutput.GraphMNode( GraphAddLoop )
- Macro_GraphAddLoop.SetCoupled( 'GraphAddLoop' )
- Macro_GraphAddLoop.SetName( 'Macro_GraphAddLoop' )
- Macro_GraphAddLoop.SetAuthor( '' )
- Macro_GraphAddLoop.SetComment( 'Macro Node' )
- Macro_GraphAddLoop.Coords( 628 , 14 )
- IMacro_GraphAddLoopInit_1__Index = Macro_GraphAddLoop.GetInPort( 'Init_1__Index' )
- IMacro_GraphAddLoopInit_1__Min = Macro_GraphAddLoop.GetInPort( 'Init_1__Min' )
- IMacro_GraphAddLoopInit_1__Max = Macro_GraphAddLoop.GetInPort( 'Init_1__Max' )
- IMacro_GraphAddLoopInit_1__Incr = Macro_GraphAddLoop.GetInPort( 'Init_1__Incr' )
- IMacro_GraphAddLoopInit_1__zDiv = Macro_GraphAddLoop.GetInPort( 'Init_1__zDiv' )
- IMacro_GraphAddLoopInit_1__zMul = Macro_GraphAddLoop.GetInPort( 'Init_1__zMul' )
- IMacro_GraphAddLoopInit_1__OK = Macro_GraphAddLoop.GetInPort( 'Init_1__OK' )
- IMacro_GraphAddLoopInit_1__x = Macro_GraphAddLoop.GetInPort( 'Init_1__x' )
- IMacro_GraphAddLoopInit_1__y = Macro_GraphAddLoop.GetInPort( 'Init_1__y' )
- IMacro_GraphAddLoopGate = Macro_GraphAddLoop.GetInPort( 'Gate' )
- OMacro_GraphAddLoopAdd__FuncValue = Macro_GraphAddLoop.GetOutPort( 'Add__FuncValue' )
- OMacro_GraphAddLoopAdd__z = Macro_GraphAddLoop.GetOutPort( 'Add__z' )
- OMacro_GraphAddLoopEndInit_1__Index = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__Index' )
- OMacro_GraphAddLoopEndInit_1__Min = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__Min' )
- OMacro_GraphAddLoopEndInit_1__Max = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__Max' )
- OMacro_GraphAddLoopEndInit_1__Incr = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__Incr' )
- OMacro_GraphAddLoopEndInit_1__zDiv = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__zDiv' )
- OMacro_GraphAddLoopEndInit_1__zMul = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__zMul' )
- OMacro_GraphAddLoopEndInit_1__OK = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__OK' )
- OMacro_GraphAddLoopEndInit_1__x = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__x' )
- OMacro_GraphAddLoopEndInit_1__y = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__y' )
- OMacro_GraphAddLoopGate = Macro_GraphAddLoop.GetOutPort( 'Gate' )
-
- # Creation of Links
- LAddFuncValueMacro_GraphSubSub__x = GraphLoopMacroNodesOutput.Link( OAddFuncValue , IMacro_GraphSubSub__x )
-
- LAddFuncValueMacro_GraphAddLoopInit_1__y = GraphLoopMacroNodesOutput.Link( OAddFuncValue , IMacro_GraphAddLoopInit_1__y )
-
- LAddzSuby = GraphLoopMacroNodesOutput.Link( OAddz , ISuby )
-
- LAddzMacro_GraphSubSub__y = GraphLoopMacroNodesOutput.Link( OAddz , IMacro_GraphSubSub__y )
-
- LSubzMulx = GraphLoopMacroNodesOutput.Link( OSubz , IMulx )
- LSubzMulx.AddCoord( 1 , 767 , 389 )
- LSubzMulx.AddCoord( 2 , 767 , 297 )
- LSubzMulx.AddCoord( 3 , 592 , 297 )
- LSubzMulx.AddCoord( 4 , 592 , 217 )
-
- LSubzMacro_GraphAddLoopInit_1__x = GraphLoopMacroNodesOutput.Link( OSubz , IMacro_GraphAddLoopInit_1__x )
-
- LSubzMacro_GraphAddLoopInit_1__zDiv = GraphLoopMacroNodesOutput.Link( OSubz , IMacro_GraphAddLoopInit_1__zDiv )
-
- LSubzMacro_GraphAddLoopInit_1__zMul = GraphLoopMacroNodesOutput.Link( OSubz , IMacro_GraphAddLoopInit_1__zMul )
-
- LSubzMacro_GraphAddLoopInit_1__OK = GraphLoopMacroNodesOutput.Link( OSubz , IMacro_GraphAddLoopInit_1__OK )
-
- LMulzResultsControlzMul = GraphLoopMacroNodesOutput.Link( OMulz , IResultsControlzMul )
-
- LDivzResultsControlzDiv = GraphLoopMacroNodesOutput.Link( ODivz , IResultsControlzDiv )
-
- LMacro_GraphSubSub__zMuly = GraphLoopMacroNodesOutput.Link( OMacro_GraphSubSub__z , IMuly )
-
- LMacro_GraphSubGateMulGate = GraphLoopMacroNodesOutput.Link( OMacro_GraphSubGate , IMulGate )
-
- LLoopIndexEndLoopIndex = GraphLoopMacroNodesOutput.Link( OLoopIndex , IEndLoopIndex )
-
- LLoopIndexAddx = GraphLoopMacroNodesOutput.Link( OLoopIndex , IAddx )
-
- LLoopIndexResultsControlx = GraphLoopMacroNodesOutput.Link( OLoopIndex , IResultsControlx )
-
- LLoopMinEndLoopMin = GraphLoopMacroNodesOutput.Link( OLoopMin , IEndLoopMin )
-
- LLoopMaxEndLoopMax = GraphLoopMacroNodesOutput.Link( OLoopMax , IEndLoopMax )
-
- LLoopMaxAddy = GraphLoopMacroNodesOutput.Link( OLoopMax , IAddy )
-
- LLoopMaxResultsControly = GraphLoopMacroNodesOutput.Link( OLoopMax , IResultsControly )
-
- LLoopIncrEndLoopIncr = GraphLoopMacroNodesOutput.Link( OLoopIncr , IEndLoopIncr )
-
- LResultsControlzDivEndLoopzDiv = GraphLoopMacroNodesOutput.Link( OResultsControlzDiv , IEndLoopzDiv )
-
- LResultsControlzMulEndLoopzMul = GraphLoopMacroNodesOutput.Link( OResultsControlzMul , IEndLoopzMul )
-
- LResultsControlOKEndLoopOK = GraphLoopMacroNodesOutput.Link( OResultsControlOK , IEndLoopOK )
-
- LMacro_GraphAddLoopAdd__FuncValueDivx = GraphLoopMacroNodesOutput.Link( OMacro_GraphAddLoopAdd__FuncValue , IDivx )
-
- LMacro_GraphAddLoopAdd__zDivy = GraphLoopMacroNodesOutput.Link( OMacro_GraphAddLoopAdd__z , IDivy )
-
- # Input datas
- ISubx.Input( 1.5 )
- ILoopIndex.Input( 0 )
- ILoopMin.Input( 7 )
- ILoopMax.Input( 17 )
- ILoopIncr.Input( 1 )
- ILoopzDiv.Input( 0 )
- ILoopzMul.Input( 0 )
- ILoopOK.Input( 'Okay' )
- IMacro_GraphAddLoopInit_1__Index.Input( 0 )
- IMacro_GraphAddLoopInit_1__Min.Input( 5 )
- IMacro_GraphAddLoopInit_1__Max.Input( 11 )
- IMacro_GraphAddLoopInit_1__Incr.Input( 1 )
-
- # Output Ports of the graph
- #OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- #OEndLoopMin = EndLoop.GetOutPort( 'Min' )
- #OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- #OEndLoopIncr = EndLoop.GetOutPort( 'Incr' )
- #OEndLoopzDiv = EndLoop.GetOutPort( 'zDiv' )
- #OEndLoopzMul = EndLoop.GetOutPort( 'zMul' )
- #OEndLoopOK = EndLoop.GetOutPort( 'OK' )
- #OResultsControlDiv_z = ResultsControl.GetOutPort( 'Div_z' )
- #OResultsControlMul_z = ResultsControl.GetOutPort( 'Mul_z' )
- #OMacro_GraphAddLoopEndInit_1__Index = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__Index' )
- #OMacro_GraphAddLoopEndInit_1__Min = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__Min' )
- #OMacro_GraphAddLoopEndInit_1__Max = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__Max' )
- #OMacro_GraphAddLoopEndInit_1__Incr = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__Incr' )
- #OMacro_GraphAddLoopEndInit_1__zDiv = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__zDiv' )
- #OMacro_GraphAddLoopEndInit_1__zMul = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__zMul' )
- #OMacro_GraphAddLoopEndInit_1__OK = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__OK' )
- #OMacro_GraphAddLoopEndInit_1__x = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__x' )
- #OMacro_GraphAddLoopEndInit_1__y = Macro_GraphAddLoop.GetOutPort( 'EndInit_1__y' )
- return GraphLoopMacroNodesOutput
-
-# Graph creation of GraphSub_1
-def DefGraphSub_1() :
- GraphSub_1 = Graph( 'GraphSub_1' )
- GraphSub_1.SetCoupled( 'Macro_GraphSub' )
- GraphSub_1.SetName( 'GraphSub_1' )
- GraphSub_1.SetAuthor( '' )
- GraphSub_1.SetComment( '' )
- GraphSub_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Sub = GraphSub_1.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'localhost/FactoryServer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 55 , 71 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- # Input Ports of the graph
- #ISubx = Sub.GetInPort( 'x' )
- #ISuby = Sub.GetInPort( 'y' )
-
- # Output Ports of the graph
- #OSubz = Sub.GetOutPort( 'z' )
- return GraphSub_1
-
-# Graph creation of GraphAddLoop
-def DefGraphAddLoop() :
- GraphAddLoop = Graph( 'GraphAddLoop' )
- GraphAddLoop.SetCoupled( 'Macro_GraphAddLoop' )
- GraphAddLoop.SetName( 'GraphAddLoop' )
- GraphAddLoop.SetAuthor( '' )
- GraphAddLoop.SetComment( '' )
- GraphAddLoop.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphAddLoop.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'localhost/FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 248 , 247 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInit_1 = []
- PyInit_1.append( 'def Init_1(Index,Min,Max,Incr,zDiv,zMul,OK,x,y) :' )
- PyInit_1.append( ' if Min <= Max :' )
- PyInit_1.append( ' Index = Min' )
- PyInit_1.append( ' else :' )
- PyInit_1.append( ' Index = Max' )
- PyInit_1.append( ' return Index,Min,Max,Incr,zDiv,zMul,OK,x,y' )
- PyInit_1.append( '' )
- PyMoreInit_1 = []
- PyMoreInit_1.append( 'def More_1(Index,Min,Max,Incr,zDiv,zMul,OK,x,y) :' )
- PyMoreInit_1.append( ' if Index < Max :' )
- PyMoreInit_1.append( ' DoLoop = 1' )
- PyMoreInit_1.append( ' else :' )
- PyMoreInit_1.append( ' DoLoop = 0' )
- PyMoreInit_1.append( ' return DoLoop,Index,Min,Max,Incr,zDiv,zMul,OK,x,y' )
- PyMoreInit_1.append( '' )
- PyNextInit_1 = []
- PyNextInit_1.append( 'def Next_1(Index,Min,Max,Incr,zDiv,zMul,OK,x,y) :' )
- PyNextInit_1.append( ' Index = Index + Incr' )
- PyNextInit_1.append( ' return Index,Min,Max,Incr,zDiv,zMul,OK,x,y' )
- PyNextInit_1.append( '' )
- Init_1,EndInit_1 = GraphAddLoop.LNode( 'Init_1' , PyInit_1 , 'More_1' , PyMoreInit_1 , 'Next_1' , PyNextInit_1 )
- EndInit_1.SetName( 'EndInit_1' )
- EndInit_1.SetAuthor( '' )
- EndInit_1.SetComment( 'Compute Node' )
- EndInit_1.Coords( 460 , 146 )
- PyEndInit_1 = []
- EndInit_1.SetPyFunction( 'EndInit_1' , PyEndInit_1 )
- IInit_1DoLoop = Init_1.GetInPort( 'DoLoop' )
- IInit_1Index = Init_1.InPort( 'Index' , 'long' )
- IInit_1Min = Init_1.InPort( 'Min' , 'long' )
- IInit_1Max = Init_1.InPort( 'Max' , 'long' )
- IInit_1Incr = Init_1.InPort( 'Incr' , 'long' )
- IInit_1zDiv = Init_1.InPort( 'zDiv' , 'double' )
- IInit_1zMul = Init_1.InPort( 'zMul' , 'double' )
- IInit_1OK = Init_1.InPort( 'OK' , 'string' )
- IInit_1x = Init_1.InPort( 'x' , 'double' )
- IInit_1y = Init_1.InPort( 'y' , 'double' )
- IInit_1Gate = Init_1.GetInPort( 'Gate' )
- OInit_1DoLoop = Init_1.GetOutPort( 'DoLoop' )
- OInit_1Index = Init_1.GetOutPort( 'Index' )
- OInit_1Min = Init_1.GetOutPort( 'Min' )
- OInit_1Max = Init_1.GetOutPort( 'Max' )
- OInit_1Incr = Init_1.GetOutPort( 'Incr' )
- OInit_1zDiv = Init_1.GetOutPort( 'zDiv' )
- OInit_1zMul = Init_1.GetOutPort( 'zMul' )
- OInit_1OK = Init_1.GetOutPort( 'OK' )
- OInit_1x = Init_1.GetOutPort( 'x' )
- OInit_1y = Init_1.GetOutPort( 'y' )
- OInit_1Gate = Init_1.GetOutPort( 'Gate' )
- IEndInit_1DoLoop = EndInit_1.GetInPort( 'DoLoop' )
- IEndInit_1Index = EndInit_1.GetInPort( 'Index' )
- IEndInit_1Min = EndInit_1.GetInPort( 'Min' )
- IEndInit_1Max = EndInit_1.GetInPort( 'Max' )
- IEndInit_1Incr = EndInit_1.GetInPort( 'Incr' )
- IEndInit_1zDiv = EndInit_1.GetInPort( 'zDiv' )
- IEndInit_1zMul = EndInit_1.GetInPort( 'zMul' )
- IEndInit_1OK = EndInit_1.GetInPort( 'OK' )
- IEndInit_1x = EndInit_1.GetInPort( 'x' )
- IEndInit_1y = EndInit_1.GetInPort( 'y' )
- IEndInit_1Gate = EndInit_1.GetInPort( 'Gate' )
- OEndInit_1DoLoop = EndInit_1.GetOutPort( 'DoLoop' )
- OEndInit_1Index = EndInit_1.GetOutPort( 'Index' )
- OEndInit_1Min = EndInit_1.GetOutPort( 'Min' )
- OEndInit_1Max = EndInit_1.GetOutPort( 'Max' )
- OEndInit_1Incr = EndInit_1.GetOutPort( 'Incr' )
- OEndInit_1zDiv = EndInit_1.GetOutPort( 'zDiv' )
- OEndInit_1zMul = EndInit_1.GetOutPort( 'zMul' )
- OEndInit_1OK = EndInit_1.GetOutPort( 'OK' )
- OEndInit_1x = EndInit_1.GetOutPort( 'x' )
- OEndInit_1y = EndInit_1.GetOutPort( 'y' )
- OEndInit_1Gate = EndInit_1.GetOutPort( 'Gate' )
- Init_1.SetName( 'Init_1' )
- Init_1.SetAuthor( '' )
- Init_1.SetComment( 'Compute Node' )
- Init_1.Coords( 37 , 147 )
-
- # Creation of Links
- LAddGateEndInit_1Gate = GraphAddLoop.Link( OAddGate , IEndInit_1Gate )
-
- LInit_1IndexEndInit_1Index = GraphAddLoop.Link( OInit_1Index , IEndInit_1Index )
-
- LInit_1MinEndInit_1Min = GraphAddLoop.Link( OInit_1Min , IEndInit_1Min )
-
- LInit_1MaxEndInit_1Max = GraphAddLoop.Link( OInit_1Max , IEndInit_1Max )
-
- LInit_1IncrEndInit_1Incr = GraphAddLoop.Link( OInit_1Incr , IEndInit_1Incr )
-
- LInit_1zDivEndInit_1zDiv = GraphAddLoop.Link( OInit_1zDiv , IEndInit_1zDiv )
-
- LInit_1zMulEndInit_1zMul = GraphAddLoop.Link( OInit_1zMul , IEndInit_1zMul )
-
- LInit_1OKEndInit_1OK = GraphAddLoop.Link( OInit_1OK , IEndInit_1OK )
-
- LInit_1xEndInit_1x = GraphAddLoop.Link( OInit_1x , IEndInit_1x )
-
- LInit_1xAddx = GraphAddLoop.Link( OInit_1x , IAddx )
-
- LInit_1yEndInit_1y = GraphAddLoop.Link( OInit_1y , IEndInit_1y )
-
- LInit_1yAddy = GraphAddLoop.Link( OInit_1y , IAddy )
-
- # Input Ports of the graph
- #IInit_1Index = Init_1.GetInPort( 'Index' )
- #IInit_1Min = Init_1.GetInPort( 'Min' )
- #IInit_1Max = Init_1.GetInPort( 'Max' )
- #IInit_1Incr = Init_1.GetInPort( 'Incr' )
- #IInit_1zDiv = Init_1.GetInPort( 'zDiv' )
- #IInit_1zMul = Init_1.GetInPort( 'zMul' )
- #IInit_1OK = Init_1.GetInPort( 'OK' )
- #IInit_1x = Init_1.GetInPort( 'x' )
- #IInit_1y = Init_1.GetInPort( 'y' )
-
- # Output Ports of the graph
- #OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- #OAddz = Add.GetOutPort( 'z' )
- #OEndInit_1Index = EndInit_1.GetOutPort( 'Index' )
- #OEndInit_1Min = EndInit_1.GetOutPort( 'Min' )
- #OEndInit_1Max = EndInit_1.GetOutPort( 'Max' )
- #OEndInit_1Incr = EndInit_1.GetOutPort( 'Incr' )
- #OEndInit_1zDiv = EndInit_1.GetOutPort( 'zDiv' )
- #OEndInit_1zMul = EndInit_1.GetOutPort( 'zMul' )
- #OEndInit_1OK = EndInit_1.GetOutPort( 'OK' )
- #OEndInit_1x = EndInit_1.GetOutPort( 'x' )
- #OEndInit_1y = EndInit_1.GetOutPort( 'y' )
- return GraphAddLoop
-
-
-GraphLoopMacroNodesOutput = DefGraphLoopMacroNodesOutput()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopMemory_1
-#
-from SuperV import *
-
-# Graph creation of GraphLoopMemory_1
-def DefGraphLoopMemory_1() :
- GraphLoopMemory_1 = Graph( 'GraphLoopMemory_1' )
- GraphLoopMemory_1.SetName( 'GraphLoopMemory_1' )
- GraphLoopMemory_1.SetAuthor( 'JR' )
- GraphLoopMemory_1.SetComment( 'For solving of memory leaks' )
- GraphLoopMemory_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'def Init(Index,Min,Max,Incr) : ' )
- PyInit.append( ' if Min <= Max : ' )
- PyInit.append( ' Index = Min ' )
- PyInit.append( ' else : ' )
- PyInit.append( ' Index = Max ' )
- PyInit.append( ' return Index,Min,Max,Incr ' )
- PyMoreInit = []
- PyMoreInit.append( 'def More(Index,Min,Max,Incr) : ' )
- PyMoreInit.append( ' if Index < Max : ' )
- PyMoreInit.append( ' DoLoop = 1 ' )
- PyMoreInit.append( ' else : ' )
- PyMoreInit.append( ' DoLoop = 0 ' )
- PyMoreInit.append( ' return DoLoop,Index,Min,Max,Incr ' )
- PyNextInit = []
- PyNextInit.append( 'def Next(Index,Min,Max,Incr) : ' )
- PyNextInit.append( ' Index = Index + Incr ' )
- PyNextInit.append( ' return Index,Min,Max,Incr ' )
- Init,EndInit = GraphLoopMemory_1.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( '' )
- EndInit.SetComment( 'Compute Node' )
- EndInit.Coords( 366 , 262 )
- PyEndInit = []
- EndInit.SetPyFunction( '' , PyEndInit )
- IInitDoLoop = Init.GetInPort( 'DoLoop' )
- IInitIndex = Init.InPort( 'Index' , 'long' )
- IInitMin = Init.InPort( 'Min' , 'long' )
- IInitMax = Init.InPort( 'Max' , 'long' )
- IInitIncr = Init.InPort( 'Incr' , 'long' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitIndex = Init.GetOutPort( 'Index' )
- OInitMin = Init.GetOutPort( 'Min' )
- OInitMax = Init.GetOutPort( 'Max' )
- OInitIncr = Init.GetOutPort( 'Incr' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitIndex = EndInit.GetInPort( 'Index' )
- IEndInitMin = EndInit.GetInPort( 'Min' )
- IEndInitMax = EndInit.GetInPort( 'Max' )
- IEndInitIncr = EndInit.GetInPort( 'Incr' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitIndex = EndInit.GetOutPort( 'Index' )
- OEndInitMin = EndInit.GetOutPort( 'Min' )
- OEndInitMax = EndInit.GetOutPort( 'Max' )
- OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- OEndInitGate = EndInit.GetOutPort( 'Gate' )
- Init.SetName( 'Init' )
- Init.SetAuthor( '' )
- Init.SetComment( 'Compute Node' )
- Init.Coords( 17 , 257 )
-
- # Creation of Links
- LInitIndexEndInitIndex = GraphLoopMemory_1.Link( OInitIndex , IEndInitIndex )
-
- LInitMinEndInitMin = GraphLoopMemory_1.Link( OInitMin , IEndInitMin )
-
- LInitMaxEndInitMax = GraphLoopMemory_1.Link( OInitMax , IEndInitMax )
-
- LInitIncrEndInitIncr = GraphLoopMemory_1.Link( OInitIncr , IEndInitIncr )
-
- # Input datas
- IInitIndex.Input( 0 )
- IInitMin.Input( 5 )
- IInitMax.Input( 100000 )
- IInitIncr.Input( 1 )
-
- # Output Ports of the graph
- #OEndInitIndex = EndInit.GetOutPort( 'Index' )
- #OEndInitMin = EndInit.GetOutPort( 'Min' )
- #OEndInitMax = EndInit.GetOutPort( 'Max' )
- #OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- return GraphLoopMemory_1
-
-
-GraphLoopMemory_1 = DefGraphLoopMemory_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopPyAddAddMemory
-#
-from SuperV import *
-
-# Graph creation of GraphLoopPyAddAddMemory
-def DefGraphLoopPyAddAddMemory() :
- GraphLoopPyAddAddMemory = Graph( 'GraphLoopPyAddAddMemory' )
- GraphLoopPyAddAddMemory.SetName( 'GraphLoopPyAddAddMemory' )
- GraphLoopPyAddAddMemory.SetAuthor( 'JR' )
- GraphLoopPyAddAddMemory.SetComment( 'For solving of memory leaks' )
- GraphLoopPyAddAddMemory.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- AddWithoutSleep = GraphLoopPyAddAddMemory.FNode( 'AddComponent' , 'AddComponent' , 'AddWithoutSleep' )
- AddWithoutSleep.SetName( 'AddWithoutSleep' )
- AddWithoutSleep.SetAuthor( '' )
- AddWithoutSleep.SetContainer( 'localhost/FactoryServer' )
- AddWithoutSleep.SetComment( 'AddWithoutSleep from AddComponent' )
- AddWithoutSleep.Coords( 255 , 352 )
- IAddWithoutSleepx = AddWithoutSleep.GetInPort( 'x' )
- IAddWithoutSleepy = AddWithoutSleep.GetInPort( 'y' )
- IAddWithoutSleepGate = AddWithoutSleep.GetInPort( 'Gate' )
- OAddWithoutSleepFuncValue = AddWithoutSleep.GetOutPort( 'FuncValue' )
- OAddWithoutSleepz = AddWithoutSleep.GetOutPort( 'z' )
- OAddWithoutSleepGate = AddWithoutSleep.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- PyPyAdd = []
- PyPyAdd.append( 'def PyAdd(a,b) : ' )
- PyPyAdd.append( ' return a,a+b ' )
- PyAdd = GraphLoopPyAddAddMemory.INode( 'PyAdd' , PyPyAdd )
- PyAdd.SetName( 'PyAdd' )
- PyAdd.SetAuthor( '' )
- PyAdd.SetComment( 'Compute Node' )
- PyAdd.Coords( 266 , 188 )
- IPyAdda = PyAdd.InPort( 'a' , 'long' )
- IPyAddb = PyAdd.InPort( 'b' , 'long' )
- IPyAddGate = PyAdd.GetInPort( 'Gate' )
- OPyAdda = PyAdd.OutPort( 'a' , 'long' )
- OPyAddc = PyAdd.OutPort( 'c' , 'long' )
- OPyAddGate = PyAdd.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'def Init(Index,Min,Max,Incr) : ' )
- PyInit.append( ' if Min <= Max : ' )
- PyInit.append( ' Index = Min ' )
- PyInit.append( ' else : ' )
- PyInit.append( ' Index = Max ' )
- PyInit.append( ' return Index,Min,Max,Incr ' )
- PyMoreInit = []
- PyMoreInit.append( 'def More(Index,Min,Max,Incr) : ' )
- PyMoreInit.append( ' if Index < Max : ' )
- PyMoreInit.append( ' DoLoop = 1 ' )
- PyMoreInit.append( ' else : ' )
- PyMoreInit.append( ' DoLoop = 0 ' )
- PyMoreInit.append( ' return DoLoop,Index,Min,Max,Incr ' )
- PyNextInit = []
- PyNextInit.append( 'def Next(Index,Min,Max,Incr) : ' )
- PyNextInit.append( ' Index = Index + Incr ' )
- PyNextInit.append( ' return Index,Min,Max,Incr ' )
- Init,EndInit = GraphLoopPyAddAddMemory.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( '' )
- EndInit.SetComment( 'Compute Node' )
- EndInit.Coords( 495 , 262 )
- PyEndInit = []
- EndInit.SetPyFunction( '' , PyEndInit )
- IInitDoLoop = Init.GetInPort( 'DoLoop' )
- IInitIndex = Init.InPort( 'Index' , 'long' )
- IInitMin = Init.InPort( 'Min' , 'long' )
- IInitMax = Init.InPort( 'Max' , 'long' )
- IInitIncr = Init.InPort( 'Incr' , 'long' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitIndex = Init.GetOutPort( 'Index' )
- OInitMin = Init.GetOutPort( 'Min' )
- OInitMax = Init.GetOutPort( 'Max' )
- OInitIncr = Init.GetOutPort( 'Incr' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitIndex = EndInit.GetInPort( 'Index' )
- IEndInitMin = EndInit.GetInPort( 'Min' )
- IEndInitMax = EndInit.GetInPort( 'Max' )
- IEndInitIncr = EndInit.GetInPort( 'Incr' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitIndex = EndInit.GetOutPort( 'Index' )
- OEndInitMin = EndInit.GetOutPort( 'Min' )
- OEndInitMax = EndInit.GetOutPort( 'Max' )
- OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- OEndInitGate = EndInit.GetOutPort( 'Gate' )
- Init.SetName( 'Init' )
- Init.SetAuthor( '' )
- Init.SetComment( 'Compute Node' )
- Init.Coords( 17 , 257 )
-
- # Creation of Links
- LInitIndexAddWithoutSleepx = GraphLoopPyAddAddMemory.Link( OInitIndex , IAddWithoutSleepx )
-
- LInitIndexPyAdda = GraphLoopPyAddAddMemory.Link( OInitIndex , IPyAdda )
-
- LInitMinEndInitMin = GraphLoopPyAddAddMemory.Link( OInitMin , IEndInitMin )
-
- LInitMaxEndInitMax = GraphLoopPyAddAddMemory.Link( OInitMax , IEndInitMax )
-
- LInitMaxAddWithoutSleepy = GraphLoopPyAddAddMemory.Link( OInitMax , IAddWithoutSleepy )
-
- LInitMaxPyAddb = GraphLoopPyAddAddMemory.Link( OInitMax , IPyAddb )
-
- LInitIncrEndInitIncr = GraphLoopPyAddAddMemory.Link( OInitIncr , IEndInitIncr )
-
- LAddWithoutSleepGateEndInitGate = GraphLoopPyAddAddMemory.Link( OAddWithoutSleepGate , IEndInitGate )
-
- LPyAddaEndInitIndex = GraphLoopPyAddAddMemory.Link( OPyAdda , IEndInitIndex )
-
- # Input datas
- IInitIndex.Input( 0 )
- IInitMin.Input( 5 )
- IInitMax.Input( 100000 )
- IInitIncr.Input( 1 )
-
- # Output Ports of the graph
- #OEndInitIndex = EndInit.GetOutPort( 'Index' )
- #OEndInitMin = EndInit.GetOutPort( 'Min' )
- #OEndInitMax = EndInit.GetOutPort( 'Max' )
- #OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- #OAddWithoutSleepFuncValue = AddWithoutSleep.GetOutPort( 'FuncValue' )
- #OAddWithoutSleepz = AddWithoutSleep.GetOutPort( 'z' )
- #OPyAddc = PyAdd.GetOutPort( 'c' )
- return GraphLoopPyAddAddMemory
-
-
-GraphLoopPyAddAddMemory = DefGraphLoopPyAddAddMemory()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitch
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitch
-def DefGraphLoopSwitch() :
- GraphLoopSwitch = Graph( 'GraphLoopSwitch' )
- GraphLoopSwitch.SetName( 'GraphLoopSwitch' )
- GraphLoopSwitch.SetAuthor( 'JR' )
- GraphLoopSwitch.SetComment( '' )
- GraphLoopSwitch.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a) : ' )
- PyIsOdd.append( ' print a,"IsOdd (GraphLoopSwitch1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphLoopSwitch.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 1 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyValEven = []
- PyValEven.append( 'from time import * ' )
- PyValEven.append( 'def ValEven(Even) : ' )
- PyValEven.append( ' sleep(1) ' )
- PyValEven.append( ' return Even ' )
- PyValEven.append( '' )
- ValEven = GraphLoopSwitch.INode( 'ValEven' , PyValEven )
- ValEven.SetName( 'ValEven' )
- ValEven.SetAuthor( '' )
- ValEven.SetComment( 'Compute Node' )
- ValEven.Coords( 396 , 222 )
- IValEvenEven = ValEven.InPort( 'Even' , 'long' )
- IValEvenGate = ValEven.GetInPort( 'Gate' )
- OValEvenEven = ValEven.OutPort( 'Even' , 'long' )
- OValEvenGate = ValEven.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyInitLoop.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoop.append( ' Index = Min ' )
- PyInitLoop.append( ' return Index,Min,Max ' )
- PyInitLoop.append( '' )
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphLoopSwitch.LNode( 'InitLoop' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 767 , 102 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphLoopSwitch.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 587 , 103 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a,Even) : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchEven = EndSwitch.InPort( 'Even' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- 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
- LIsOddaEndSwitcha = GraphLoopSwitch.Link( OIsOdda , IEndSwitcha )
-
- LInitLoopIndexSwitcha = GraphLoopSwitch.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphLoopSwitch.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphLoopSwitch.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphLoopSwitch.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenValEvenEven = GraphLoopSwitch.Link( OSwitchEven , IValEvenEven )
-
- LSwitchaIsOdda = GraphLoopSwitch.Link( OSwitcha , IIsOdda )
-
- LSwitchDefaultEndSwitchDefault = GraphLoopSwitch.Link( OSwitchDefault , IEndSwitchDefault )
-
- LEndSwitchaEndOfInitLoopIndex = GraphLoopSwitch.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- LValEvenEvenEndSwitchEven = GraphLoopSwitch.Link( OValEvenEven , IEndSwitchEven )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 5 )
- IInitLoopMax.Input( 23 )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- return GraphLoopSwitch
-
-
-GraphLoopSwitch = DefGraphLoopSwitch()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchDefault
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchDefault
-def DefGraphLoopSwitchDefault() :
- GraphLoopSwitchDefault = Graph( 'GraphLoopSwitchDefault' )
- GraphLoopSwitchDefault.SetName( 'GraphLoopSwitchDefault' )
- GraphLoopSwitchDefault.SetAuthor( 'JR' )
- GraphLoopSwitchDefault.SetComment( '' )
- GraphLoopSwitchDefault.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 (GraphLoopSwitch1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphLoopSwitchDefault.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 1 )
- 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( ' Index = Min ' )
- PyInitLoop.append( ' return Index,Min,Max ' )
- PyInitLoop.append( '' )
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphLoopSwitchDefault.LNode( 'InitLoop' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 767 , 102 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphLoopSwitchDefault.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 587 , 103 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a) : ' )
- PyEndSwitch.append( ' if ( a & 1 ) == 0 : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- 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
- LIsOddaEndSwitcha = GraphLoopSwitchDefault.Link( OIsOdda , IEndSwitcha )
-
- LInitLoopIndexSwitcha = GraphLoopSwitchDefault.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphLoopSwitchDefault.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphLoopSwitchDefault.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphLoopSwitchDefault.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchaIsOdda = GraphLoopSwitchDefault.Link( OSwitcha , IIsOdda )
-
- LSwitchDefaultEndSwitchDefault = GraphLoopSwitchDefault.Link( OSwitchDefault , IEndSwitchDefault )
-
- LEndSwitchaEndOfInitLoopIndex = GraphLoopSwitchDefault.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 5 )
- IInitLoopMax.Input( 23 )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- return GraphLoopSwitchDefault
-
-
-GraphLoopSwitchDefault = DefGraphLoopSwitchDefault()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchDefaultAborted
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchDefaultAborted
-def DefGraphLoopSwitchDefaultAborted() :
- GraphLoopSwitchDefaultAborted = Graph( 'GraphLoopSwitchDefaultAborted' )
- GraphLoopSwitchDefaultAborted.SetName( 'GraphLoopSwitchDefaultAborted' )
- GraphLoopSwitchDefaultAborted.SetAuthor( 'JR' )
- GraphLoopSwitchDefaultAborted.SetComment( 'Default Ports are not connected and the Executor will detect a Default condition ==> ABORT' )
- GraphLoopSwitchDefaultAborted.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 (GraphLoopSwitch1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphLoopSwitchDefaultAborted.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 1 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyVala = []
- PyVala.append( 'from time import * ' )
- PyVala.append( 'def ValEven(Even) : ' )
- PyVala.append( ' sleep(1) ' )
- PyVala.append( ' return Even ' )
- PyVala.append( '' )
- Vala = GraphLoopSwitchDefaultAborted.INode( 'ValEven' , PyVala )
- Vala.SetName( 'Vala' )
- Vala.SetAuthor( '' )
- Vala.SetComment( 'Compute Node' )
- Vala.Coords( 394 , 137 )
- IValaEven = Vala.InPort( 'Even' , 'long' )
- IValaGate = Vala.GetInPort( 'Gate' )
- OValaEven = Vala.OutPort( 'Even' , 'long' )
- OValaGate = Vala.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyInitLoop.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoop.append( ' Index = Min ' )
- PyInitLoop.append( ' return Index,Min,Max ' )
- PyInitLoop.append( '' )
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphLoopSwitchDefaultAborted.LNode( 'InitLoop' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 767 , 102 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphLoopSwitchDefaultAborted.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 587 , 103 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a,Even) : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchEven = EndSwitch.InPort( 'Even' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- 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
- LIsOddaEndSwitcha = GraphLoopSwitchDefaultAborted.Link( OIsOdda , IEndSwitcha )
-
- LInitLoopIndexSwitcha = GraphLoopSwitchDefaultAborted.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphLoopSwitchDefaultAborted.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphLoopSwitchDefaultAborted.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphLoopSwitchDefaultAborted.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenValaEven = GraphLoopSwitchDefaultAborted.Link( OSwitchEven , IValaEven )
-
- LSwitchaIsOdda = GraphLoopSwitchDefaultAborted.Link( OSwitcha , IIsOdda )
-
- LEndSwitchaEndOfInitLoopIndex = GraphLoopSwitchDefaultAborted.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- LValaEvenEndSwitchEven = GraphLoopSwitchDefaultAborted.Link( OValaEven , IEndSwitchEven )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 5 )
- IInitLoopMax.Input( 23 )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- return GraphLoopSwitchDefaultAborted
-
-
-GraphLoopSwitchDefaultAborted = DefGraphLoopSwitchDefaultAborted()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchGateDefault
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchGateDefault
-def DefGraphLoopSwitchGateDefault() :
- GraphLoopSwitchGateDefault = Graph( 'GraphLoopSwitchGateDefault' )
- GraphLoopSwitchGateDefault.SetName( 'GraphLoopSwitchGateDefault' )
- GraphLoopSwitchGateDefault.SetAuthor( 'JR' )
- GraphLoopSwitchGateDefault.SetComment( '' )
- GraphLoopSwitchGateDefault.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 (GraphLoopSwitch1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphLoopSwitchGateDefault.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 1 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyValEven = []
- PyValEven.append( 'from time import * ' )
- PyValEven.append( 'def ValEven(Even) : ' )
- PyValEven.append( ' sleep(1) ' )
- PyValEven.append( ' return Even ' )
- PyValEven.append( '' )
- ValEven = GraphLoopSwitchGateDefault.INode( 'ValEven' , PyValEven )
- ValEven.SetName( 'ValEven' )
- ValEven.SetAuthor( '' )
- ValEven.SetComment( 'Compute Node' )
- ValEven.Coords( 396 , 222 )
- IValEvenEven = ValEven.InPort( 'Even' , 'long' )
- IValEvenGate = ValEven.GetInPort( 'Gate' )
- OValEvenEven = ValEven.OutPort( 'Even' , 'long' )
- OValEvenGate = ValEven.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyInitLoop.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoop.append( ' Index = Min ' )
- PyInitLoop.append( ' return Index,Min,Max ' )
- PyInitLoop.append( '' )
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphLoopSwitchGateDefault.LNode( 'InitLoop' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 767 , 102 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphLoopSwitchGateDefault.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 587 , 103 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a,Even) : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchEven = EndSwitch.InPort( 'Even' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- 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
- LIsOddaEndSwitcha = GraphLoopSwitchGateDefault.Link( OIsOdda , IEndSwitcha )
-
- LIsOddGateEndSwitchDefault = GraphLoopSwitchGateDefault.Link( OIsOddGate , IEndSwitchDefault )
-
- LInitLoopIndexSwitcha = GraphLoopSwitchGateDefault.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphLoopSwitchGateDefault.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphLoopSwitchGateDefault.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphLoopSwitchGateDefault.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenValEvenEven = GraphLoopSwitchGateDefault.Link( OSwitchEven , IValEvenEven )
-
- LSwitchaIsOdda = GraphLoopSwitchGateDefault.Link( OSwitcha , IIsOdda )
-
- LSwitchDefaultEndSwitchDefault = GraphLoopSwitchGateDefault.Link( OSwitchDefault , IEndSwitchDefault )
-
- LEndSwitchaEndOfInitLoopIndex = GraphLoopSwitchGateDefault.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- LValEvenEvenEndSwitchEven = GraphLoopSwitchGateDefault.Link( OValEvenEven , IEndSwitchEven )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 5 )
- IInitLoopMax.Input( 23 )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- return GraphLoopSwitchGateDefault
-
-
-GraphLoopSwitchGateDefault = DefGraphLoopSwitchGateDefault()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchGatesDefaultNOTValid
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchGatesDefaultNOTValid
-def DefGraphLoopSwitchGatesDefaultNOTValid() :
- GraphLoopSwitchGatesDefaultNOTValid = Graph( 'GraphLoopSwitchGatesDefaultNOTValid' )
- GraphLoopSwitchGatesDefaultNOTValid.SetName( 'GraphLoopSwitchGatesDefaultNOTValid' )
- GraphLoopSwitchGatesDefaultNOTValid.SetAuthor( 'JR' )
- GraphLoopSwitchGatesDefaultNOTValid.SetComment( '' )
- GraphLoopSwitchGatesDefaultNOTValid.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 (GraphLoopSwitch1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphLoopSwitchGatesDefaultNOTValid.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 1 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyValEven = []
- PyValEven.append( 'from time import * ' )
- PyValEven.append( 'def ValEven(Even) : ' )
- PyValEven.append( ' sleep(1) ' )
- PyValEven.append( ' return Even ' )
- PyValEven.append( '' )
- ValEven = GraphLoopSwitchGatesDefaultNOTValid.INode( 'ValEven' , PyValEven )
- ValEven.SetName( 'ValEven' )
- ValEven.SetAuthor( '' )
- ValEven.SetComment( 'Compute Node' )
- ValEven.Coords( 396 , 222 )
- IValEvenEven = ValEven.InPort( 'Even' , 'long' )
- IValEvenGate = ValEven.GetInPort( 'Gate' )
- OValEvenEven = ValEven.OutPort( 'Even' , 'long' )
- OValEvenGate = ValEven.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyInitLoop.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoop.append( ' Index = Min ' )
- PyInitLoop.append( ' return Index,Min,Max ' )
- PyInitLoop.append( '' )
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphLoopSwitchGatesDefaultNOTValid.LNode( 'InitLoop' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 767 , 102 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphLoopSwitchGatesDefaultNOTValid.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 587 , 103 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a,Even) : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchEven = EndSwitch.InPort( 'Even' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- 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
- LIsOddaEndSwitcha = GraphLoopSwitchGatesDefaultNOTValid.Link( OIsOdda , IEndSwitcha )
-
- LIsOddGateEndSwitchDefault = GraphLoopSwitchGatesDefaultNOTValid.Link( OIsOddGate , IEndSwitchDefault )
-
- LInitLoopIndexSwitcha = GraphLoopSwitchGatesDefaultNOTValid.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphLoopSwitchGatesDefaultNOTValid.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphLoopSwitchGatesDefaultNOTValid.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphLoopSwitchGatesDefaultNOTValid.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenValEvenEven = GraphLoopSwitchGatesDefaultNOTValid.Link( OSwitchEven , IValEvenEven )
-
- LSwitchaIsOdda = GraphLoopSwitchGatesDefaultNOTValid.Link( OSwitcha , IIsOdda )
-
- LSwitchDefaultEndSwitchDefault = GraphLoopSwitchGatesDefaultNOTValid.Link( OSwitchDefault , IEndSwitchDefault )
-
- LEndSwitchaEndOfInitLoopIndex = GraphLoopSwitchGatesDefaultNOTValid.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- LValEvenEvenEndSwitchEven = GraphLoopSwitchGatesDefaultNOTValid.Link( OValEvenEven , IEndSwitchEven )
-
- LValEvenGateEndSwitchDefault = GraphLoopSwitchGatesDefaultNOTValid.Link( OValEvenGate , IEndSwitchDefault )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 5 )
- IInitLoopMax.Input( 23 )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- return GraphLoopSwitchGatesDefaultNOTValid
-
-
-GraphLoopSwitchGatesDefaultNOTValid = DefGraphLoopSwitchGatesDefaultNOTValid()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchOddEven
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchOddEven
-def DefGraphLoopSwitchOddEven() :
- GraphLoopSwitchOddEven = Graph( 'GraphLoopSwitchOddEven' )
- GraphLoopSwitchOddEven.SetName( 'GraphLoopSwitchOddEven' )
- GraphLoopSwitchOddEven.SetAuthor( 'JR' )
- GraphLoopSwitchOddEven.SetComment( '' )
- GraphLoopSwitchOddEven.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 (GraphLoopSwitch1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphLoopSwitchOddEven.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 1 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven(a) : ' )
- PyIsEven.append( ' sleep(1) ' )
- PyIsEven.append( ' return a ' )
- PyIsEven.append( ' ' )
- IsEven = GraphLoopSwitchOddEven.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 400 , 160 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyInitLoop.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoop.append( ' Index = Min ' )
- PyInitLoop.append( ' return Index,Min,Max ' )
- PyInitLoop.append( '' )
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphLoopSwitchOddEven.LNode( 'InitLoop' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 767 , 102 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphLoopSwitchOddEven.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 587 , 103 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a) : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- 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
- LIsOddaEndSwitcha = GraphLoopSwitchOddEven.Link( OIsOdda , IEndSwitcha )
-
- LInitLoopIndexSwitcha = GraphLoopSwitchOddEven.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphLoopSwitchOddEven.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphLoopSwitchOddEven.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphLoopSwitchOddEven.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenIsEvenGate = GraphLoopSwitchOddEven.Link( OSwitchEven , IIsEvenGate )
-
- LSwitchaIsOdda = GraphLoopSwitchOddEven.Link( OSwitcha , IIsOdda )
-
- LSwitchaIsEvena = GraphLoopSwitchOddEven.Link( OSwitcha , IIsEvena )
-
- LEndSwitchaEndOfInitLoopIndex = GraphLoopSwitchOddEven.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- LIsEvenaEndSwitcha = GraphLoopSwitchOddEven.Link( OIsEvena , IEndSwitcha )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 5 )
- IInitLoopMax.Input( 23 )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- return GraphLoopSwitchOddEven
-
-
-GraphLoopSwitchOddEven = DefGraphLoopSwitchOddEven()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchOfSwitch
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchOfSwitch
-def DefGraphLoopSwitchOfSwitch() :
- GraphLoopSwitchOfSwitch = Graph( 'GraphLoopSwitchOfSwitch' )
- GraphLoopSwitchOfSwitch.SetName( 'GraphLoopSwitchOfSwitch' )
- GraphLoopSwitchOfSwitch.SetAuthor( 'JR' )
- GraphLoopSwitchOfSwitch.SetComment( '' )
- GraphLoopSwitchOfSwitch.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- 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 = GraphLoopSwitchOfSwitch.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 437 , 520 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyPseudoPOne = []
- PyPseudoPOne.append( 'from time import * ' )
- PyPseudoPOne.append( 'def PseudoPOne(POne) : ' )
- PyPseudoPOne.append( ' sleep(1) ' )
- PyPseudoPOne.append( ' return 6*POne+1 ' )
- PseudoPOne = GraphLoopSwitchOfSwitch.INode( 'PseudoPOne' , PyPseudoPOne )
- PseudoPOne.SetName( 'PseudoPOne' )
- PseudoPOne.SetAuthor( '' )
- PseudoPOne.SetComment( 'Compute Node' )
- PseudoPOne.Coords( 612 , 5 )
- IPseudoPOnePOne = PseudoPOne.InPort( 'POne' , 'long' )
- IPseudoPOneGate = PseudoPOne.GetInPort( 'Gate' )
- OPseudoPOnea = PseudoPOne.OutPort( 'a' , 'long' )
- OPseudoPOneGate = PseudoPOne.GetOutPort( 'Gate' )
-
- PyPseudoPThree = []
- PyPseudoPThree.append( 'from time import * ' )
- PyPseudoPThree.append( 'def PseudoPThree_1(PThree) : ' )
- PyPseudoPThree.append( ' sleep(1) ' )
- PyPseudoPThree.append( ' return 6*PThree+3 ' )
- PseudoPThree = GraphLoopSwitchOfSwitch.INode( 'PseudoPThree_1' , PyPseudoPThree )
- PseudoPThree.SetName( 'PseudoPThree' )
- PseudoPThree.SetAuthor( '' )
- PseudoPThree.SetComment( 'Compute Node' )
- PseudoPThree.Coords( 620 , 149 )
- IPseudoPThreePThree = PseudoPThree.InPort( 'PThree' , 'long' )
- IPseudoPThreeGate = PseudoPThree.GetInPort( 'Gate' )
- OPseudoPThreea = PseudoPThree.OutPort( 'a' , 'long' )
- OPseudoPThreeGate = PseudoPThree.GetOutPort( 'Gate' )
-
- PyPseudoPFive = []
- PyPseudoPFive.append( 'from time import * ' )
- PyPseudoPFive.append( 'def PseudoPFive(PFive) : ' )
- PyPseudoPFive.append( ' sleep(1) ' )
- PyPseudoPFive.append( ' return 6*PFive+5 ' )
- PseudoPFive = GraphLoopSwitchOfSwitch.INode( 'PseudoPFive' , PyPseudoPFive )
- PseudoPFive.SetName( 'PseudoPFive' )
- PseudoPFive.SetAuthor( '' )
- PseudoPFive.SetComment( 'Compute Node' )
- PseudoPFive.Coords( 625 , 343 )
- IPseudoPFivePFive = PseudoPFive.InPort( 'PFive' , 'long' )
- IPseudoPFiveGate = PseudoPFive.GetInPort( 'Gate' )
- OPseudoPFivea = PseudoPFive.OutPort( 'a' , 'long' )
- OPseudoPFiveGate = PseudoPFive.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoopSwitch = []
- PyLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyLoopSwitch.append( ' Index = Max ' )
- PyLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreLoopSwitch = []
- PyMoreLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreLoopSwitch.append( ' if Index >= Min : ' )
- PyMoreLoopSwitch.append( ' DoLoop = 1 ' )
- PyMoreLoopSwitch.append( ' else : ' )
- PyMoreLoopSwitch.append( ' DoLoop = 0 ' )
- PyMoreLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- PyNextLoopSwitch = []
- PyNextLoopSwitch.append( 'def NextLoop(Index,Min,Max) : ' )
- PyNextLoopSwitch.append( ' Index = Index - 1 ' )
- PyNextLoopSwitch.append( ' return Index,Min,Max ' )
- LoopSwitch,EndOfLoopSwitch = GraphLoopSwitchOfSwitch.LNode( 'InitLoop' , PyLoopSwitch , 'MoreLoop' , PyMoreLoopSwitch , 'NextLoop' , PyNextLoopSwitch )
- EndOfLoopSwitch.SetName( 'EndOfLoopSwitch' )
- EndOfLoopSwitch.SetAuthor( '' )
- EndOfLoopSwitch.SetComment( 'Compute Node' )
- EndOfLoopSwitch.Coords( 1268 , 210 )
- PyEndOfLoopSwitch = []
- EndOfLoopSwitch.SetPyFunction( '' , PyEndOfLoopSwitch )
- ILoopSwitchDoLoop = LoopSwitch.GetInPort( 'DoLoop' )
- ILoopSwitchIndex = LoopSwitch.InPort( 'Index' , 'long' )
- ILoopSwitchMin = LoopSwitch.InPort( 'Min' , 'long' )
- ILoopSwitchMax = LoopSwitch.InPort( 'Max' , 'long' )
- ILoopSwitchGate = LoopSwitch.GetInPort( 'Gate' )
- OLoopSwitchDoLoop = LoopSwitch.GetOutPort( 'DoLoop' )
- OLoopSwitchIndex = LoopSwitch.GetOutPort( 'Index' )
- OLoopSwitchMin = LoopSwitch.GetOutPort( 'Min' )
- OLoopSwitchMax = LoopSwitch.GetOutPort( 'Max' )
- IEndOfLoopSwitchDoLoop = EndOfLoopSwitch.GetInPort( 'DoLoop' )
- IEndOfLoopSwitchIndex = EndOfLoopSwitch.GetInPort( 'Index' )
- IEndOfLoopSwitchMin = EndOfLoopSwitch.GetInPort( 'Min' )
- IEndOfLoopSwitchMax = EndOfLoopSwitch.GetInPort( 'Max' )
- IEndOfLoopSwitchGate = EndOfLoopSwitch.GetInPort( 'Gate' )
- OEndOfLoopSwitchDoLoop = EndOfLoopSwitch.GetOutPort( 'DoLoop' )
- OEndOfLoopSwitchIndex = EndOfLoopSwitch.GetOutPort( 'Index' )
- OEndOfLoopSwitchMin = EndOfLoopSwitch.GetOutPort( 'Min' )
- OEndOfLoopSwitchMax = EndOfLoopSwitch.GetOutPort( 'Max' )
- OEndOfLoopSwitchGate = EndOfLoopSwitch.GetOutPort( 'Gate' )
- LoopSwitch.SetName( 'LoopSwitch' )
- LoopSwitch.SetAuthor( '' )
- LoopSwitch.SetComment( 'Compute Node' )
- LoopSwitch.Coords( 6 , 233 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,a,0 ' )
- PySwitch.append( ' return a & 1,a,1-(a&1) ' )
- Switch,EndOfSwitch = GraphLoopSwitchOfSwitch.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 1075 , 210 )
- PyEndOfSwitch = []
- EndOfSwitch.SetPyFunction( 'EndSwitch_1' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 201 , 233 )
- ISwitcha = Switch.InPort( 'a' , 'long' )
- ISwitchGate = Switch.GetInPort( 'Gate' )
- OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
- OSwitcha = Switch.OutPort( 'a' , 'int' )
- OSwitchEven = Switch.OutPort( 'Even' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- PySwitchOdd = []
- PySwitchOdd.append( 'def SwitchOdd(a) : ' )
- PySwitchOdd.append( ' n = a/6 ' )
- PySwitchOdd.append( ' r = a%6 ' )
- PySwitchOdd.append( ' POne = 0 ' )
- PySwitchOdd.append( ' PThree = 0 ' )
- PySwitchOdd.append( ' PFive = 0 ' )
- PySwitchOdd.append( ' if r == 1 : ' )
- PySwitchOdd.append( ' POne = 1 ' )
- PySwitchOdd.append( ' if r == 3 : ' )
- PySwitchOdd.append( ' PThree = 1 ' )
- PySwitchOdd.append( ' if r == 5 : ' )
- PySwitchOdd.append( ' PFive = 1 ' )
- PySwitchOdd.append( ' return POne,PThree,PFive,n ' )
- SwitchOdd,EndOfSwitchOdd = GraphLoopSwitchOfSwitch.SNode( 'SwitchOdd' , PySwitchOdd )
- EndOfSwitchOdd.SetName( 'EndOfSwitchOdd' )
- EndOfSwitchOdd.SetAuthor( '' )
- EndOfSwitchOdd.SetComment( 'Compute Node' )
- EndOfSwitchOdd.Coords( 851 , 210 )
- PyEndOfSwitchOdd = []
- EndOfSwitchOdd.SetPyFunction( 'EndSwitch' , PyEndOfSwitchOdd )
- IEndOfSwitchOddn = EndOfSwitchOdd.InPort( 'n' , 'long' )
- IEndOfSwitchOddDefault = EndOfSwitchOdd.GetInPort( 'Default' )
- OEndOfSwitchOddn = EndOfSwitchOdd.OutPort( 'n' , 'long' )
- OEndOfSwitchOddGate = EndOfSwitchOdd.GetOutPort( 'Gate' )
- SwitchOdd.SetName( 'SwitchOdd' )
- SwitchOdd.SetAuthor( '' )
- SwitchOdd.SetComment( 'Compute Node' )
- SwitchOdd.Coords( 412 , 169 )
- ISwitchOdda = SwitchOdd.InPort( 'a' , 'long' )
- ISwitchOddGate = SwitchOdd.GetInPort( 'Gate' )
- OSwitchOddPOne = SwitchOdd.OutPort( 'POne' , 'boolean' )
- OSwitchOddPThree = SwitchOdd.OutPort( 'PThree' , 'boolean' )
- OSwitchOddPFive = SwitchOdd.OutPort( 'PFive' , 'boolean' )
- OSwitchOddn = SwitchOdd.OutPort( 'n' , 'long' )
- OSwitchOddDefault = SwitchOdd.GetOutPort( 'Default' )
-
- # Creation of Links
- LLoopSwitchIndexSwitcha = GraphLoopSwitchOfSwitch.Link( OLoopSwitchIndex , ISwitcha )
-
- LLoopSwitchMinEndOfLoopSwitchMin = GraphLoopSwitchOfSwitch.Link( OLoopSwitchMin , IEndOfLoopSwitchMin )
-
- LLoopSwitchMaxEndOfLoopSwitchMax = GraphLoopSwitchOfSwitch.Link( OLoopSwitchMax , IEndOfLoopSwitchMax )
-
- LIsEvenaEndOfSwitcha = GraphLoopSwitchOfSwitch.Link( OIsEvena , IEndOfSwitcha )
- LIsEvenaEndOfSwitcha.AddCoord( 1 , 719 , 591 )
-
- LSwitchOddSwitchOddGate = GraphLoopSwitchOfSwitch.Link( OSwitchOdd , ISwitchOddGate )
-
- LSwitchaIsEvena = GraphLoopSwitchOfSwitch.Link( OSwitcha , IIsEvena )
-
- LSwitchaSwitchOdda = GraphLoopSwitchOfSwitch.Link( OSwitcha , ISwitchOdda )
-
- LSwitchEvenIsEvenGate = GraphLoopSwitchOfSwitch.Link( OSwitchEven , IIsEvenGate )
-
- LSwitchDefaultEndOfSwitchDefault = GraphLoopSwitchOfSwitch.Link( OSwitchDefault , IEndOfSwitchDefault )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 1 , 1057 , 267 )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 2 , 1079 , 669 )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 3 , 383 , 666 )
-
- LEndOfSwitchaEndOfLoopSwitchIndex = GraphLoopSwitchOfSwitch.Link( OEndOfSwitcha , IEndOfLoopSwitchIndex )
-
- LSwitchOddPOnePseudoPOneGate = GraphLoopSwitchOfSwitch.Link( OSwitchOddPOne , IPseudoPOneGate )
-
- LSwitchOddPThreePseudoPThreeGate = GraphLoopSwitchOfSwitch.Link( OSwitchOddPThree , IPseudoPThreeGate )
-
- LSwitchOddPFivePseudoPFiveGate = GraphLoopSwitchOfSwitch.Link( OSwitchOddPFive , IPseudoPFiveGate )
-
- LSwitchOddnPseudoPOnePOne = GraphLoopSwitchOfSwitch.Link( OSwitchOddn , IPseudoPOnePOne )
-
- LSwitchOddnPseudoPThreePThree = GraphLoopSwitchOfSwitch.Link( OSwitchOddn , IPseudoPThreePThree )
-
- LSwitchOddnPseudoPFivePFive = GraphLoopSwitchOfSwitch.Link( OSwitchOddn , IPseudoPFivePFive )
-
- LSwitchOddDefaultEndOfSwitchOddDefault = GraphLoopSwitchOfSwitch.Link( OSwitchOddDefault , IEndOfSwitchOddDefault )
-
- LEndOfSwitchOddnEndOfSwitcha = GraphLoopSwitchOfSwitch.Link( OEndOfSwitchOddn , IEndOfSwitcha )
-
- LPseudoPOneaEndOfSwitchOddn = GraphLoopSwitchOfSwitch.Link( OPseudoPOnea , IEndOfSwitchOddn )
-
- LPseudoPThreeaEndOfSwitchOddn = GraphLoopSwitchOfSwitch.Link( OPseudoPThreea , IEndOfSwitchOddn )
-
- LPseudoPFiveaEndOfSwitchOddn = GraphLoopSwitchOfSwitch.Link( OPseudoPFivea , IEndOfSwitchOddn )
-
- # Input datas
- ILoopSwitchIndex.Input( 0 )
- ILoopSwitchMin.Input( -5 )
- ILoopSwitchMax.Input( 17 )
-
- # Output Ports of the graph
- #OEndOfLoopSwitchIndex = EndOfLoopSwitch.GetOutPort( 'Index' )
- #OEndOfLoopSwitchMin = EndOfLoopSwitch.GetOutPort( 'Min' )
- #OEndOfLoopSwitchMax = EndOfLoopSwitch.GetOutPort( 'Max' )
- return GraphLoopSwitchOfSwitch
-
-
-GraphLoopSwitchOfSwitch = DefGraphLoopSwitchOfSwitch()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchOfSwitch1
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchOfSwitch1
-def DefGraphLoopSwitchOfSwitch1() :
- GraphLoopSwitchOfSwitch1 = Graph( 'GraphLoopSwitchOfSwitch1' )
- GraphLoopSwitchOfSwitch1.SetName( 'GraphLoopSwitchOfSwitch1' )
- GraphLoopSwitchOfSwitch1.SetAuthor( 'JR' )
- GraphLoopSwitchOfSwitch1.SetComment( 'DefaultPorts of SwitchOdd and EndSwitchOdd are not connected but that link was not used' )
- GraphLoopSwitchOfSwitch1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- 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 = GraphLoopSwitchOfSwitch1.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 437 , 520 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyPseudoPOne = []
- PyPseudoPOne.append( 'from time import * ' )
- PyPseudoPOne.append( 'def PseudoPOne(POne) : ' )
- PyPseudoPOne.append( ' sleep(1) ' )
- PyPseudoPOne.append( ' return 6*POne+1 ' )
- PseudoPOne = GraphLoopSwitchOfSwitch1.INode( 'PseudoPOne' , PyPseudoPOne )
- PseudoPOne.SetName( 'PseudoPOne' )
- PseudoPOne.SetAuthor( '' )
- PseudoPOne.SetComment( 'Compute Node' )
- PseudoPOne.Coords( 612 , 5 )
- IPseudoPOnePOne = PseudoPOne.InPort( 'POne' , 'long' )
- IPseudoPOneGate = PseudoPOne.GetInPort( 'Gate' )
- OPseudoPOnea = PseudoPOne.OutPort( 'a' , 'long' )
- OPseudoPOneGate = PseudoPOne.GetOutPort( 'Gate' )
-
- PyPseudoPThree = []
- PyPseudoPThree.append( 'from time import * ' )
- PyPseudoPThree.append( 'def PseudoPThree_1(PThree) : ' )
- PyPseudoPThree.append( ' sleep(1) ' )
- PyPseudoPThree.append( ' return 6*PThree+3 ' )
- PseudoPThree = GraphLoopSwitchOfSwitch1.INode( 'PseudoPThree_1' , PyPseudoPThree )
- PseudoPThree.SetName( 'PseudoPThree' )
- PseudoPThree.SetAuthor( '' )
- PseudoPThree.SetComment( 'Compute Node' )
- PseudoPThree.Coords( 620 , 149 )
- IPseudoPThreePThree = PseudoPThree.InPort( 'PThree' , 'long' )
- IPseudoPThreeGate = PseudoPThree.GetInPort( 'Gate' )
- OPseudoPThreea = PseudoPThree.OutPort( 'a' , 'long' )
- OPseudoPThreeGate = PseudoPThree.GetOutPort( 'Gate' )
-
- PyPseudoPFive = []
- PyPseudoPFive.append( 'from time import * ' )
- PyPseudoPFive.append( 'def PseudoPFive(PFive) : ' )
- PyPseudoPFive.append( ' sleep(1) ' )
- PyPseudoPFive.append( ' return 6*PFive+5 ' )
- PseudoPFive = GraphLoopSwitchOfSwitch1.INode( 'PseudoPFive' , PyPseudoPFive )
- PseudoPFive.SetName( 'PseudoPFive' )
- PseudoPFive.SetAuthor( '' )
- PseudoPFive.SetComment( 'Compute Node' )
- PseudoPFive.Coords( 625 , 343 )
- IPseudoPFivePFive = PseudoPFive.InPort( 'PFive' , 'long' )
- IPseudoPFiveGate = PseudoPFive.GetInPort( 'Gate' )
- OPseudoPFivea = PseudoPFive.OutPort( 'a' , 'long' )
- OPseudoPFiveGate = PseudoPFive.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoopSwitch = []
- PyLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyLoopSwitch.append( ' Index = Max ' )
- PyLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreLoopSwitch = []
- PyMoreLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreLoopSwitch.append( ' if Index >= Min : ' )
- PyMoreLoopSwitch.append( ' DoLoop = 1 ' )
- PyMoreLoopSwitch.append( ' else : ' )
- PyMoreLoopSwitch.append( ' DoLoop = 0 ' )
- PyMoreLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- PyNextLoopSwitch = []
- PyNextLoopSwitch.append( 'def NextLoop(Index,Min,Max) : ' )
- PyNextLoopSwitch.append( ' Index = Index - 1 ' )
- PyNextLoopSwitch.append( ' return Index,Min,Max ' )
- LoopSwitch,EndOfLoopSwitch = GraphLoopSwitchOfSwitch1.LNode( 'InitLoop' , PyLoopSwitch , 'MoreLoop' , PyMoreLoopSwitch , 'NextLoop' , PyNextLoopSwitch )
- EndOfLoopSwitch.SetName( 'EndOfLoopSwitch' )
- EndOfLoopSwitch.SetAuthor( '' )
- EndOfLoopSwitch.SetComment( 'Compute Node' )
- EndOfLoopSwitch.Coords( 1268 , 210 )
- PyEndOfLoopSwitch = []
- EndOfLoopSwitch.SetPyFunction( '' , PyEndOfLoopSwitch )
- ILoopSwitchDoLoop = LoopSwitch.GetInPort( 'DoLoop' )
- ILoopSwitchIndex = LoopSwitch.InPort( 'Index' , 'long' )
- ILoopSwitchMin = LoopSwitch.InPort( 'Min' , 'long' )
- ILoopSwitchMax = LoopSwitch.InPort( 'Max' , 'long' )
- ILoopSwitchGate = LoopSwitch.GetInPort( 'Gate' )
- OLoopSwitchDoLoop = LoopSwitch.GetOutPort( 'DoLoop' )
- OLoopSwitchIndex = LoopSwitch.GetOutPort( 'Index' )
- OLoopSwitchMin = LoopSwitch.GetOutPort( 'Min' )
- OLoopSwitchMax = LoopSwitch.GetOutPort( 'Max' )
- IEndOfLoopSwitchDoLoop = EndOfLoopSwitch.GetInPort( 'DoLoop' )
- IEndOfLoopSwitchIndex = EndOfLoopSwitch.GetInPort( 'Index' )
- IEndOfLoopSwitchMin = EndOfLoopSwitch.GetInPort( 'Min' )
- IEndOfLoopSwitchMax = EndOfLoopSwitch.GetInPort( 'Max' )
- IEndOfLoopSwitchGate = EndOfLoopSwitch.GetInPort( 'Gate' )
- OEndOfLoopSwitchDoLoop = EndOfLoopSwitch.GetOutPort( 'DoLoop' )
- OEndOfLoopSwitchIndex = EndOfLoopSwitch.GetOutPort( 'Index' )
- OEndOfLoopSwitchMin = EndOfLoopSwitch.GetOutPort( 'Min' )
- OEndOfLoopSwitchMax = EndOfLoopSwitch.GetOutPort( 'Max' )
- OEndOfLoopSwitchGate = EndOfLoopSwitch.GetOutPort( 'Gate' )
- LoopSwitch.SetName( 'LoopSwitch' )
- LoopSwitch.SetAuthor( '' )
- LoopSwitch.SetComment( 'Compute Node' )
- LoopSwitch.Coords( 6 , 233 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,a,0 ' )
- PySwitch.append( ' return a & 1,a,1-(a&1) ' )
- Switch,EndOfSwitch = GraphLoopSwitchOfSwitch1.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 1075 , 210 )
- PyEndOfSwitch = []
- EndOfSwitch.SetPyFunction( 'EndSwitch_1' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 201 , 233 )
- ISwitcha = Switch.InPort( 'a' , 'long' )
- ISwitchGate = Switch.GetInPort( 'Gate' )
- OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
- OSwitcha = Switch.OutPort( 'a' , 'int' )
- OSwitchEven = Switch.OutPort( 'Even' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- PySwitchOdd = []
- PySwitchOdd.append( 'def SwitchOdd(a) : ' )
- PySwitchOdd.append( ' n = a/6 ' )
- PySwitchOdd.append( ' r = a%6 ' )
- PySwitchOdd.append( ' POne = 0 ' )
- PySwitchOdd.append( ' PThree = 0 ' )
- PySwitchOdd.append( ' PFive = 0 ' )
- PySwitchOdd.append( ' if r == 1 : ' )
- PySwitchOdd.append( ' POne = 1 ' )
- PySwitchOdd.append( ' if r == 3 : ' )
- PySwitchOdd.append( ' PThree = 1 ' )
- PySwitchOdd.append( ' if r == 5 : ' )
- PySwitchOdd.append( ' PFive = 1 ' )
- PySwitchOdd.append( ' return POne,PThree,PFive,n ' )
- SwitchOdd,EndOfSwitchOdd = GraphLoopSwitchOfSwitch1.SNode( 'SwitchOdd' , PySwitchOdd )
- EndOfSwitchOdd.SetName( 'EndOfSwitchOdd' )
- EndOfSwitchOdd.SetAuthor( '' )
- EndOfSwitchOdd.SetComment( 'Compute Node' )
- EndOfSwitchOdd.Coords( 851 , 210 )
- PyEndOfSwitchOdd = []
- EndOfSwitchOdd.SetPyFunction( 'EndSwitch' , PyEndOfSwitchOdd )
- IEndOfSwitchOddn = EndOfSwitchOdd.InPort( 'n' , 'long' )
- IEndOfSwitchOddDefault = EndOfSwitchOdd.GetInPort( 'Default' )
- OEndOfSwitchOddn = EndOfSwitchOdd.OutPort( 'n' , 'long' )
- OEndOfSwitchOddGate = EndOfSwitchOdd.GetOutPort( 'Gate' )
- SwitchOdd.SetName( 'SwitchOdd' )
- SwitchOdd.SetAuthor( '' )
- SwitchOdd.SetComment( 'Compute Node' )
- SwitchOdd.Coords( 412 , 169 )
- ISwitchOdda = SwitchOdd.InPort( 'a' , 'long' )
- ISwitchOddGate = SwitchOdd.GetInPort( 'Gate' )
- OSwitchOddPOne = SwitchOdd.OutPort( 'POne' , 'boolean' )
- OSwitchOddPThree = SwitchOdd.OutPort( 'PThree' , 'boolean' )
- OSwitchOddPFive = SwitchOdd.OutPort( 'PFive' , 'boolean' )
- OSwitchOddn = SwitchOdd.OutPort( 'n' , 'long' )
- OSwitchOddDefault = SwitchOdd.GetOutPort( 'Default' )
-
- # Creation of Links
- LLoopSwitchIndexSwitcha = GraphLoopSwitchOfSwitch1.Link( OLoopSwitchIndex , ISwitcha )
-
- LLoopSwitchMinEndOfLoopSwitchMin = GraphLoopSwitchOfSwitch1.Link( OLoopSwitchMin , IEndOfLoopSwitchMin )
-
- LLoopSwitchMaxEndOfLoopSwitchMax = GraphLoopSwitchOfSwitch1.Link( OLoopSwitchMax , IEndOfLoopSwitchMax )
-
- LIsEvenaEndOfSwitcha = GraphLoopSwitchOfSwitch1.Link( OIsEvena , IEndOfSwitcha )
- LIsEvenaEndOfSwitcha.AddCoord( 1 , 719 , 591 )
-
- LSwitchOddSwitchOddGate = GraphLoopSwitchOfSwitch1.Link( OSwitchOdd , ISwitchOddGate )
-
- LSwitchaIsEvena = GraphLoopSwitchOfSwitch1.Link( OSwitcha , IIsEvena )
-
- LSwitchaSwitchOdda = GraphLoopSwitchOfSwitch1.Link( OSwitcha , ISwitchOdda )
-
- LSwitchEvenIsEvenGate = GraphLoopSwitchOfSwitch1.Link( OSwitchEven , IIsEvenGate )
-
- LSwitchDefaultEndOfSwitchDefault = GraphLoopSwitchOfSwitch1.Link( OSwitchDefault , IEndOfSwitchDefault )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 1 , 1057 , 267 )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 2 , 1079 , 669 )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 3 , 383 , 666 )
-
- LEndOfSwitchaEndOfLoopSwitchIndex = GraphLoopSwitchOfSwitch1.Link( OEndOfSwitcha , IEndOfLoopSwitchIndex )
-
- LSwitchOddPOnePseudoPOneGate = GraphLoopSwitchOfSwitch1.Link( OSwitchOddPOne , IPseudoPOneGate )
-
- LSwitchOddPThreePseudoPThreeGate = GraphLoopSwitchOfSwitch1.Link( OSwitchOddPThree , IPseudoPThreeGate )
-
- LSwitchOddPFivePseudoPFiveGate = GraphLoopSwitchOfSwitch1.Link( OSwitchOddPFive , IPseudoPFiveGate )
-
- LSwitchOddnPseudoPOnePOne = GraphLoopSwitchOfSwitch1.Link( OSwitchOddn , IPseudoPOnePOne )
-
- LSwitchOddnPseudoPThreePThree = GraphLoopSwitchOfSwitch1.Link( OSwitchOddn , IPseudoPThreePThree )
-
- LSwitchOddnPseudoPFivePFive = GraphLoopSwitchOfSwitch1.Link( OSwitchOddn , IPseudoPFivePFive )
-
- LEndOfSwitchOddnEndOfSwitcha = GraphLoopSwitchOfSwitch1.Link( OEndOfSwitchOddn , IEndOfSwitcha )
-
- LPseudoPOneaEndOfSwitchOddn = GraphLoopSwitchOfSwitch1.Link( OPseudoPOnea , IEndOfSwitchOddn )
-
- LPseudoPThreeaEndOfSwitchOddn = GraphLoopSwitchOfSwitch1.Link( OPseudoPThreea , IEndOfSwitchOddn )
-
- LPseudoPFiveaEndOfSwitchOddn = GraphLoopSwitchOfSwitch1.Link( OPseudoPFivea , IEndOfSwitchOddn )
-
- # Input datas
- ILoopSwitchIndex.Input( 0 )
- ILoopSwitchMin.Input( -5 )
- ILoopSwitchMax.Input( 17 )
-
- # Output Ports of the graph
- #OEndOfLoopSwitchIndex = EndOfLoopSwitch.GetOutPort( 'Index' )
- #OEndOfLoopSwitchMin = EndOfLoopSwitch.GetOutPort( 'Min' )
- #OEndOfLoopSwitchMax = EndOfLoopSwitch.GetOutPort( 'Max' )
- return GraphLoopSwitchOfSwitch1
-
-
-GraphLoopSwitchOfSwitch1 = DefGraphLoopSwitchOfSwitch1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchOfSwitchAborted
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchOfSwitchAborted
-def DefGraphLoopSwitchOfSwitchAborted() :
- GraphLoopSwitchOfSwitchAborted = Graph( 'GraphLoopSwitchOfSwitchAborted' )
- GraphLoopSwitchOfSwitchAborted.SetName( 'GraphLoopSwitchOfSwitchAborted' )
- GraphLoopSwitchOfSwitchAborted.SetAuthor( 'JR' )
- GraphLoopSwitchOfSwitchAborted.SetComment( 'DefaultPorts of SwitchOdd and EndSwitchOdd are not connected but that link was not used. DefaultPorts of Switch and EndSwitch are not linked ==> ABORT' )
- GraphLoopSwitchOfSwitchAborted.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- 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 = GraphLoopSwitchOfSwitchAborted.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 437 , 520 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyPseudoPOne = []
- PyPseudoPOne.append( 'from time import * ' )
- PyPseudoPOne.append( 'def PseudoPOne(POne) : ' )
- PyPseudoPOne.append( ' sleep(1) ' )
- PyPseudoPOne.append( ' return 6*POne+1 ' )
- PseudoPOne = GraphLoopSwitchOfSwitchAborted.INode( 'PseudoPOne' , PyPseudoPOne )
- PseudoPOne.SetName( 'PseudoPOne' )
- PseudoPOne.SetAuthor( '' )
- PseudoPOne.SetComment( 'Compute Node' )
- PseudoPOne.Coords( 612 , 5 )
- IPseudoPOnePOne = PseudoPOne.InPort( 'POne' , 'long' )
- IPseudoPOneGate = PseudoPOne.GetInPort( 'Gate' )
- OPseudoPOnea = PseudoPOne.OutPort( 'a' , 'long' )
- OPseudoPOneGate = PseudoPOne.GetOutPort( 'Gate' )
-
- PyPseudoPThree = []
- PyPseudoPThree.append( 'from time import * ' )
- PyPseudoPThree.append( 'def PseudoPThree_1(PThree) : ' )
- PyPseudoPThree.append( ' sleep(1) ' )
- PyPseudoPThree.append( ' return 6*PThree+3 ' )
- PseudoPThree = GraphLoopSwitchOfSwitchAborted.INode( 'PseudoPThree_1' , PyPseudoPThree )
- PseudoPThree.SetName( 'PseudoPThree' )
- PseudoPThree.SetAuthor( '' )
- PseudoPThree.SetComment( 'Compute Node' )
- PseudoPThree.Coords( 620 , 149 )
- IPseudoPThreePThree = PseudoPThree.InPort( 'PThree' , 'long' )
- IPseudoPThreeGate = PseudoPThree.GetInPort( 'Gate' )
- OPseudoPThreea = PseudoPThree.OutPort( 'a' , 'long' )
- OPseudoPThreeGate = PseudoPThree.GetOutPort( 'Gate' )
-
- PyPseudoPFive = []
- PyPseudoPFive.append( 'from time import * ' )
- PyPseudoPFive.append( 'def PseudoPFive(PFive) : ' )
- PyPseudoPFive.append( ' sleep(1) ' )
- PyPseudoPFive.append( ' return 6*PFive+5 ' )
- PseudoPFive = GraphLoopSwitchOfSwitchAborted.INode( 'PseudoPFive' , PyPseudoPFive )
- PseudoPFive.SetName( 'PseudoPFive' )
- PseudoPFive.SetAuthor( '' )
- PseudoPFive.SetComment( 'Compute Node' )
- PseudoPFive.Coords( 625 , 343 )
- IPseudoPFivePFive = PseudoPFive.InPort( 'PFive' , 'long' )
- IPseudoPFiveGate = PseudoPFive.GetInPort( 'Gate' )
- OPseudoPFivea = PseudoPFive.OutPort( 'a' , 'long' )
- OPseudoPFiveGate = PseudoPFive.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoopSwitch = []
- PyLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyLoopSwitch.append( ' Index = Max ' )
- PyLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreLoopSwitch = []
- PyMoreLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreLoopSwitch.append( ' if Index >= Min : ' )
- PyMoreLoopSwitch.append( ' DoLoop = 1 ' )
- PyMoreLoopSwitch.append( ' else : ' )
- PyMoreLoopSwitch.append( ' DoLoop = 0 ' )
- PyMoreLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- PyNextLoopSwitch = []
- PyNextLoopSwitch.append( 'def NextLoop(Index,Min,Max) : ' )
- PyNextLoopSwitch.append( ' Index = Index - 1 ' )
- PyNextLoopSwitch.append( ' return Index,Min,Max ' )
- LoopSwitch,EndOfLoopSwitch = GraphLoopSwitchOfSwitchAborted.LNode( 'InitLoop' , PyLoopSwitch , 'MoreLoop' , PyMoreLoopSwitch , 'NextLoop' , PyNextLoopSwitch )
- EndOfLoopSwitch.SetName( 'EndOfLoopSwitch' )
- EndOfLoopSwitch.SetAuthor( '' )
- EndOfLoopSwitch.SetComment( 'Compute Node' )
- EndOfLoopSwitch.Coords( 1268 , 210 )
- PyEndOfLoopSwitch = []
- EndOfLoopSwitch.SetPyFunction( '' , PyEndOfLoopSwitch )
- ILoopSwitchDoLoop = LoopSwitch.GetInPort( 'DoLoop' )
- ILoopSwitchIndex = LoopSwitch.InPort( 'Index' , 'long' )
- ILoopSwitchMin = LoopSwitch.InPort( 'Min' , 'long' )
- ILoopSwitchMax = LoopSwitch.InPort( 'Max' , 'long' )
- ILoopSwitchGate = LoopSwitch.GetInPort( 'Gate' )
- OLoopSwitchDoLoop = LoopSwitch.GetOutPort( 'DoLoop' )
- OLoopSwitchIndex = LoopSwitch.GetOutPort( 'Index' )
- OLoopSwitchMin = LoopSwitch.GetOutPort( 'Min' )
- OLoopSwitchMax = LoopSwitch.GetOutPort( 'Max' )
- IEndOfLoopSwitchDoLoop = EndOfLoopSwitch.GetInPort( 'DoLoop' )
- IEndOfLoopSwitchIndex = EndOfLoopSwitch.GetInPort( 'Index' )
- IEndOfLoopSwitchMin = EndOfLoopSwitch.GetInPort( 'Min' )
- IEndOfLoopSwitchMax = EndOfLoopSwitch.GetInPort( 'Max' )
- IEndOfLoopSwitchGate = EndOfLoopSwitch.GetInPort( 'Gate' )
- OEndOfLoopSwitchDoLoop = EndOfLoopSwitch.GetOutPort( 'DoLoop' )
- OEndOfLoopSwitchIndex = EndOfLoopSwitch.GetOutPort( 'Index' )
- OEndOfLoopSwitchMin = EndOfLoopSwitch.GetOutPort( 'Min' )
- OEndOfLoopSwitchMax = EndOfLoopSwitch.GetOutPort( 'Max' )
- OEndOfLoopSwitchGate = EndOfLoopSwitch.GetOutPort( 'Gate' )
- LoopSwitch.SetName( 'LoopSwitch' )
- LoopSwitch.SetAuthor( '' )
- LoopSwitch.SetComment( 'Compute Node' )
- LoopSwitch.Coords( 6 , 233 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,a,0 ' )
- PySwitch.append( ' return a & 1,a,1-(a&1) ' )
- Switch,EndOfSwitch = GraphLoopSwitchOfSwitchAborted.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 1075 , 210 )
- PyEndOfSwitch = []
- EndOfSwitch.SetPyFunction( 'EndSwitch_1' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 201 , 233 )
- ISwitcha = Switch.InPort( 'a' , 'long' )
- ISwitchGate = Switch.GetInPort( 'Gate' )
- OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
- OSwitcha = Switch.OutPort( 'a' , 'int' )
- OSwitchEven = Switch.OutPort( 'Even' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- PySwitchOdd = []
- PySwitchOdd.append( 'def SwitchOdd(a) : ' )
- PySwitchOdd.append( ' n = a/6 ' )
- PySwitchOdd.append( ' r = a%6 ' )
- PySwitchOdd.append( ' POne = 0 ' )
- PySwitchOdd.append( ' PThree = 0 ' )
- PySwitchOdd.append( ' PFive = 0 ' )
- PySwitchOdd.append( ' if r == 1 : ' )
- PySwitchOdd.append( ' POne = 1 ' )
- PySwitchOdd.append( ' if r == 3 : ' )
- PySwitchOdd.append( ' PThree = 1 ' )
- PySwitchOdd.append( ' if r == 5 : ' )
- PySwitchOdd.append( ' PFive = 1 ' )
- PySwitchOdd.append( ' return POne,PThree,PFive,n ' )
- SwitchOdd,EndOfSwitchOdd = GraphLoopSwitchOfSwitchAborted.SNode( 'SwitchOdd' , PySwitchOdd )
- EndOfSwitchOdd.SetName( 'EndOfSwitchOdd' )
- EndOfSwitchOdd.SetAuthor( '' )
- EndOfSwitchOdd.SetComment( 'Compute Node' )
- EndOfSwitchOdd.Coords( 851 , 210 )
- PyEndOfSwitchOdd = []
- EndOfSwitchOdd.SetPyFunction( 'EndSwitch' , PyEndOfSwitchOdd )
- IEndOfSwitchOddn = EndOfSwitchOdd.InPort( 'n' , 'long' )
- IEndOfSwitchOddDefault = EndOfSwitchOdd.GetInPort( 'Default' )
- OEndOfSwitchOddn = EndOfSwitchOdd.OutPort( 'n' , 'long' )
- OEndOfSwitchOddGate = EndOfSwitchOdd.GetOutPort( 'Gate' )
- SwitchOdd.SetName( 'SwitchOdd' )
- SwitchOdd.SetAuthor( '' )
- SwitchOdd.SetComment( 'Compute Node' )
- SwitchOdd.Coords( 412 , 169 )
- ISwitchOdda = SwitchOdd.InPort( 'a' , 'long' )
- ISwitchOddGate = SwitchOdd.GetInPort( 'Gate' )
- OSwitchOddPOne = SwitchOdd.OutPort( 'POne' , 'boolean' )
- OSwitchOddPThree = SwitchOdd.OutPort( 'PThree' , 'boolean' )
- OSwitchOddPFive = SwitchOdd.OutPort( 'PFive' , 'boolean' )
- OSwitchOddn = SwitchOdd.OutPort( 'n' , 'long' )
- OSwitchOddDefault = SwitchOdd.GetOutPort( 'Default' )
-
- # Creation of Links
- LLoopSwitchIndexSwitcha = GraphLoopSwitchOfSwitchAborted.Link( OLoopSwitchIndex , ISwitcha )
-
- LLoopSwitchMinEndOfLoopSwitchMin = GraphLoopSwitchOfSwitchAborted.Link( OLoopSwitchMin , IEndOfLoopSwitchMin )
-
- LLoopSwitchMaxEndOfLoopSwitchMax = GraphLoopSwitchOfSwitchAborted.Link( OLoopSwitchMax , IEndOfLoopSwitchMax )
-
- LIsEvenaEndOfSwitcha = GraphLoopSwitchOfSwitchAborted.Link( OIsEvena , IEndOfSwitcha )
- LIsEvenaEndOfSwitcha.AddCoord( 1 , 719 , 591 )
-
- LSwitchOddSwitchOddGate = GraphLoopSwitchOfSwitchAborted.Link( OSwitchOdd , ISwitchOddGate )
-
- LSwitchaIsEvena = GraphLoopSwitchOfSwitchAborted.Link( OSwitcha , IIsEvena )
-
- LSwitchaSwitchOdda = GraphLoopSwitchOfSwitchAborted.Link( OSwitcha , ISwitchOdda )
-
- LSwitchEvenIsEvenGate = GraphLoopSwitchOfSwitchAborted.Link( OSwitchEven , IIsEvenGate )
-
- LEndOfSwitchaEndOfLoopSwitchIndex = GraphLoopSwitchOfSwitchAborted.Link( OEndOfSwitcha , IEndOfLoopSwitchIndex )
-
- LSwitchOddPOnePseudoPOneGate = GraphLoopSwitchOfSwitchAborted.Link( OSwitchOddPOne , IPseudoPOneGate )
-
- LSwitchOddPThreePseudoPThreeGate = GraphLoopSwitchOfSwitchAborted.Link( OSwitchOddPThree , IPseudoPThreeGate )
-
- LSwitchOddPFivePseudoPFiveGate = GraphLoopSwitchOfSwitchAborted.Link( OSwitchOddPFive , IPseudoPFiveGate )
-
- LSwitchOddnPseudoPOnePOne = GraphLoopSwitchOfSwitchAborted.Link( OSwitchOddn , IPseudoPOnePOne )
-
- LSwitchOddnPseudoPThreePThree = GraphLoopSwitchOfSwitchAborted.Link( OSwitchOddn , IPseudoPThreePThree )
-
- LSwitchOddnPseudoPFivePFive = GraphLoopSwitchOfSwitchAborted.Link( OSwitchOddn , IPseudoPFivePFive )
-
- LEndOfSwitchOddnEndOfSwitcha = GraphLoopSwitchOfSwitchAborted.Link( OEndOfSwitchOddn , IEndOfSwitcha )
-
- LPseudoPOneaEndOfSwitchOddn = GraphLoopSwitchOfSwitchAborted.Link( OPseudoPOnea , IEndOfSwitchOddn )
-
- LPseudoPThreeaEndOfSwitchOddn = GraphLoopSwitchOfSwitchAborted.Link( OPseudoPThreea , IEndOfSwitchOddn )
-
- LPseudoPFiveaEndOfSwitchOddn = GraphLoopSwitchOfSwitchAborted.Link( OPseudoPFivea , IEndOfSwitchOddn )
-
- # Input datas
- ILoopSwitchIndex.Input( 0 )
- ILoopSwitchMin.Input( -5 )
- ILoopSwitchMax.Input( 17 )
-
- # Output Ports of the graph
- #OEndOfLoopSwitchIndex = EndOfLoopSwitch.GetOutPort( 'Index' )
- #OEndOfLoopSwitchMin = EndOfLoopSwitch.GetOutPort( 'Min' )
- #OEndOfLoopSwitchMax = EndOfLoopSwitch.GetOutPort( 'Max' )
- return GraphLoopSwitchOfSwitchAborted
-
-
-GraphLoopSwitchOfSwitchAborted = DefGraphLoopSwitchOfSwitchAborted()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchOfSwitchNOTValid
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchOfSwitchNOTValid
-def DefGraphLoopSwitchOfSwitchNOTValid() :
- GraphLoopSwitchOfSwitchNOTValid = Graph( 'GraphLoopSwitchOfSwitchNOTValid' )
- GraphLoopSwitchOfSwitchNOTValid.SetName( 'GraphLoopSwitchOfSwitchNOTValid' )
- GraphLoopSwitchOfSwitchNOTValid.SetAuthor( 'JR' )
- GraphLoopSwitchOfSwitchNOTValid.SetComment( '' )
- GraphLoopSwitchOfSwitchNOTValid.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- 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 = GraphLoopSwitchOfSwitchNOTValid.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 437 , 520 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyPseudoPOne = []
- PyPseudoPOne.append( 'from time import * ' )
- PyPseudoPOne.append( 'def PseudoPOne(POne) : ' )
- PyPseudoPOne.append( ' sleep(1) ' )
- PyPseudoPOne.append( ' return 6*POne+1 ' )
- PseudoPOne = GraphLoopSwitchOfSwitchNOTValid.INode( 'PseudoPOne' , PyPseudoPOne )
- PseudoPOne.SetName( 'PseudoPOne' )
- PseudoPOne.SetAuthor( '' )
- PseudoPOne.SetComment( 'Compute Node' )
- PseudoPOne.Coords( 612 , 5 )
- IPseudoPOnePOne = PseudoPOne.InPort( 'POne' , 'long' )
- IPseudoPOneGate = PseudoPOne.GetInPort( 'Gate' )
- OPseudoPOnea = PseudoPOne.OutPort( 'a' , 'long' )
- OPseudoPOneGate = PseudoPOne.GetOutPort( 'Gate' )
-
- PyPseudoPThree = []
- PyPseudoPThree.append( 'from time import * ' )
- PyPseudoPThree.append( 'def PseudoPThree_1(PThree) : ' )
- PyPseudoPThree.append( ' sleep(1) ' )
- PyPseudoPThree.append( ' return 6*PThree+3 ' )
- PseudoPThree = GraphLoopSwitchOfSwitchNOTValid.INode( 'PseudoPThree_1' , PyPseudoPThree )
- PseudoPThree.SetName( 'PseudoPThree' )
- PseudoPThree.SetAuthor( '' )
- PseudoPThree.SetComment( 'Compute Node' )
- PseudoPThree.Coords( 620 , 149 )
- IPseudoPThreePThree = PseudoPThree.InPort( 'PThree' , 'long' )
- IPseudoPThreeGate = PseudoPThree.GetInPort( 'Gate' )
- OPseudoPThreea = PseudoPThree.OutPort( 'a' , 'long' )
- OPseudoPThreeGate = PseudoPThree.GetOutPort( 'Gate' )
-
- PyPseudoPFive = []
- PyPseudoPFive.append( 'from time import * ' )
- PyPseudoPFive.append( 'def PseudoPFive(PFive) : ' )
- PyPseudoPFive.append( ' sleep(1) ' )
- PyPseudoPFive.append( ' return 6*PFive+5 ' )
- PseudoPFive = GraphLoopSwitchOfSwitchNOTValid.INode( 'PseudoPFive' , PyPseudoPFive )
- PseudoPFive.SetName( 'PseudoPFive' )
- PseudoPFive.SetAuthor( '' )
- PseudoPFive.SetComment( 'Compute Node' )
- PseudoPFive.Coords( 625 , 343 )
- IPseudoPFivePFive = PseudoPFive.InPort( 'PFive' , 'long' )
- IPseudoPFiveGate = PseudoPFive.GetInPort( 'Gate' )
- OPseudoPFivea = PseudoPFive.OutPort( 'a' , 'long' )
- OPseudoPFiveGate = PseudoPFive.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoopSwitch = []
- PyLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyLoopSwitch.append( ' Index = Max ' )
- PyLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreLoopSwitch = []
- PyMoreLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreLoopSwitch.append( ' if Index >= Min : ' )
- PyMoreLoopSwitch.append( ' DoLoop = 1 ' )
- PyMoreLoopSwitch.append( ' else : ' )
- PyMoreLoopSwitch.append( ' DoLoop = 0 ' )
- PyMoreLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- PyNextLoopSwitch = []
- PyNextLoopSwitch.append( 'def NextLoop(Index,Min,Max) : ' )
- PyNextLoopSwitch.append( ' Index = Index - 1 ' )
- PyNextLoopSwitch.append( ' return Index,Min,Max ' )
- LoopSwitch,EndOfLoopSwitch = GraphLoopSwitchOfSwitchNOTValid.LNode( 'InitLoop' , PyLoopSwitch , 'MoreLoop' , PyMoreLoopSwitch , 'NextLoop' , PyNextLoopSwitch )
- EndOfLoopSwitch.SetName( 'EndOfLoopSwitch' )
- EndOfLoopSwitch.SetAuthor( '' )
- EndOfLoopSwitch.SetComment( 'Compute Node' )
- EndOfLoopSwitch.Coords( 1268 , 210 )
- PyEndOfLoopSwitch = []
- EndOfLoopSwitch.SetPyFunction( '' , PyEndOfLoopSwitch )
- ILoopSwitchDoLoop = LoopSwitch.GetInPort( 'DoLoop' )
- ILoopSwitchIndex = LoopSwitch.InPort( 'Index' , 'long' )
- ILoopSwitchMin = LoopSwitch.InPort( 'Min' , 'long' )
- ILoopSwitchMax = LoopSwitch.InPort( 'Max' , 'long' )
- ILoopSwitchGate = LoopSwitch.GetInPort( 'Gate' )
- OLoopSwitchDoLoop = LoopSwitch.GetOutPort( 'DoLoop' )
- OLoopSwitchIndex = LoopSwitch.GetOutPort( 'Index' )
- OLoopSwitchMin = LoopSwitch.GetOutPort( 'Min' )
- OLoopSwitchMax = LoopSwitch.GetOutPort( 'Max' )
- IEndOfLoopSwitchDoLoop = EndOfLoopSwitch.GetInPort( 'DoLoop' )
- IEndOfLoopSwitchIndex = EndOfLoopSwitch.GetInPort( 'Index' )
- IEndOfLoopSwitchMin = EndOfLoopSwitch.GetInPort( 'Min' )
- IEndOfLoopSwitchMax = EndOfLoopSwitch.GetInPort( 'Max' )
- IEndOfLoopSwitchGate = EndOfLoopSwitch.GetInPort( 'Gate' )
- OEndOfLoopSwitchDoLoop = EndOfLoopSwitch.GetOutPort( 'DoLoop' )
- OEndOfLoopSwitchIndex = EndOfLoopSwitch.GetOutPort( 'Index' )
- OEndOfLoopSwitchMin = EndOfLoopSwitch.GetOutPort( 'Min' )
- OEndOfLoopSwitchMax = EndOfLoopSwitch.GetOutPort( 'Max' )
- OEndOfLoopSwitchGate = EndOfLoopSwitch.GetOutPort( 'Gate' )
- LoopSwitch.SetName( 'LoopSwitch' )
- LoopSwitch.SetAuthor( '' )
- LoopSwitch.SetComment( 'Compute Node' )
- LoopSwitch.Coords( 6 , 233 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,a,0 ' )
- PySwitch.append( ' return a & 1,a,1-(a&1) ' )
- Switch,EndOfSwitch = GraphLoopSwitchOfSwitchNOTValid.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 1075 , 210 )
- PyEndOfSwitch = []
- EndOfSwitch.SetPyFunction( 'EndSwitch_1' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 201 , 233 )
- ISwitcha = Switch.InPort( 'a' , 'long' )
- ISwitchGate = Switch.GetInPort( 'Gate' )
- OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
- OSwitcha = Switch.OutPort( 'a' , 'int' )
- OSwitchEven = Switch.OutPort( 'Even' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- PySwitchOdd = []
- PySwitchOdd.append( 'def SwitchOdd(a) : ' )
- PySwitchOdd.append( ' n = a/6 ' )
- PySwitchOdd.append( ' r = a%6 ' )
- PySwitchOdd.append( ' POne = 0 ' )
- PySwitchOdd.append( ' PThree = 0 ' )
- PySwitchOdd.append( ' PFive = 0 ' )
- PySwitchOdd.append( ' if r == 1 : ' )
- PySwitchOdd.append( ' POne = 1 ' )
- PySwitchOdd.append( ' if r == 3 : ' )
- PySwitchOdd.append( ' PThree = 1 ' )
- PySwitchOdd.append( ' if r == 5 : ' )
- PySwitchOdd.append( ' PFive = 1 ' )
- PySwitchOdd.append( ' return POne,PThree,PFive,n ' )
- SwitchOdd,EndOfSwitchOdd = GraphLoopSwitchOfSwitchNOTValid.SNode( 'SwitchOdd' , PySwitchOdd )
- EndOfSwitchOdd.SetName( 'EndOfSwitchOdd' )
- EndOfSwitchOdd.SetAuthor( '' )
- EndOfSwitchOdd.SetComment( 'Compute Node' )
- EndOfSwitchOdd.Coords( 851 , 210 )
- PyEndOfSwitchOdd = []
- EndOfSwitchOdd.SetPyFunction( 'EndSwitch' , PyEndOfSwitchOdd )
- IEndOfSwitchOddn = EndOfSwitchOdd.InPort( 'n' , 'long' )
- IEndOfSwitchOddDefault = EndOfSwitchOdd.GetInPort( 'Default' )
- OEndOfSwitchOddn = EndOfSwitchOdd.OutPort( 'n' , 'long' )
- OEndOfSwitchOddGate = EndOfSwitchOdd.GetOutPort( 'Gate' )
- SwitchOdd.SetName( 'SwitchOdd' )
- SwitchOdd.SetAuthor( '' )
- SwitchOdd.SetComment( 'Compute Node' )
- SwitchOdd.Coords( 412 , 169 )
- ISwitchOdda = SwitchOdd.InPort( 'a' , 'long' )
- ISwitchOddGate = SwitchOdd.GetInPort( 'Gate' )
- OSwitchOddPOne = SwitchOdd.OutPort( 'POne' , 'boolean' )
- OSwitchOddPThree = SwitchOdd.OutPort( 'PThree' , 'boolean' )
- OSwitchOddPFive = SwitchOdd.OutPort( 'PFive' , 'boolean' )
- OSwitchOddn = SwitchOdd.OutPort( 'n' , 'long' )
- OSwitchOddDefault = SwitchOdd.GetOutPort( 'Default' )
-
- # Creation of Links
- LLoopSwitchIndexSwitcha = GraphLoopSwitchOfSwitchNOTValid.Link( OLoopSwitchIndex , ISwitcha )
-
- LLoopSwitchMinEndOfLoopSwitchMin = GraphLoopSwitchOfSwitchNOTValid.Link( OLoopSwitchMin , IEndOfLoopSwitchMin )
-
- LLoopSwitchMaxEndOfLoopSwitchMax = GraphLoopSwitchOfSwitchNOTValid.Link( OLoopSwitchMax , IEndOfLoopSwitchMax )
-
- LIsEvenaEndOfSwitcha = GraphLoopSwitchOfSwitchNOTValid.Link( OIsEvena , IEndOfSwitcha )
- LIsEvenaEndOfSwitcha.AddCoord( 1 , 719 , 591 )
-
- LSwitchOddSwitchOddGate = GraphLoopSwitchOfSwitchNOTValid.Link( OSwitchOdd , ISwitchOddGate )
-
- LSwitchaIsEvena = GraphLoopSwitchOfSwitchNOTValid.Link( OSwitcha , IIsEvena )
-
- LSwitchaSwitchOdda = GraphLoopSwitchOfSwitchNOTValid.Link( OSwitcha , ISwitchOdda )
-
- LSwitchEvenIsEvenGate = GraphLoopSwitchOfSwitchNOTValid.Link( OSwitchEven , IIsEvenGate )
-
- LSwitchDefaultEndOfSwitchDefault = GraphLoopSwitchOfSwitchNOTValid.Link( OSwitchDefault , IEndOfSwitchDefault )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 1 , 1057 , 267 )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 2 , 1079 , 669 )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 3 , 383 , 666 )
-
- LEndOfSwitchaEndOfLoopSwitchIndex = GraphLoopSwitchOfSwitchNOTValid.Link( OEndOfSwitcha , IEndOfLoopSwitchIndex )
-
- LSwitchOddPOnePseudoPOneGate = GraphLoopSwitchOfSwitchNOTValid.Link( OSwitchOddPOne , IPseudoPOneGate )
-
- LSwitchOddPThreePseudoPThreeGate = GraphLoopSwitchOfSwitchNOTValid.Link( OSwitchOddPThree , IPseudoPThreeGate )
-
- LSwitchOddPFivePseudoPFiveGate = GraphLoopSwitchOfSwitchNOTValid.Link( OSwitchOddPFive , IPseudoPFiveGate )
-
- LSwitchOddnPseudoPOnePOne = GraphLoopSwitchOfSwitchNOTValid.Link( OSwitchOddn , IPseudoPOnePOne )
-
- LSwitchOddnPseudoPThreePThree = GraphLoopSwitchOfSwitchNOTValid.Link( OSwitchOddn , IPseudoPThreePThree )
-
- LSwitchOddnPseudoPFivePFive = GraphLoopSwitchOfSwitchNOTValid.Link( OSwitchOddn , IPseudoPFivePFive )
-
- LSwitchOddDefaultEndOfSwitchOddDefault = GraphLoopSwitchOfSwitchNOTValid.Link( OSwitchOddDefault , IEndOfSwitchOddDefault )
-
- LPseudoPOneaEndOfSwitchOddn = GraphLoopSwitchOfSwitchNOTValid.Link( OPseudoPOnea , IEndOfSwitchOddn )
-
- LPseudoPThreeaEndOfSwitchOddn = GraphLoopSwitchOfSwitchNOTValid.Link( OPseudoPThreea , IEndOfSwitchOddn )
-
- LPseudoPFiveaEndOfSwitchOddn = GraphLoopSwitchOfSwitchNOTValid.Link( OPseudoPFivea , IEndOfSwitchOddn )
-
- # Input datas
- ILoopSwitchIndex.Input( 0 )
- ILoopSwitchMin.Input( -5 )
- ILoopSwitchMax.Input( 65 )
-
- # Output Ports of the graph
- #OEndOfLoopSwitchIndex = EndOfLoopSwitch.GetOutPort( 'Index' )
- #OEndOfLoopSwitchMin = EndOfLoopSwitch.GetOutPort( 'Min' )
- #OEndOfLoopSwitchMax = EndOfLoopSwitch.GetOutPort( 'Max' )
- #OEndOfSwitchOddn = EndOfSwitchOdd.GetOutPort( 'n' )
- return GraphLoopSwitchOfSwitchNOTValid
-
-
-GraphLoopSwitchOfSwitchNOTValid = DefGraphLoopSwitchOfSwitchNOTValid()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchs_1
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchs_1
-def DefGraphLoopSwitchs_1() :
- GraphLoopSwitchs_1 = Graph( 'GraphLoopSwitchs_1' )
- GraphLoopSwitchs_1.SetName( 'GraphLoopSwitchs_1' )
- GraphLoopSwitchs_1.SetAuthor( 'JR' )
- GraphLoopSwitchs_1.SetComment( '' )
- GraphLoopSwitchs_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a) : ' )
- PyIsOdd.append( ' print a,"IsOdd" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a,1 ' )
- IsOdd = GraphLoopSwitchs_1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 476 , 50 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddOdd = IsOdd.OutPort( 'Odd' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven(a) : ' )
- PyIsEven.append( ' print a,"IsEven" ' )
- PyIsEven.append( ' sleep( 1 ) ' )
- PyIsEven.append( ' return a,1 ' )
- IsEven = GraphLoopSwitchs_1.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Python function' )
- IsEven.Coords( 482 , 292 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenEven = IsEven.OutPort( 'Even' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PySwitchsCompare = []
- PySwitchsCompare.append( 'from time import * ' )
- PySwitchsCompare.append( 'def SwitchsCompare(aOdd,Odd,aEven,Even) : ' )
- PySwitchsCompare.append( ' sleep(1) ' )
- PySwitchsCompare.append( ' return aOdd ' )
- SwitchsCompare = GraphLoopSwitchs_1.INode( 'SwitchsCompare' , PySwitchsCompare )
- SwitchsCompare.SetName( 'SwitchsCompare' )
- SwitchsCompare.SetAuthor( '' )
- SwitchsCompare.SetComment( 'Compute Node' )
- SwitchsCompare.Coords( 919 , 242 )
- ISwitchsCompareaOdd = SwitchsCompare.InPort( 'aOdd' , 'long' )
- ISwitchsCompareOdd = SwitchsCompare.InPort( 'Odd' , 'boolean' )
- ISwitchsCompareaEven = SwitchsCompare.InPort( 'aEven' , 'long' )
- ISwitchsCompareEven = SwitchsCompare.InPort( 'Even' , 'boolean' )
- ISwitchsCompareGate = SwitchsCompare.GetInPort( 'Gate' )
- OSwitchsComparea = SwitchsCompare.OutPort( 'a' , 'long' )
- OSwitchsCompareGate = SwitchsCompare.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoop = []
- PyLoop.append( 'def InitLoop(Index,Min,Max) : ' )
- PyLoop.append( ' return Index,Min,Max ' )
- PyMoreLoop = []
- PyMoreLoop.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreLoop.append( ' if Index <= Max : ' )
- PyMoreLoop.append( ' DoLoop = 1 ' )
- PyMoreLoop.append( ' else : ' )
- PyMoreLoop.append( ' DoLoop = 0 ' )
- PyMoreLoop.append( ' return DoLoop,Index,Min,Max ' )
- PyNextLoop = []
- PyNextLoop.append( 'def NextLoop(Index,Min,Max) : ' )
- PyNextLoop.append( ' Index = Index + 1 ' )
- PyNextLoop.append( ' return Index,Min,Max ' )
- Loop,EndOfLoop = GraphLoopSwitchs_1.LNode( 'InitLoop' , PyLoop , 'MoreLoop' , PyMoreLoop , 'NextLoop' , PyNextLoop )
- EndOfLoop.SetName( 'EndOfLoop' )
- EndOfLoop.SetAuthor( '' )
- EndOfLoop.SetComment( 'Compute Node' )
- EndOfLoop.Coords( 1102 , 282 )
- PyEndOfLoop = []
- EndOfLoop.SetPyFunction( '' , PyEndOfLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMin = Loop.InPort( 'Min' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMin = Loop.GetOutPort( 'Min' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- IEndOfLoopDoLoop = EndOfLoop.GetInPort( 'DoLoop' )
- IEndOfLoopIndex = EndOfLoop.GetInPort( 'Index' )
- IEndOfLoopMin = EndOfLoop.GetInPort( 'Min' )
- IEndOfLoopMax = EndOfLoop.GetInPort( 'Max' )
- IEndOfLoopGate = EndOfLoop.GetInPort( 'Gate' )
- OEndOfLoopDoLoop = EndOfLoop.GetOutPort( 'DoLoop' )
- OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
- OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
- OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
- OEndOfLoopGate = EndOfLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 12 , 276 )
-
- # Creation of Switch Nodes
- PySwitchOdd = []
- PySwitchOdd.append( 'from time import * ' )
- PySwitchOdd.append( 'def Switch(a) : ' )
- PySwitchOdd.append( ' sleep(1) ' )
- PySwitchOdd.append( ' return a & 1,1-(a&1),a ' )
- SwitchOdd,EndOfSwitchOdd = GraphLoopSwitchs_1.SNode( 'Switch' , PySwitchOdd )
- EndOfSwitchOdd.SetName( 'EndOfSwitchOdd' )
- EndOfSwitchOdd.SetAuthor( '' )
- EndOfSwitchOdd.SetComment( 'Compute Node' )
- EndOfSwitchOdd.Coords( 711 , 161 )
- PyEndOfSwitchOdd = []
- PyEndOfSwitchOdd.append( 'from time import * ' )
- PyEndOfSwitchOdd.append( 'def EndOfSwitchOdd(a,Odd) : ' )
- PyEndOfSwitchOdd.append( ' sleep(1) ' )
- PyEndOfSwitchOdd.append( ' return a,Odd ' )
- EndOfSwitchOdd.SetPyFunction( 'EndOfSwitchOdd' , PyEndOfSwitchOdd )
- IEndOfSwitchOdda = EndOfSwitchOdd.InPort( 'a' , 'long' )
- IEndOfSwitchOddOdd = EndOfSwitchOdd.InPort( 'Odd' , 'boolean' )
- IEndOfSwitchOddDefault = EndOfSwitchOdd.GetInPort( 'Default' )
- OEndOfSwitchOdda = EndOfSwitchOdd.OutPort( 'a' , 'long' )
- OEndOfSwitchOddOdd = EndOfSwitchOdd.OutPort( 'Odd' , 'boolean' )
- OEndOfSwitchOddGate = EndOfSwitchOdd.GetOutPort( 'Gate' )
- SwitchOdd.SetName( 'SwitchOdd' )
- SwitchOdd.SetAuthor( '' )
- SwitchOdd.SetComment( 'Compute Node' )
- SwitchOdd.Coords( 240 , 141 )
- ISwitchOdda = SwitchOdd.InPort( 'a' , 'long' )
- ISwitchOddGate = SwitchOdd.GetInPort( 'Gate' )
- OSwitchOddOdd = SwitchOdd.OutPort( 'Odd' , 'long' )
- OSwitchOddEven = SwitchOdd.OutPort( 'Even' , 'int' )
- OSwitchOdda = SwitchOdd.OutPort( 'a' , 'int' )
- OSwitchOddDefault = SwitchOdd.GetOutPort( 'Default' )
-
- PySwitchEven = []
- PySwitchEven.append( 'from time import * ' )
- PySwitchEven.append( 'def Switch(a) : ' )
- PySwitchEven.append( ' sleep(1) ' )
- PySwitchEven.append( ' return a & 1,1-(a&1),a ' )
- SwitchEven,EndOfSwitchEven = GraphLoopSwitchs_1.SNode( 'Switch' , PySwitchEven )
- EndOfSwitchEven.SetName( 'EndOfSwitchEven' )
- EndOfSwitchEven.SetAuthor( '' )
- EndOfSwitchEven.SetComment( 'Compute Node' )
- EndOfSwitchEven.Coords( 718 , 361 )
- PyEndOfSwitchEven = []
- PyEndOfSwitchEven.append( 'from time import * ' )
- PyEndOfSwitchEven.append( 'def EndOfSwitchEven(a,Even) : ' )
- PyEndOfSwitchEven.append( ' sleep(1) ' )
- PyEndOfSwitchEven.append( ' return a,Even ' )
- EndOfSwitchEven.SetPyFunction( 'EndOfSwitchEven' , PyEndOfSwitchEven )
- IEndOfSwitchEvena = EndOfSwitchEven.InPort( 'a' , 'long' )
- IEndOfSwitchEvenEven = EndOfSwitchEven.InPort( 'Even' , 'boolean' )
- IEndOfSwitchEvenDefault = EndOfSwitchEven.GetInPort( 'Default' )
- OEndOfSwitchEvena = EndOfSwitchEven.OutPort( 'a' , 'long' )
- OEndOfSwitchEvenEven = EndOfSwitchEven.OutPort( 'Even' , 'boolean' )
- OEndOfSwitchEvenGate = EndOfSwitchEven.GetOutPort( 'Gate' )
- SwitchEven.SetName( 'SwitchEven' )
- SwitchEven.SetAuthor( '' )
- SwitchEven.SetComment( 'Compute Node' )
- SwitchEven.Coords( 235 , 386 )
- ISwitchEvena = SwitchEven.InPort( 'a' , 'long' )
- ISwitchEvenGate = SwitchEven.GetInPort( 'Gate' )
- OSwitchEvenOdd = SwitchEven.OutPort( 'Odd' , 'long' )
- OSwitchEvenEven = SwitchEven.OutPort( 'Even' , 'int' )
- OSwitchEvena = SwitchEven.OutPort( 'a' , 'int' )
- OSwitchEvenDefault = SwitchEven.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitchOdda = GraphLoopSwitchs_1.Link( OIsOdda , IEndOfSwitchOdda )
-
- LIsOddOddEndOfSwitchOddOdd = GraphLoopSwitchs_1.Link( OIsOddOdd , IEndOfSwitchOddOdd )
-
- LSwitchOddOddIsOddGate = GraphLoopSwitchs_1.Link( OSwitchOddOdd , IIsOddGate )
-
- LSwitchOddaIsOdda = GraphLoopSwitchs_1.Link( OSwitchOdda , IIsOdda )
-
- LSwitchOddDefaultEndOfSwitchOddDefault = GraphLoopSwitchs_1.Link( OSwitchOddDefault , IEndOfSwitchOddDefault )
-
- LEndOfSwitchOddaSwitchsCompareaOdd = GraphLoopSwitchs_1.Link( OEndOfSwitchOdda , ISwitchsCompareaOdd )
-
- LEndOfSwitchOddOddSwitchsCompareOdd = GraphLoopSwitchs_1.Link( OEndOfSwitchOddOdd , ISwitchsCompareOdd )
-
- LIsEvenaEndOfSwitchEvena = GraphLoopSwitchs_1.Link( OIsEvena , IEndOfSwitchEvena )
-
- LIsEvenEvenEndOfSwitchEvenEven = GraphLoopSwitchs_1.Link( OIsEvenEven , IEndOfSwitchEvenEven )
-
- LLoopIndexSwitchEvena = GraphLoopSwitchs_1.Link( OLoopIndex , ISwitchEvena )
-
- LLoopIndexSwitchOdda = GraphLoopSwitchs_1.Link( OLoopIndex , ISwitchOdda )
-
- LLoopMinEndOfLoopMin = GraphLoopSwitchs_1.Link( OLoopMin , IEndOfLoopMin )
-
- LLoopMaxEndOfLoopMax = GraphLoopSwitchs_1.Link( OLoopMax , IEndOfLoopMax )
-
- LSwitchEvenEvenIsEvenGate = GraphLoopSwitchs_1.Link( OSwitchEvenEven , IIsEvenGate )
-
- LSwitchEvenaIsEvena = GraphLoopSwitchs_1.Link( OSwitchEvena , IIsEvena )
-
- LSwitchEvenDefaultEndOfSwitchEvenDefault = GraphLoopSwitchs_1.Link( OSwitchEvenDefault , IEndOfSwitchEvenDefault )
-
- LEndOfSwitchEvenaSwitchsCompareaEven = GraphLoopSwitchs_1.Link( OEndOfSwitchEvena , ISwitchsCompareaEven )
-
- LEndOfSwitchEvenEvenSwitchsCompareEven = GraphLoopSwitchs_1.Link( OEndOfSwitchEvenEven , ISwitchsCompareEven )
-
- LSwitchsCompareaEndOfLoopIndex = GraphLoopSwitchs_1.Link( OSwitchsComparea , IEndOfLoopIndex )
-
- # Input datas
- ILoopIndex.Input( 0 )
- ILoopMin.Input( 0 )
- ILoopMax.Input( 23 )
-
- # Output Ports of the graph
- #OSwitchOddEven = SwitchOdd.GetOutPort( 'Even' )
- #OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
- #OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
- #OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
- #OSwitchEvenOdd = SwitchEven.GetOutPort( 'Odd' )
- return GraphLoopSwitchs_1
-
-
-GraphLoopSwitchs_1 = DefGraphLoopSwitchs_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchsAborted
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchsAborted
-def DefGraphLoopSwitchsAborted() :
- GraphLoopSwitchsAborted = Graph( 'GraphLoopSwitchsAborted' )
- GraphLoopSwitchsAborted.SetName( 'GraphLoopSwitchsAborted' )
- GraphLoopSwitchsAborted.SetAuthor( 'JR' )
- GraphLoopSwitchsAborted.SetComment( 'Default links are missing' )
- GraphLoopSwitchsAborted.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a) : ' )
- PyIsOdd.append( ' print a,"IsOdd" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a,1 ' )
- IsOdd = GraphLoopSwitchsAborted.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 476 , 50 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddOdd = IsOdd.OutPort( 'Odd' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven(a) : ' )
- PyIsEven.append( ' print a,"IsEven" ' )
- PyIsEven.append( ' sleep( 1 ) ' )
- PyIsEven.append( ' return a,1 ' )
- IsEven = GraphLoopSwitchsAborted.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Python function' )
- IsEven.Coords( 482 , 292 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenEven = IsEven.OutPort( 'Even' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PySwitchsCompare = []
- PySwitchsCompare.append( 'from time import * ' )
- PySwitchsCompare.append( 'def SwitchsCompare(aOdd,Odd,aEven,Even) : ' )
- PySwitchsCompare.append( ' sleep(1) ' )
- PySwitchsCompare.append( ' return aOdd ' )
- SwitchsCompare = GraphLoopSwitchsAborted.INode( 'SwitchsCompare' , PySwitchsCompare )
- SwitchsCompare.SetName( 'SwitchsCompare' )
- SwitchsCompare.SetAuthor( '' )
- SwitchsCompare.SetComment( 'Compute Node' )
- SwitchsCompare.Coords( 919 , 242 )
- ISwitchsCompareaOdd = SwitchsCompare.InPort( 'aOdd' , 'long' )
- ISwitchsCompareOdd = SwitchsCompare.InPort( 'Odd' , 'boolean' )
- ISwitchsCompareaEven = SwitchsCompare.InPort( 'aEven' , 'long' )
- ISwitchsCompareEven = SwitchsCompare.InPort( 'Even' , 'boolean' )
- ISwitchsCompareGate = SwitchsCompare.GetInPort( 'Gate' )
- OSwitchsComparea = SwitchsCompare.OutPort( 'a' , 'long' )
- OSwitchsCompareGate = SwitchsCompare.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoop = []
- PyLoop.append( 'def InitLoop(Index,Min,Max) : ' )
- PyLoop.append( ' return Index,Min,Max ' )
- PyMoreLoop = []
- PyMoreLoop.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreLoop.append( ' if Index <= Max : ' )
- PyMoreLoop.append( ' DoLoop = 1 ' )
- PyMoreLoop.append( ' else : ' )
- PyMoreLoop.append( ' DoLoop = 0 ' )
- PyMoreLoop.append( ' return DoLoop,Index,Min,Max ' )
- PyNextLoop = []
- PyNextLoop.append( 'def NextLoop(Index,Min,Max) : ' )
- PyNextLoop.append( ' Index = Index + 1 ' )
- PyNextLoop.append( ' return Index,Min,Max ' )
- Loop,EndOfLoop = GraphLoopSwitchsAborted.LNode( 'InitLoop' , PyLoop , 'MoreLoop' , PyMoreLoop , 'NextLoop' , PyNextLoop )
- EndOfLoop.SetName( 'EndOfLoop' )
- EndOfLoop.SetAuthor( '' )
- EndOfLoop.SetComment( 'Compute Node' )
- EndOfLoop.Coords( 1102 , 282 )
- PyEndOfLoop = []
- EndOfLoop.SetPyFunction( '' , PyEndOfLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMin = Loop.InPort( 'Min' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMin = Loop.GetOutPort( 'Min' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- IEndOfLoopDoLoop = EndOfLoop.GetInPort( 'DoLoop' )
- IEndOfLoopIndex = EndOfLoop.GetInPort( 'Index' )
- IEndOfLoopMin = EndOfLoop.GetInPort( 'Min' )
- IEndOfLoopMax = EndOfLoop.GetInPort( 'Max' )
- IEndOfLoopGate = EndOfLoop.GetInPort( 'Gate' )
- OEndOfLoopDoLoop = EndOfLoop.GetOutPort( 'DoLoop' )
- OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
- OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
- OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
- OEndOfLoopGate = EndOfLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 12 , 276 )
-
- # Creation of Switch Nodes
- PySwitchOdd = []
- PySwitchOdd.append( 'from time import * ' )
- PySwitchOdd.append( 'def Switch(a) : ' )
- PySwitchOdd.append( ' sleep(1) ' )
- PySwitchOdd.append( ' return a & 1,1-(a&1),a ' )
- SwitchOdd,EndOfSwitchOdd = GraphLoopSwitchsAborted.SNode( 'Switch' , PySwitchOdd )
- EndOfSwitchOdd.SetName( 'EndOfSwitchOdd' )
- EndOfSwitchOdd.SetAuthor( '' )
- EndOfSwitchOdd.SetComment( 'Compute Node' )
- EndOfSwitchOdd.Coords( 711 , 161 )
- PyEndOfSwitchOdd = []
- PyEndOfSwitchOdd.append( 'from time import * ' )
- PyEndOfSwitchOdd.append( 'def EndOfSwitchOdd(a,Odd) : ' )
- PyEndOfSwitchOdd.append( ' sleep(1) ' )
- PyEndOfSwitchOdd.append( ' return a,Odd ' )
- EndOfSwitchOdd.SetPyFunction( 'EndOfSwitchOdd' , PyEndOfSwitchOdd )
- IEndOfSwitchOdda = EndOfSwitchOdd.InPort( 'a' , 'long' )
- IEndOfSwitchOddOdd = EndOfSwitchOdd.InPort( 'Odd' , 'boolean' )
- IEndOfSwitchOddDefault = EndOfSwitchOdd.GetInPort( 'Default' )
- OEndOfSwitchOdda = EndOfSwitchOdd.OutPort( 'a' , 'long' )
- OEndOfSwitchOddOdd = EndOfSwitchOdd.OutPort( 'Odd' , 'boolean' )
- OEndOfSwitchOddGate = EndOfSwitchOdd.GetOutPort( 'Gate' )
- SwitchOdd.SetName( 'SwitchOdd' )
- SwitchOdd.SetAuthor( '' )
- SwitchOdd.SetComment( 'Compute Node' )
- SwitchOdd.Coords( 240 , 141 )
- ISwitchOdda = SwitchOdd.InPort( 'a' , 'long' )
- ISwitchOddGate = SwitchOdd.GetInPort( 'Gate' )
- OSwitchOddOdd = SwitchOdd.OutPort( 'Odd' , 'long' )
- OSwitchOddEven = SwitchOdd.OutPort( 'Even' , 'int' )
- OSwitchOdda = SwitchOdd.OutPort( 'a' , 'int' )
- OSwitchOddDefault = SwitchOdd.GetOutPort( 'Default' )
-
- PySwitchEven = []
- PySwitchEven.append( 'from time import * ' )
- PySwitchEven.append( 'def Switch(a) : ' )
- PySwitchEven.append( ' sleep(1) ' )
- PySwitchEven.append( ' return a & 1,1-(a&1),a ' )
- SwitchEven,EndOfSwitchEven = GraphLoopSwitchsAborted.SNode( 'Switch' , PySwitchEven )
- EndOfSwitchEven.SetName( 'EndOfSwitchEven' )
- EndOfSwitchEven.SetAuthor( '' )
- EndOfSwitchEven.SetComment( 'Compute Node' )
- EndOfSwitchEven.Coords( 718 , 361 )
- PyEndOfSwitchEven = []
- PyEndOfSwitchEven.append( 'from time import * ' )
- PyEndOfSwitchEven.append( 'def EndOfSwitchEven(a,Even) : ' )
- PyEndOfSwitchEven.append( ' sleep(1) ' )
- PyEndOfSwitchEven.append( ' return a,Even ' )
- EndOfSwitchEven.SetPyFunction( 'EndOfSwitchEven' , PyEndOfSwitchEven )
- IEndOfSwitchEvena = EndOfSwitchEven.InPort( 'a' , 'long' )
- IEndOfSwitchEvenEven = EndOfSwitchEven.InPort( 'Even' , 'boolean' )
- IEndOfSwitchEvenDefault = EndOfSwitchEven.GetInPort( 'Default' )
- OEndOfSwitchEvena = EndOfSwitchEven.OutPort( 'a' , 'long' )
- OEndOfSwitchEvenEven = EndOfSwitchEven.OutPort( 'Even' , 'boolean' )
- OEndOfSwitchEvenGate = EndOfSwitchEven.GetOutPort( 'Gate' )
- SwitchEven.SetName( 'SwitchEven' )
- SwitchEven.SetAuthor( '' )
- SwitchEven.SetComment( 'Compute Node' )
- SwitchEven.Coords( 235 , 386 )
- ISwitchEvena = SwitchEven.InPort( 'a' , 'long' )
- ISwitchEvenGate = SwitchEven.GetInPort( 'Gate' )
- OSwitchEvenOdd = SwitchEven.OutPort( 'Odd' , 'long' )
- OSwitchEvenEven = SwitchEven.OutPort( 'Even' , 'int' )
- OSwitchEvena = SwitchEven.OutPort( 'a' , 'int' )
- OSwitchEvenDefault = SwitchEven.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitchOdda = GraphLoopSwitchsAborted.Link( OIsOdda , IEndOfSwitchOdda )
-
- LIsOddOddEndOfSwitchOddOdd = GraphLoopSwitchsAborted.Link( OIsOddOdd , IEndOfSwitchOddOdd )
-
- LSwitchOddOddIsOddGate = GraphLoopSwitchsAborted.Link( OSwitchOddOdd , IIsOddGate )
-
- LSwitchOddaIsOdda = GraphLoopSwitchsAborted.Link( OSwitchOdda , IIsOdda )
-
- LEndOfSwitchOddaSwitchsCompareaOdd = GraphLoopSwitchsAborted.Link( OEndOfSwitchOdda , ISwitchsCompareaOdd )
-
- LEndOfSwitchOddOddSwitchsCompareOdd = GraphLoopSwitchsAborted.Link( OEndOfSwitchOddOdd , ISwitchsCompareOdd )
-
- LIsEvenaEndOfSwitchEvena = GraphLoopSwitchsAborted.Link( OIsEvena , IEndOfSwitchEvena )
-
- LIsEvenEvenEndOfSwitchEvenEven = GraphLoopSwitchsAborted.Link( OIsEvenEven , IEndOfSwitchEvenEven )
-
- LLoopIndexSwitchEvena = GraphLoopSwitchsAborted.Link( OLoopIndex , ISwitchEvena )
-
- LLoopIndexSwitchOdda = GraphLoopSwitchsAborted.Link( OLoopIndex , ISwitchOdda )
-
- LLoopMinEndOfLoopMin = GraphLoopSwitchsAborted.Link( OLoopMin , IEndOfLoopMin )
-
- LLoopMaxEndOfLoopMax = GraphLoopSwitchsAborted.Link( OLoopMax , IEndOfLoopMax )
-
- LSwitchEvenEvenIsEvenGate = GraphLoopSwitchsAborted.Link( OSwitchEvenEven , IIsEvenGate )
-
- LSwitchEvenaIsEvena = GraphLoopSwitchsAborted.Link( OSwitchEvena , IIsEvena )
-
- LEndOfSwitchEvenaSwitchsCompareaEven = GraphLoopSwitchsAborted.Link( OEndOfSwitchEvena , ISwitchsCompareaEven )
-
- LEndOfSwitchEvenEvenSwitchsCompareEven = GraphLoopSwitchsAborted.Link( OEndOfSwitchEvenEven , ISwitchsCompareEven )
-
- LSwitchsCompareaEndOfLoopIndex = GraphLoopSwitchsAborted.Link( OSwitchsComparea , IEndOfLoopIndex )
-
- # Input datas
- ILoopIndex.Input( 0 )
- ILoopMin.Input( 0 )
- ILoopMax.Input( 23 )
-
- # Output Ports of the graph
- #OSwitchOddEven = SwitchOdd.GetOutPort( 'Even' )
- #OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
- #OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
- #OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
- #OSwitchEvenOdd = SwitchEven.GetOutPort( 'Odd' )
- return GraphLoopSwitchsAborted
-
-
-GraphLoopSwitchsAborted = DefGraphLoopSwitchsAborted()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchsBranches_1
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchsBranches_1
-def DefGraphLoopSwitchsBranches_1() :
- GraphLoopSwitchsBranches_1 = Graph( 'GraphLoopSwitchsBranches_1' )
- GraphLoopSwitchsBranches_1.SetName( 'GraphLoopSwitchsBranches_1' )
- GraphLoopSwitchsBranches_1.SetAuthor( 'JR' )
- GraphLoopSwitchsBranches_1.SetComment( '' )
- GraphLoopSwitchsBranches_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a) : ' )
- PyIsOdd.append( ' print a,"IsOdd" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a,1 ' )
- IsOdd = GraphLoopSwitchsBranches_1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 476 , 2 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddOdd = IsOdd.OutPort( 'Odd' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven(a) : ' )
- PyIsEven.append( ' print a,"IsEven" ' )
- PyIsEven.append( ' sleep( 1 ) ' )
- PyIsEven.append( ' return a,1 ' )
- IsEven = GraphLoopSwitchsBranches_1.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Python function' )
- IsEven.Coords( 472 , 724 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenEven = IsEven.OutPort( 'Even' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PySwitchsCompare = []
- PySwitchsCompare.append( 'from time import * ' )
- PySwitchsCompare.append( 'def SwitchsCompare(aOdd,Odd,aEven,Even,Index) : ' )
- PySwitchsCompare.append( ' sleep(1) ' )
- PySwitchsCompare.append( ' return Index ' )
- SwitchsCompare = GraphLoopSwitchsBranches_1.INode( 'SwitchsCompare' , PySwitchsCompare )
- SwitchsCompare.SetName( 'SwitchsCompare' )
- SwitchsCompare.SetAuthor( '' )
- SwitchsCompare.SetComment( 'Compute Node' )
- SwitchsCompare.Coords( 918 , 221 )
- ISwitchsCompareaOdd = SwitchsCompare.InPort( 'aOdd' , 'long' )
- ISwitchsCompareOdd = SwitchsCompare.InPort( 'Odd' , 'boolean' )
- ISwitchsCompareaEven = SwitchsCompare.InPort( 'aEven' , 'long' )
- ISwitchsCompareEven = SwitchsCompare.InPort( 'Even' , 'boolean' )
- ISwitchsCompareIndex = SwitchsCompare.InPort( 'Index' , 'long' )
- ISwitchsCompareGate = SwitchsCompare.GetInPort( 'Gate' )
- OSwitchsCompareIndex = SwitchsCompare.OutPort( 'Index' , 'long' )
- OSwitchsCompareGate = SwitchsCompare.GetOutPort( 'Gate' )
-
- PyIsNotOdd = []
- PyIsNotOdd.append( 'from time import * ' )
- PyIsNotOdd.append( 'def IsNotOdd(Even) : ' )
- PyIsNotOdd.append( ' sleep(1) ' )
- PyIsNotOdd.append( ' return Even ' )
- IsNotOdd = GraphLoopSwitchsBranches_1.INode( 'IsNotOdd' , PyIsNotOdd )
- IsNotOdd.SetName( 'IsNotOdd' )
- IsNotOdd.SetAuthor( '' )
- IsNotOdd.SetComment( 'Compute Node' )
- IsNotOdd.Coords( 477 , 145 )
- IIsNotOddEven = IsNotOdd.InPort( 'Even' , 'long' )
- IIsNotOddGate = IsNotOdd.GetInPort( 'Gate' )
- OIsNotOddEven = IsNotOdd.OutPort( 'Even' , 'long' )
- OIsNotOddGate = IsNotOdd.GetOutPort( 'Gate' )
-
- PyIsNotEven = []
- PyIsNotEven.append( 'from time import * ' )
- PyIsNotEven.append( 'def IsNotEven(Odd) : ' )
- PyIsNotEven.append( ' sleep(1) ' )
- PyIsNotEven.append( ' return Odd ' )
- IsNotEven = GraphLoopSwitchsBranches_1.INode( 'IsNotEven' , PyIsNotEven )
- IsNotEven.SetName( 'IsNotEven' )
- IsNotEven.SetAuthor( '' )
- IsNotEven.SetComment( 'Compute Node' )
- IsNotEven.Coords( 477 , 570 )
- IIsNotEvenOdd = IsNotEven.InPort( 'Odd' , 'long' )
- IIsNotEvenGate = IsNotEven.GetInPort( 'Gate' )
- OIsNotEvenOdd = IsNotEven.OutPort( 'Odd' , 'long' )
- OIsNotEvenGate = IsNotEven.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoop = []
- PyLoop.append( 'def InitLoop(Index,Min,Max) : ' )
- PyLoop.append( ' return Index,Min,Max ' )
- PyMoreLoop = []
- PyMoreLoop.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreLoop.append( ' if Index <= Max : ' )
- PyMoreLoop.append( ' DoLoop = 1 ' )
- PyMoreLoop.append( ' else : ' )
- PyMoreLoop.append( ' DoLoop = 0 ' )
- PyMoreLoop.append( ' return DoLoop,Index,Min,Max ' )
- PyNextLoop = []
- PyNextLoop.append( 'def NextLoop(Index,Min,Max) : ' )
- PyNextLoop.append( ' Index = Index + 1 ' )
- PyNextLoop.append( ' return Index,Min,Max ' )
- Loop,EndOfLoop = GraphLoopSwitchsBranches_1.LNode( 'InitLoop' , PyLoop , 'MoreLoop' , PyMoreLoop , 'NextLoop' , PyNextLoop )
- EndOfLoop.SetName( 'EndOfLoop' )
- EndOfLoop.SetAuthor( '' )
- EndOfLoop.SetComment( 'Compute Node' )
- EndOfLoop.Coords( 1099 , 261 )
- PyEndOfLoop = []
- EndOfLoop.SetPyFunction( '' , PyEndOfLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMin = Loop.InPort( 'Min' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMin = Loop.GetOutPort( 'Min' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- IEndOfLoopDoLoop = EndOfLoop.GetInPort( 'DoLoop' )
- IEndOfLoopIndex = EndOfLoop.GetInPort( 'Index' )
- IEndOfLoopMin = EndOfLoop.GetInPort( 'Min' )
- IEndOfLoopMax = EndOfLoop.GetInPort( 'Max' )
- IEndOfLoopGate = EndOfLoop.GetInPort( 'Gate' )
- OEndOfLoopDoLoop = EndOfLoop.GetOutPort( 'DoLoop' )
- OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
- OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
- OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
- OEndOfLoopGate = EndOfLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 19 , 341 )
-
- # Creation of Switch Nodes
- PySwitchOdd = []
- PySwitchOdd.append( 'from time import * ' )
- PySwitchOdd.append( 'def SwitchOdd(a) : ' )
- PySwitchOdd.append( ' sleep(1) ' )
- PySwitchOdd.append( ' OddEven = 'Odd' ' )
- PySwitchOdd.append( ' if (a&1) == 0 : ' )
- PySwitchOdd.append( ' OddEven = 'Even' ' )
- PySwitchOdd.append( ' return a & 1,1-(a&1),a,OddEven ' )
- SwitchOdd,EndOfSwitchOdd = GraphLoopSwitchsBranches_1.SNode( 'SwitchOdd' , PySwitchOdd )
- EndOfSwitchOdd.SetName( 'EndOfSwitchOdd' )
- EndOfSwitchOdd.SetAuthor( '' )
- EndOfSwitchOdd.SetComment( 'Compute Node' )
- EndOfSwitchOdd.Coords( 715 , 208 )
- PyEndOfSwitchOdd = []
- PyEndOfSwitchOdd.append( 'from time import * ' )
- PyEndOfSwitchOdd.append( 'def EndOfSwitchOdd(a,Odd,Even,OddEven) : ' )
- PyEndOfSwitchOdd.append( ' sleep(1) ' )
- PyEndOfSwitchOdd.append( ' return a,Odd ' )
- EndOfSwitchOdd.SetPyFunction( 'EndOfSwitchOdd' , PyEndOfSwitchOdd )
- IEndOfSwitchOdda = EndOfSwitchOdd.InPort( 'a' , 'long' )
- IEndOfSwitchOddOdd = EndOfSwitchOdd.InPort( 'Odd' , 'boolean' )
- IEndOfSwitchOddEven = EndOfSwitchOdd.InPort( 'Even' , 'long' )
- IEndOfSwitchOddOddEven = EndOfSwitchOdd.InPort( 'OddEven' , 'boolean' )
- IEndOfSwitchOddDefault = EndOfSwitchOdd.GetInPort( 'Default' )
- OEndOfSwitchOdda = EndOfSwitchOdd.OutPort( 'a' , 'long' )
- OEndOfSwitchOddOdd = EndOfSwitchOdd.OutPort( 'Odd' , 'boolean' )
- OEndOfSwitchOddGate = EndOfSwitchOdd.GetOutPort( 'Gate' )
- SwitchOdd.SetName( 'SwitchOdd' )
- SwitchOdd.SetAuthor( '' )
- SwitchOdd.SetComment( 'Compute Node' )
- SwitchOdd.Coords( 241 , 208 )
- ISwitchOdda = SwitchOdd.InPort( 'a' , 'long' )
- ISwitchOddGate = SwitchOdd.GetInPort( 'Gate' )
- OSwitchOddOdd = SwitchOdd.OutPort( 'Odd' , 'long' )
- OSwitchOddEven = SwitchOdd.OutPort( 'Even' , 'int' )
- OSwitchOdda = SwitchOdd.OutPort( 'a' , 'int' )
- OSwitchOddOddEven = SwitchOdd.OutPort( 'OddEven' , 'string' )
- OSwitchOddDefault = SwitchOdd.GetOutPort( 'Default' )
-
- PySwitchEven = []
- PySwitchEven.append( 'from time import * ' )
- PySwitchEven.append( 'def SwitchEven(a) : ' )
- PySwitchEven.append( ' sleep(1) ' )
- PySwitchEven.append( ' OddEven = 'Even' ' )
- PySwitchEven.append( ' if (a&1) != 0 : ' )
- PySwitchEven.append( ' OddEven = 'Odd' ' )
- PySwitchEven.append( ' return a & 1,1-(a&1),a,OddEven ' )
- SwitchEven,EndOfSwitchEven = GraphLoopSwitchsBranches_1.SNode( 'SwitchEven' , PySwitchEven )
- EndOfSwitchEven.SetName( 'EndOfSwitchEven' )
- EndOfSwitchEven.SetAuthor( '' )
- EndOfSwitchEven.SetComment( 'Compute Node' )
- EndOfSwitchEven.Coords( 722 , 425 )
- PyEndOfSwitchEven = []
- PyEndOfSwitchEven.append( 'from time import * ' )
- PyEndOfSwitchEven.append( 'def EndOfSwitchEven(a,Even,Odd,OddEven) : ' )
- PyEndOfSwitchEven.append( ' sleep(1) ' )
- PyEndOfSwitchEven.append( ' return a,Even ' )
- EndOfSwitchEven.SetPyFunction( 'EndOfSwitchEven' , PyEndOfSwitchEven )
- IEndOfSwitchEvena = EndOfSwitchEven.InPort( 'a' , 'long' )
- IEndOfSwitchEvenEven = EndOfSwitchEven.InPort( 'Even' , 'boolean' )
- IEndOfSwitchEvenOdd = EndOfSwitchEven.InPort( 'Odd' , 'long' )
- IEndOfSwitchEvenOddEven = EndOfSwitchEven.InPort( 'OddEven' , 'string' )
- IEndOfSwitchEvenDefault = EndOfSwitchEven.GetInPort( 'Default' )
- OEndOfSwitchEvena = EndOfSwitchEven.OutPort( 'a' , 'long' )
- OEndOfSwitchEvenEven = EndOfSwitchEven.OutPort( 'Even' , 'boolean' )
- OEndOfSwitchEvenGate = EndOfSwitchEven.GetOutPort( 'Gate' )
- SwitchEven.SetName( 'SwitchEven' )
- SwitchEven.SetAuthor( '' )
- SwitchEven.SetComment( 'Compute Node' )
- SwitchEven.Coords( 228 , 425 )
- ISwitchEvena = SwitchEven.InPort( 'a' , 'long' )
- ISwitchEvenGate = SwitchEven.GetInPort( 'Gate' )
- OSwitchEvenOdd = SwitchEven.OutPort( 'Odd' , 'long' )
- OSwitchEvenEven = SwitchEven.OutPort( 'Even' , 'int' )
- OSwitchEvena = SwitchEven.OutPort( 'a' , 'int' )
- OSwitchEvenOddEven = SwitchEven.OutPort( 'OddEven' , 'string' )
- OSwitchEvenDefault = SwitchEven.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitchOdda = GraphLoopSwitchsBranches_1.Link( OIsOdda , IEndOfSwitchOdda )
-
- LIsOddOddEndOfSwitchOddOdd = GraphLoopSwitchsBranches_1.Link( OIsOddOdd , IEndOfSwitchOddOdd )
-
- LSwitchOddOddIsOddGate = GraphLoopSwitchsBranches_1.Link( OSwitchOddOdd , IIsOddGate )
-
- LSwitchOddEvenIsNotOddEven = GraphLoopSwitchsBranches_1.Link( OSwitchOddEven , IIsNotOddEven )
-
- LSwitchOddaIsOdda = GraphLoopSwitchsBranches_1.Link( OSwitchOdda , IIsOdda )
-
- LSwitchOddOddEvenEndOfSwitchOddOddEven = GraphLoopSwitchsBranches_1.Link( OSwitchOddOddEven , IEndOfSwitchOddOddEven )
-
- LSwitchOddDefaultEndOfSwitchOddDefault = GraphLoopSwitchsBranches_1.Link( OSwitchOddDefault , IEndOfSwitchOddDefault )
-
- LEndOfSwitchOddaSwitchsCompareaOdd = GraphLoopSwitchsBranches_1.Link( OEndOfSwitchOdda , ISwitchsCompareaOdd )
-
- LEndOfSwitchOddOddSwitchsCompareOdd = GraphLoopSwitchsBranches_1.Link( OEndOfSwitchOddOdd , ISwitchsCompareOdd )
-
- LIsEvenaEndOfSwitchEvena = GraphLoopSwitchsBranches_1.Link( OIsEvena , IEndOfSwitchEvena )
-
- LIsEvenEvenEndOfSwitchEvenEven = GraphLoopSwitchsBranches_1.Link( OIsEvenEven , IEndOfSwitchEvenEven )
-
- LLoopIndexSwitchOdda = GraphLoopSwitchsBranches_1.Link( OLoopIndex , ISwitchOdda )
-
- LLoopIndexSwitchEvena = GraphLoopSwitchsBranches_1.Link( OLoopIndex , ISwitchEvena )
-
- LLoopIndexSwitchsCompareIndex = GraphLoopSwitchsBranches_1.Link( OLoopIndex , ISwitchsCompareIndex )
-
- LLoopMinEndOfLoopMin = GraphLoopSwitchsBranches_1.Link( OLoopMin , IEndOfLoopMin )
-
- LLoopMaxEndOfLoopMax = GraphLoopSwitchsBranches_1.Link( OLoopMax , IEndOfLoopMax )
-
- LSwitchEvenOddIsNotEvenOdd = GraphLoopSwitchsBranches_1.Link( OSwitchEvenOdd , IIsNotEvenOdd )
-
- LSwitchEvenEvenIsEvenGate = GraphLoopSwitchsBranches_1.Link( OSwitchEvenEven , IIsEvenGate )
-
- LSwitchEvenaIsEvena = GraphLoopSwitchsBranches_1.Link( OSwitchEvena , IIsEvena )
-
- LSwitchEvenOddEvenEndOfSwitchEvenOddEven = GraphLoopSwitchsBranches_1.Link( OSwitchEvenOddEven , IEndOfSwitchEvenOddEven )
-
- LSwitchEvenDefaultEndOfSwitchEvenDefault = GraphLoopSwitchsBranches_1.Link( OSwitchEvenDefault , IEndOfSwitchEvenDefault )
-
- LEndOfSwitchEvenaSwitchsCompareaEven = GraphLoopSwitchsBranches_1.Link( OEndOfSwitchEvena , ISwitchsCompareaEven )
-
- LEndOfSwitchEvenEvenSwitchsCompareEven = GraphLoopSwitchsBranches_1.Link( OEndOfSwitchEvenEven , ISwitchsCompareEven )
-
- LSwitchsCompareIndexEndOfLoopIndex = GraphLoopSwitchsBranches_1.Link( OSwitchsCompareIndex , IEndOfLoopIndex )
-
- LIsNotOddEvenEndOfSwitchOddEven = GraphLoopSwitchsBranches_1.Link( OIsNotOddEven , IEndOfSwitchOddEven )
-
- LIsNotEvenOddEndOfSwitchEvenOdd = GraphLoopSwitchsBranches_1.Link( OIsNotEvenOdd , IEndOfSwitchEvenOdd )
-
- # Input datas
- ILoopIndex.Input( 0 )
- ILoopMin.Input( 0 )
- ILoopMax.Input( 23 )
-
- # Output Ports of the graph
- #OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
- #OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
- #OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
- return GraphLoopSwitchsBranches_1
-
-
-GraphLoopSwitchsBranches_1 = DefGraphLoopSwitchsBranches_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchsBranchesdefaultAborted
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchsBranchesdefaultAborted
-def DefGraphLoopSwitchsBranchesdefaultAborted() :
- GraphLoopSwitchsBranchesdefaultAborted = Graph( 'GraphLoopSwitchsBranchesdefaultAborted' )
- GraphLoopSwitchsBranchesdefaultAborted.SetName( 'GraphLoopSwitchsBranchesdefaultAborted' )
- GraphLoopSwitchsBranchesdefaultAborted.SetAuthor( 'JR' )
- GraphLoopSwitchsBranchesdefaultAborted.SetComment( '' )
- GraphLoopSwitchsBranchesdefaultAborted.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a) : ' )
- PyIsOdd.append( ' print a,"IsOdd" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a,1 ' )
- IsOdd = GraphLoopSwitchsBranchesdefaultAborted.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 476 , 2 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddOdd = IsOdd.OutPort( 'Odd' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven(a) : ' )
- PyIsEven.append( ' print a,"IsEven" ' )
- PyIsEven.append( ' sleep( 1 ) ' )
- PyIsEven.append( ' return a,1 ' )
- IsEven = GraphLoopSwitchsBranchesdefaultAborted.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Python function' )
- IsEven.Coords( 472 , 724 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenEven = IsEven.OutPort( 'Even' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PySwitchsCompare = []
- PySwitchsCompare.append( 'from time import * ' )
- PySwitchsCompare.append( 'def SwitchsCompare(aOdd,Odd,aEven,Even,Index) : ' )
- PySwitchsCompare.append( ' sleep(1) ' )
- PySwitchsCompare.append( ' return Index ' )
- SwitchsCompare = GraphLoopSwitchsBranchesdefaultAborted.INode( 'SwitchsCompare' , PySwitchsCompare )
- SwitchsCompare.SetName( 'SwitchsCompare' )
- SwitchsCompare.SetAuthor( '' )
- SwitchsCompare.SetComment( 'Compute Node' )
- SwitchsCompare.Coords( 916 , 269 )
- ISwitchsCompareaOdd = SwitchsCompare.InPort( 'aOdd' , 'long' )
- ISwitchsCompareOdd = SwitchsCompare.InPort( 'Odd' , 'boolean' )
- ISwitchsCompareaEven = SwitchsCompare.InPort( 'aEven' , 'long' )
- ISwitchsCompareEven = SwitchsCompare.InPort( 'Even' , 'boolean' )
- ISwitchsCompareIndex = SwitchsCompare.InPort( 'Index' , 'long' )
- ISwitchsCompareGate = SwitchsCompare.GetInPort( 'Gate' )
- OSwitchsCompareIndex = SwitchsCompare.OutPort( 'Index' , 'long' )
- OSwitchsCompareGate = SwitchsCompare.GetOutPort( 'Gate' )
-
- PyIsNotOdd = []
- PyIsNotOdd.append( 'from time import * ' )
- PyIsNotOdd.append( 'def IsNotOdd(Even) : ' )
- PyIsNotOdd.append( ' sleep(1) ' )
- PyIsNotOdd.append( ' return Even ' )
- IsNotOdd = GraphLoopSwitchsBranchesdefaultAborted.INode( 'IsNotOdd' , PyIsNotOdd )
- IsNotOdd.SetName( 'IsNotOdd' )
- IsNotOdd.SetAuthor( '' )
- IsNotOdd.SetComment( 'Compute Node' )
- IsNotOdd.Coords( 477 , 137 )
- IIsNotOddEven = IsNotOdd.InPort( 'Even' , 'long' )
- IIsNotOddGate = IsNotOdd.GetInPort( 'Gate' )
- OIsNotOddEven = IsNotOdd.OutPort( 'Even' , 'long' )
- OIsNotOddGate = IsNotOdd.GetOutPort( 'Gate' )
-
- PyIsNotEven = []
- PyIsNotEven.append( 'from time import * ' )
- PyIsNotEven.append( 'def IsNotEven(Odd) : ' )
- PyIsNotEven.append( ' sleep(1) ' )
- PyIsNotEven.append( ' return Odd ' )
- IsNotEven = GraphLoopSwitchsBranchesdefaultAborted.INode( 'IsNotEven' , PyIsNotEven )
- IsNotEven.SetName( 'IsNotEven' )
- IsNotEven.SetAuthor( '' )
- IsNotEven.SetComment( 'Compute Node' )
- IsNotEven.Coords( 475 , 601 )
- IIsNotEvenOdd = IsNotEven.InPort( 'Odd' , 'long' )
- IIsNotEvenGate = IsNotEven.GetInPort( 'Gate' )
- OIsNotEvenOdd = IsNotEven.OutPort( 'Odd' , 'long' )
- OIsNotEvenGate = IsNotEven.GetOutPort( 'Gate' )
-
- PyIsOdddefault = []
- PyIsOdddefault.append( 'from time import * ' )
- PyIsOdddefault.append( 'def IsOdddefault(a) : ' )
- PyIsOdddefault.append( ' sleep(1) ' )
- PyIsOdddefault.append( ' return a,0 ' )
- PyIsOdddefault.append( '' )
- IsOdddefault = GraphLoopSwitchsBranchesdefaultAborted.INode( 'IsOdddefault' , PyIsOdddefault )
- IsOdddefault.SetName( 'IsOdddefault' )
- IsOdddefault.SetAuthor( '' )
- IsOdddefault.SetComment( 'Compute Node' )
- IsOdddefault.Coords( 477 , 285 )
- IIsOdddefaulta = IsOdddefault.InPort( 'a' , 'long' )
- IIsOdddefaultGate = IsOdddefault.GetInPort( 'Gate' )
- OIsOdddefaulta = IsOdddefault.OutPort( 'a' , 'long' )
- OIsOdddefaultOdd = IsOdddefault.OutPort( 'Odd' , 'long' )
- OIsOdddefaultGate = IsOdddefault.GetOutPort( 'Gate' )
-
- PyIsEvendefault = []
- PyIsEvendefault.append( 'from time import * ' )
- PyIsEvendefault.append( 'def IsEvendefault(a) : ' )
- PyIsEvendefault.append( ' sleep(1) ' )
- PyIsEvendefault.append( ' return a,0 ' )
- PyIsEvendefault.append( '' )
- IsEvendefault = GraphLoopSwitchsBranchesdefaultAborted.INode( 'IsEvendefault' , PyIsEvendefault )
- IsEvendefault.SetName( 'IsEvendefault' )
- IsEvendefault.SetAuthor( '' )
- IsEvendefault.SetComment( 'Compute Node' )
- IsEvendefault.Coords( 478 , 434 )
- IIsEvendefaulta = IsEvendefault.InPort( 'a' , 'long' )
- IIsEvendefaultGate = IsEvendefault.GetInPort( 'Gate' )
- OIsEvendefaulta = IsEvendefault.OutPort( 'a' , 'long' )
- OIsEvendefaultEven = IsEvendefault.OutPort( 'Even' , 'long' )
- OIsEvendefaultGate = IsEvendefault.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoop = []
- PyLoop.append( 'def InitLoop(Index,Min,Max) : ' )
- PyLoop.append( ' Index = Max ' )
- PyLoop.append( ' return Index,Min,Max ' )
- PyMoreLoop = []
- PyMoreLoop.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreLoop.append( ' if Index >= Min : ' )
- PyMoreLoop.append( ' DoLoop = 1 ' )
- PyMoreLoop.append( ' else : ' )
- PyMoreLoop.append( ' DoLoop = 0 ' )
- PyMoreLoop.append( ' return DoLoop,Index,Min,Max ' )
- PyNextLoop = []
- PyNextLoop.append( 'def NextLoop(Index,Min,Max) : ' )
- PyNextLoop.append( ' Index = Index - 1 ' )
- PyNextLoop.append( ' return Index,Min,Max ' )
- Loop,EndOfLoop = GraphLoopSwitchsBranchesdefaultAborted.LNode( 'InitLoop' , PyLoop , 'MoreLoop' , PyMoreLoop , 'NextLoop' , PyNextLoop )
- EndOfLoop.SetName( 'EndOfLoop' )
- EndOfLoop.SetAuthor( '' )
- EndOfLoop.SetComment( 'Compute Node' )
- EndOfLoop.Coords( 1097 , 309 )
- PyEndOfLoop = []
- EndOfLoop.SetPyFunction( '' , PyEndOfLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMin = Loop.InPort( 'Min' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMin = Loop.GetOutPort( 'Min' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- IEndOfLoopDoLoop = EndOfLoop.GetInPort( 'DoLoop' )
- IEndOfLoopIndex = EndOfLoop.GetInPort( 'Index' )
- IEndOfLoopMin = EndOfLoop.GetInPort( 'Min' )
- IEndOfLoopMax = EndOfLoop.GetInPort( 'Max' )
- IEndOfLoopGate = EndOfLoop.GetInPort( 'Gate' )
- OEndOfLoopDoLoop = EndOfLoop.GetOutPort( 'DoLoop' )
- OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
- OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
- OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
- OEndOfLoopGate = EndOfLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 18 , 389 )
-
- # Creation of Switch Nodes
- PySwitchOdd = []
- PySwitchOdd.append( 'from time import * ' )
- PySwitchOdd.append( 'def SwitchOdd(a) : ' )
- PySwitchOdd.append( ' sleep(1) ' )
- PySwitchOdd.append( ' if a <= 0 : ' )
- PySwitchOdd.append( ' OddEven = '<=0' ' )
- PySwitchOdd.append( ' return 0,0,0,a,OddEven ' )
- PySwitchOdd.append( ' OddEven = 'Odd' ' )
- PySwitchOdd.append( ' if (a&1) == 0 : ' )
- PySwitchOdd.append( ' OddEven = 'Even' ' )
- PySwitchOdd.append( ' return a & 1,1-(a&1),1-(a&1),a,OddEven ' )
- SwitchOdd,EndOfSwitchOdd = GraphLoopSwitchsBranchesdefaultAborted.SNode( 'SwitchOdd' , PySwitchOdd )
- EndOfSwitchOdd.SetName( 'EndOfSwitchOdd' )
- EndOfSwitchOdd.SetAuthor( '' )
- EndOfSwitchOdd.SetComment( 'Compute Node' )
- EndOfSwitchOdd.Coords( 718 , 162 )
- PyEndOfSwitchOdd = []
- PyEndOfSwitchOdd.append( 'from time import * ' )
- PyEndOfSwitchOdd.append( 'def EndOfSwitchOdd(a,Odd,Even,OddEven) : ' )
- PyEndOfSwitchOdd.append( ' sleep(1) ' )
- PyEndOfSwitchOdd.append( ' return a,Odd ' )
- EndOfSwitchOdd.SetPyFunction( 'EndOfSwitchOdd' , PyEndOfSwitchOdd )
- IEndOfSwitchOdda = EndOfSwitchOdd.InPort( 'a' , 'long' )
- IEndOfSwitchOddOdd = EndOfSwitchOdd.InPort( 'Odd' , 'boolean' )
- IEndOfSwitchOddEven = EndOfSwitchOdd.InPort( 'Even' , 'long' )
- IEndOfSwitchOddOddEven = EndOfSwitchOdd.InPort( 'OddEven' , 'boolean' )
- IEndOfSwitchOddDefault = EndOfSwitchOdd.GetInPort( 'Default' )
- OEndOfSwitchOdda = EndOfSwitchOdd.OutPort( 'a' , 'long' )
- OEndOfSwitchOddOdd = EndOfSwitchOdd.OutPort( 'Odd' , 'boolean' )
- OEndOfSwitchOddGate = EndOfSwitchOdd.GetOutPort( 'Gate' )
- SwitchOdd.SetName( 'SwitchOdd' )
- SwitchOdd.SetAuthor( '' )
- SwitchOdd.SetComment( 'Compute Node' )
- SwitchOdd.Coords( 240 , 142 )
- ISwitchOdda = SwitchOdd.InPort( 'a' , 'long' )
- ISwitchOddGate = SwitchOdd.GetInPort( 'Gate' )
- OSwitchOddOdd = SwitchOdd.OutPort( 'Odd' , 'long' )
- OSwitchOddEven = SwitchOdd.OutPort( 'Even' , 'int' )
- OSwitchOdddefault = SwitchOdd.OutPort( 'default' , 'long' )
- OSwitchOdda = SwitchOdd.OutPort( 'a' , 'long' )
- OSwitchOddOddEven = SwitchOdd.OutPort( 'OddEven' , 'string' )
- OSwitchOddDefault = SwitchOdd.GetOutPort( 'Default' )
-
- PySwitchEven = []
- PySwitchEven.append( 'from time import * ' )
- PySwitchEven.append( 'def SwitchEven(a) : ' )
- PySwitchEven.append( ' sleep(1) ' )
- PySwitchEven.append( ' if a <= 0 : ' )
- PySwitchEven.append( ' OddEven = '<=0' ' )
- PySwitchEven.append( ' return 0,0,0,a,OddEven ' )
- PySwitchEven.append( ' OddEven = 'Even' ' )
- PySwitchEven.append( ' if (a&1) != 0 : ' )
- PySwitchEven.append( ' OddEven = 'Odd' ' )
- PySwitchEven.append( ' print (a&1),1-(a&1),(a&1),a,OddEven ' )
- PySwitchEven.append( ' return (a&1),1-(a&1),(a&1),a,OddEven ' )
- SwitchEven,EndOfSwitchEven = GraphLoopSwitchsBranchesdefaultAborted.SNode( 'SwitchEven' , PySwitchEven )
- EndOfSwitchEven.SetName( 'EndOfSwitchEven' )
- EndOfSwitchEven.SetAuthor( '' )
- EndOfSwitchEven.SetComment( 'Compute Node' )
- EndOfSwitchEven.Coords( 721 , 477 )
- PyEndOfSwitchEven = []
- PyEndOfSwitchEven.append( 'from time import * ' )
- PyEndOfSwitchEven.append( 'def EndOfSwitchEven(a,Even,Odd,OddEven) : ' )
- PyEndOfSwitchEven.append( ' sleep(1) ' )
- PyEndOfSwitchEven.append( ' return a,Even ' )
- EndOfSwitchEven.SetPyFunction( 'EndOfSwitchEven' , PyEndOfSwitchEven )
- IEndOfSwitchEvena = EndOfSwitchEven.InPort( 'a' , 'long' )
- IEndOfSwitchEvenEven = EndOfSwitchEven.InPort( 'Even' , 'boolean' )
- IEndOfSwitchEvenOdd = EndOfSwitchEven.InPort( 'Odd' , 'long' )
- IEndOfSwitchEvenOddEven = EndOfSwitchEven.InPort( 'OddEven' , 'string' )
- IEndOfSwitchEvenDefault = EndOfSwitchEven.GetInPort( 'Default' )
- OEndOfSwitchEvena = EndOfSwitchEven.OutPort( 'a' , 'long' )
- OEndOfSwitchEvenEven = EndOfSwitchEven.OutPort( 'Even' , 'boolean' )
- OEndOfSwitchEvenGate = EndOfSwitchEven.GetOutPort( 'Gate' )
- SwitchEven.SetName( 'SwitchEven' )
- SwitchEven.SetAuthor( '' )
- SwitchEven.SetComment( 'Compute Node' )
- SwitchEven.Coords( 230 , 457 )
- ISwitchEvena = SwitchEven.InPort( 'a' , 'long' )
- ISwitchEvenGate = SwitchEven.GetInPort( 'Gate' )
- OSwitchEvenOdd = SwitchEven.OutPort( 'Odd' , 'long' )
- OSwitchEvenEven = SwitchEven.OutPort( 'Even' , 'int' )
- OSwitchEvendefault = SwitchEven.OutPort( 'default' , 'long' )
- OSwitchEvena = SwitchEven.OutPort( 'a' , 'int' )
- OSwitchEvenOddEven = SwitchEven.OutPort( 'OddEven' , 'string' )
- OSwitchEvenDefault = SwitchEven.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitchOdda = GraphLoopSwitchsBranchesdefaultAborted.Link( OIsOdda , IEndOfSwitchOdda )
-
- LIsOddOddEndOfSwitchOddOdd = GraphLoopSwitchsBranchesdefaultAborted.Link( OIsOddOdd , IEndOfSwitchOddOdd )
-
- LSwitchOddOddIsOddGate = GraphLoopSwitchsBranchesdefaultAborted.Link( OSwitchOddOdd , IIsOddGate )
-
- LSwitchOddEvenIsNotOddEven = GraphLoopSwitchsBranchesdefaultAborted.Link( OSwitchOddEven , IIsNotOddEven )
-
- LSwitchOdddefaultIsOdddefaultGate = GraphLoopSwitchsBranchesdefaultAborted.Link( OSwitchOdddefault , IIsOdddefaultGate )
-
- LSwitchOddaIsOdddefaulta = GraphLoopSwitchsBranchesdefaultAborted.Link( OSwitchOdda , IIsOdddefaulta )
-
- LSwitchOddaIsOdda = GraphLoopSwitchsBranchesdefaultAborted.Link( OSwitchOdda , IIsOdda )
-
- LSwitchOddOddEvenEndOfSwitchOddOddEven = GraphLoopSwitchsBranchesdefaultAborted.Link( OSwitchOddOddEven , IEndOfSwitchOddOddEven )
-
- LEndOfSwitchOddaSwitchsCompareaOdd = GraphLoopSwitchsBranchesdefaultAborted.Link( OEndOfSwitchOdda , ISwitchsCompareaOdd )
-
- LEndOfSwitchOddOddSwitchsCompareOdd = GraphLoopSwitchsBranchesdefaultAborted.Link( OEndOfSwitchOddOdd , ISwitchsCompareOdd )
-
- LIsEvenaEndOfSwitchEvena = GraphLoopSwitchsBranchesdefaultAborted.Link( OIsEvena , IEndOfSwitchEvena )
-
- LIsEvenEvenEndOfSwitchEvenEven = GraphLoopSwitchsBranchesdefaultAborted.Link( OIsEvenEven , IEndOfSwitchEvenEven )
-
- LLoopIndexSwitchsCompareIndex = GraphLoopSwitchsBranchesdefaultAborted.Link( OLoopIndex , ISwitchsCompareIndex )
-
- LLoopIndexSwitchOdda = GraphLoopSwitchsBranchesdefaultAborted.Link( OLoopIndex , ISwitchOdda )
-
- LLoopIndexSwitchEvena = GraphLoopSwitchsBranchesdefaultAborted.Link( OLoopIndex , ISwitchEvena )
-
- LLoopMinEndOfLoopMin = GraphLoopSwitchsBranchesdefaultAborted.Link( OLoopMin , IEndOfLoopMin )
-
- LLoopMaxEndOfLoopMax = GraphLoopSwitchsBranchesdefaultAborted.Link( OLoopMax , IEndOfLoopMax )
-
- LSwitchEvenOddIsNotEvenOdd = GraphLoopSwitchsBranchesdefaultAborted.Link( OSwitchEvenOdd , IIsNotEvenOdd )
-
- LSwitchEvenEvenIsEvenGate = GraphLoopSwitchsBranchesdefaultAborted.Link( OSwitchEvenEven , IIsEvenGate )
-
- LSwitchEvendefaultIsEvendefaultGate = GraphLoopSwitchsBranchesdefaultAborted.Link( OSwitchEvendefault , IIsEvendefaultGate )
-
- LSwitchEvenaIsEvena = GraphLoopSwitchsBranchesdefaultAborted.Link( OSwitchEvena , IIsEvena )
-
- LSwitchEvenaIsEvendefaulta = GraphLoopSwitchsBranchesdefaultAborted.Link( OSwitchEvena , IIsEvendefaulta )
-
- LSwitchEvenOddEvenEndOfSwitchEvenOddEven = GraphLoopSwitchsBranchesdefaultAborted.Link( OSwitchEvenOddEven , IEndOfSwitchEvenOddEven )
-
- LEndOfSwitchEvenaSwitchsCompareaEven = GraphLoopSwitchsBranchesdefaultAborted.Link( OEndOfSwitchEvena , ISwitchsCompareaEven )
-
- LEndOfSwitchEvenEvenSwitchsCompareEven = GraphLoopSwitchsBranchesdefaultAborted.Link( OEndOfSwitchEvenEven , ISwitchsCompareEven )
-
- LSwitchsCompareIndexEndOfLoopIndex = GraphLoopSwitchsBranchesdefaultAborted.Link( OSwitchsCompareIndex , IEndOfLoopIndex )
-
- LIsNotOddEvenEndOfSwitchOddEven = GraphLoopSwitchsBranchesdefaultAborted.Link( OIsNotOddEven , IEndOfSwitchOddEven )
-
- LIsNotEvenOddEndOfSwitchEvenOdd = GraphLoopSwitchsBranchesdefaultAborted.Link( OIsNotEvenOdd , IEndOfSwitchEvenOdd )
-
- LIsOdddefaultaEndOfSwitchOdda = GraphLoopSwitchsBranchesdefaultAborted.Link( OIsOdddefaulta , IEndOfSwitchOdda )
-
- LIsOdddefaultOddEndOfSwitchOddOdd = GraphLoopSwitchsBranchesdefaultAborted.Link( OIsOdddefaultOdd , IEndOfSwitchOddOdd )
-
- LIsEvendefaultaEndOfSwitchEvena = GraphLoopSwitchsBranchesdefaultAborted.Link( OIsEvendefaulta , IEndOfSwitchEvena )
-
- LIsEvendefaultEvenEndOfSwitchEvenEven = GraphLoopSwitchsBranchesdefaultAborted.Link( OIsEvendefaultEven , IEndOfSwitchEvenEven )
-
- # Input datas
- ILoopIndex.Input( 0 )
- ILoopMin.Input( -5 )
- ILoopMax.Input( 11 )
-
- # Output Ports of the graph
- #OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
- #OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
- #OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
- return GraphLoopSwitchsBranchesdefaultAborted
-
-
-GraphLoopSwitchsBranchesdefaultAborted = DefGraphLoopSwitchsBranchesdefaultAborted()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchsBranchesdefault
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchsBranchesdefault
-def DefGraphLoopSwitchsBranchesdefault() :
- GraphLoopSwitchsBranchesdefault = Graph( 'GraphLoopSwitchsBranchesdefault' )
- GraphLoopSwitchsBranchesdefault.SetName( 'GraphLoopSwitchsBranchesdefault' )
- GraphLoopSwitchsBranchesdefault.SetAuthor( 'JR' )
- GraphLoopSwitchsBranchesdefault.SetComment( '' )
- GraphLoopSwitchsBranchesdefault.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a) : ' )
- PyIsOdd.append( ' print a,"IsOdd" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a,1 ' )
- IsOdd = GraphLoopSwitchsBranchesdefault.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 476 , 2 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddOdd = IsOdd.OutPort( 'Odd' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven(a) : ' )
- PyIsEven.append( ' print a,"IsEven" ' )
- PyIsEven.append( ' sleep( 1 ) ' )
- PyIsEven.append( ' return a,1 ' )
- IsEven = GraphLoopSwitchsBranchesdefault.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Python function' )
- IsEven.Coords( 472 , 724 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenEven = IsEven.OutPort( 'Even' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PySwitchsCompare = []
- PySwitchsCompare.append( 'from time import * ' )
- PySwitchsCompare.append( 'def SwitchsCompare(aOdd,Odd,aEven,Even,Index) : ' )
- PySwitchsCompare.append( ' sleep(1) ' )
- PySwitchsCompare.append( ' return Index ' )
- SwitchsCompare = GraphLoopSwitchsBranchesdefault.INode( 'SwitchsCompare' , PySwitchsCompare )
- SwitchsCompare.SetName( 'SwitchsCompare' )
- SwitchsCompare.SetAuthor( '' )
- SwitchsCompare.SetComment( 'Compute Node' )
- SwitchsCompare.Coords( 916 , 269 )
- ISwitchsCompareaOdd = SwitchsCompare.InPort( 'aOdd' , 'long' )
- ISwitchsCompareOdd = SwitchsCompare.InPort( 'Odd' , 'boolean' )
- ISwitchsCompareaEven = SwitchsCompare.InPort( 'aEven' , 'long' )
- ISwitchsCompareEven = SwitchsCompare.InPort( 'Even' , 'boolean' )
- ISwitchsCompareIndex = SwitchsCompare.InPort( 'Index' , 'long' )
- ISwitchsCompareGate = SwitchsCompare.GetInPort( 'Gate' )
- OSwitchsCompareIndex = SwitchsCompare.OutPort( 'Index' , 'long' )
- OSwitchsCompareGate = SwitchsCompare.GetOutPort( 'Gate' )
-
- PyIsNotOdd = []
- PyIsNotOdd.append( 'from time import * ' )
- PyIsNotOdd.append( 'def IsNotOdd(Even) : ' )
- PyIsNotOdd.append( ' sleep(1) ' )
- PyIsNotOdd.append( ' return Even ' )
- IsNotOdd = GraphLoopSwitchsBranchesdefault.INode( 'IsNotOdd' , PyIsNotOdd )
- IsNotOdd.SetName( 'IsNotOdd' )
- IsNotOdd.SetAuthor( '' )
- IsNotOdd.SetComment( 'Compute Node' )
- IsNotOdd.Coords( 477 , 137 )
- IIsNotOddEven = IsNotOdd.InPort( 'Even' , 'long' )
- IIsNotOddGate = IsNotOdd.GetInPort( 'Gate' )
- OIsNotOddEven = IsNotOdd.OutPort( 'Even' , 'long' )
- OIsNotOddGate = IsNotOdd.GetOutPort( 'Gate' )
-
- PyIsNotEven = []
- PyIsNotEven.append( 'from time import * ' )
- PyIsNotEven.append( 'def IsNotEven(Odd) : ' )
- PyIsNotEven.append( ' sleep(1) ' )
- PyIsNotEven.append( ' return Odd ' )
- IsNotEven = GraphLoopSwitchsBranchesdefault.INode( 'IsNotEven' , PyIsNotEven )
- IsNotEven.SetName( 'IsNotEven' )
- IsNotEven.SetAuthor( '' )
- IsNotEven.SetComment( 'Compute Node' )
- IsNotEven.Coords( 475 , 601 )
- IIsNotEvenOdd = IsNotEven.InPort( 'Odd' , 'long' )
- IIsNotEvenGate = IsNotEven.GetInPort( 'Gate' )
- OIsNotEvenOdd = IsNotEven.OutPort( 'Odd' , 'long' )
- OIsNotEvenGate = IsNotEven.GetOutPort( 'Gate' )
-
- PyIsOdddefault = []
- PyIsOdddefault.append( 'from time import * ' )
- PyIsOdddefault.append( 'def IsOdddefault(a) : ' )
- PyIsOdddefault.append( ' sleep(1) ' )
- PyIsOdddefault.append( ' return a,0 ' )
- PyIsOdddefault.append( ' ' )
- IsOdddefault = GraphLoopSwitchsBranchesdefault.INode( 'IsOdddefault' , PyIsOdddefault )
- IsOdddefault.SetName( 'IsOdddefault' )
- IsOdddefault.SetAuthor( '' )
- IsOdddefault.SetComment( 'Compute Node' )
- IsOdddefault.Coords( 477 , 285 )
- IIsOdddefaulta = IsOdddefault.InPort( 'a' , 'long' )
- IIsOdddefaultGate = IsOdddefault.GetInPort( 'Gate' )
- OIsOdddefaulta = IsOdddefault.OutPort( 'a' , 'long' )
- OIsOdddefaultOdd = IsOdddefault.OutPort( 'Odd' , 'long' )
- OIsOdddefaultGate = IsOdddefault.GetOutPort( 'Gate' )
-
- PyIsEvendefault = []
- PyIsEvendefault.append( 'from time import * ' )
- PyIsEvendefault.append( 'def IsEvendefault(a) : ' )
- PyIsEvendefault.append( ' sleep(1) ' )
- PyIsEvendefault.append( ' return a,0 ' )
- PyIsEvendefault.append( ' ' )
- IsEvendefault = GraphLoopSwitchsBranchesdefault.INode( 'IsEvendefault' , PyIsEvendefault )
- IsEvendefault.SetName( 'IsEvendefault' )
- IsEvendefault.SetAuthor( '' )
- IsEvendefault.SetComment( 'Compute Node' )
- IsEvendefault.Coords( 478 , 434 )
- IIsEvendefaulta = IsEvendefault.InPort( 'a' , 'long' )
- IIsEvendefaultGate = IsEvendefault.GetInPort( 'Gate' )
- OIsEvendefaulta = IsEvendefault.OutPort( 'a' , 'long' )
- OIsEvendefaultEven = IsEvendefault.OutPort( 'Even' , 'long' )
- OIsEvendefaultGate = IsEvendefault.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoop = []
- PyLoop.append( 'def InitLoop(Index,Min,Max) : ' )
- PyLoop.append( ' Index = Max ' )
- PyLoop.append( ' return Index,Min,Max ' )
- PyMoreLoop = []
- PyMoreLoop.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreLoop.append( ' if Index >= Min : ' )
- PyMoreLoop.append( ' DoLoop = 1 ' )
- PyMoreLoop.append( ' else : ' )
- PyMoreLoop.append( ' DoLoop = 0 ' )
- PyMoreLoop.append( ' return DoLoop,Index,Min,Max ' )
- PyNextLoop = []
- PyNextLoop.append( 'def NextLoop(Index,Min,Max) : ' )
- PyNextLoop.append( ' Index = Index - 1 ' )
- PyNextLoop.append( ' return Index,Min,Max ' )
- Loop,EndOfLoop = GraphLoopSwitchsBranchesdefault.LNode( 'InitLoop' , PyLoop , 'MoreLoop' , PyMoreLoop , 'NextLoop' , PyNextLoop )
- EndOfLoop.SetName( 'EndOfLoop' )
- EndOfLoop.SetAuthor( '' )
- EndOfLoop.SetComment( 'Compute Node' )
- EndOfLoop.Coords( 1097 , 309 )
- PyEndOfLoop = []
- EndOfLoop.SetPyFunction( '' , PyEndOfLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMin = Loop.InPort( 'Min' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMin = Loop.GetOutPort( 'Min' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- IEndOfLoopDoLoop = EndOfLoop.GetInPort( 'DoLoop' )
- IEndOfLoopIndex = EndOfLoop.GetInPort( 'Index' )
- IEndOfLoopMin = EndOfLoop.GetInPort( 'Min' )
- IEndOfLoopMax = EndOfLoop.GetInPort( 'Max' )
- IEndOfLoopGate = EndOfLoop.GetInPort( 'Gate' )
- OEndOfLoopDoLoop = EndOfLoop.GetOutPort( 'DoLoop' )
- OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
- OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
- OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
- OEndOfLoopGate = EndOfLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 18 , 389 )
-
- # Creation of Switch Nodes
- PySwitchOdd = []
- PySwitchOdd.append( 'from time import * ' )
- PySwitchOdd.append( 'def SwitchOdd(a) : ' )
- PySwitchOdd.append( ' sleep(1) ' )
- PySwitchOdd.append( ' if a <= 0 : ' )
- PySwitchOdd.append( ' OddEven = '<=0' ' )
- PySwitchOdd.append( ' return 0,0,0,a,OddEven ' )
- PySwitchOdd.append( ' OddEven = 'Odd' ' )
- PySwitchOdd.append( ' if (a&1) == 0 : ' )
- PySwitchOdd.append( ' OddEven = 'Even' ' )
- PySwitchOdd.append( ' return a & 1,1-(a&1),1-(a&1),a,OddEven ' )
- SwitchOdd,EndOfSwitchOdd = GraphLoopSwitchsBranchesdefault.SNode( 'SwitchOdd' , PySwitchOdd )
- EndOfSwitchOdd.SetName( 'EndOfSwitchOdd' )
- EndOfSwitchOdd.SetAuthor( '' )
- EndOfSwitchOdd.SetComment( 'Compute Node' )
- EndOfSwitchOdd.Coords( 718 , 162 )
- PyEndOfSwitchOdd = []
- PyEndOfSwitchOdd.append( 'from time import * ' )
- PyEndOfSwitchOdd.append( 'def EndOfSwitchOdd(a,Odd,Even,OddEven) : ' )
- PyEndOfSwitchOdd.append( ' sleep(1) ' )
- PyEndOfSwitchOdd.append( ' return a,Odd ' )
- EndOfSwitchOdd.SetPyFunction( 'EndOfSwitchOdd' , PyEndOfSwitchOdd )
- IEndOfSwitchOdda = EndOfSwitchOdd.InPort( 'a' , 'long' )
- IEndOfSwitchOddOdd = EndOfSwitchOdd.InPort( 'Odd' , 'boolean' )
- IEndOfSwitchOddEven = EndOfSwitchOdd.InPort( 'Even' , 'long' )
- IEndOfSwitchOddOddEven = EndOfSwitchOdd.InPort( 'OddEven' , 'boolean' )
- IEndOfSwitchOddDefault = EndOfSwitchOdd.GetInPort( 'Default' )
- OEndOfSwitchOdda = EndOfSwitchOdd.OutPort( 'a' , 'long' )
- OEndOfSwitchOddOdd = EndOfSwitchOdd.OutPort( 'Odd' , 'boolean' )
- OEndOfSwitchOddGate = EndOfSwitchOdd.GetOutPort( 'Gate' )
- SwitchOdd.SetName( 'SwitchOdd' )
- SwitchOdd.SetAuthor( '' )
- SwitchOdd.SetComment( 'Compute Node' )
- SwitchOdd.Coords( 240 , 142 )
- ISwitchOdda = SwitchOdd.InPort( 'a' , 'long' )
- ISwitchOddGate = SwitchOdd.GetInPort( 'Gate' )
- OSwitchOddOdd = SwitchOdd.OutPort( 'Odd' , 'long' )
- OSwitchOddEven = SwitchOdd.OutPort( 'Even' , 'int' )
- OSwitchOdddefault = SwitchOdd.OutPort( 'default' , 'long' )
- OSwitchOdda = SwitchOdd.OutPort( 'a' , 'long' )
- OSwitchOddOddEven = SwitchOdd.OutPort( 'OddEven' , 'string' )
- OSwitchOddDefault = SwitchOdd.GetOutPort( 'Default' )
-
- PySwitchEven = []
- PySwitchEven.append( 'from time import * ' )
- PySwitchEven.append( 'def SwitchEven(a) : ' )
- PySwitchEven.append( ' sleep(1) ' )
- PySwitchEven.append( ' if a <= 0 : ' )
- PySwitchEven.append( ' OddEven = '<=0' ' )
- PySwitchEven.append( ' return 0,0,0,a,OddEven ' )
- PySwitchEven.append( ' OddEven = 'Even' ' )
- PySwitchEven.append( ' if (a&1) != 0 : ' )
- PySwitchEven.append( ' OddEven = 'Odd' ' )
- PySwitchEven.append( ' print (a&1),1-(a&1),(a&1),a,OddEven ' )
- PySwitchEven.append( ' return (a&1),1-(a&1),(a&1),a,OddEven ' )
- SwitchEven,EndOfSwitchEven = GraphLoopSwitchsBranchesdefault.SNode( 'SwitchEven' , PySwitchEven )
- EndOfSwitchEven.SetName( 'EndOfSwitchEven' )
- EndOfSwitchEven.SetAuthor( '' )
- EndOfSwitchEven.SetComment( 'Compute Node' )
- EndOfSwitchEven.Coords( 721 , 477 )
- PyEndOfSwitchEven = []
- PyEndOfSwitchEven.append( 'from time import * ' )
- PyEndOfSwitchEven.append( 'def EndOfSwitchEven(a,Even,Odd,OddEven) : ' )
- PyEndOfSwitchEven.append( ' sleep(1) ' )
- PyEndOfSwitchEven.append( ' return a,Even ' )
- EndOfSwitchEven.SetPyFunction( 'EndOfSwitchEven' , PyEndOfSwitchEven )
- IEndOfSwitchEvena = EndOfSwitchEven.InPort( 'a' , 'long' )
- IEndOfSwitchEvenEven = EndOfSwitchEven.InPort( 'Even' , 'boolean' )
- IEndOfSwitchEvenOdd = EndOfSwitchEven.InPort( 'Odd' , 'long' )
- IEndOfSwitchEvenOddEven = EndOfSwitchEven.InPort( 'OddEven' , 'string' )
- IEndOfSwitchEvenDefault = EndOfSwitchEven.GetInPort( 'Default' )
- OEndOfSwitchEvena = EndOfSwitchEven.OutPort( 'a' , 'long' )
- OEndOfSwitchEvenEven = EndOfSwitchEven.OutPort( 'Even' , 'boolean' )
- OEndOfSwitchEvenGate = EndOfSwitchEven.GetOutPort( 'Gate' )
- SwitchEven.SetName( 'SwitchEven' )
- SwitchEven.SetAuthor( '' )
- SwitchEven.SetComment( 'Compute Node' )
- SwitchEven.Coords( 230 , 457 )
- ISwitchEvena = SwitchEven.InPort( 'a' , 'long' )
- ISwitchEvenGate = SwitchEven.GetInPort( 'Gate' )
- OSwitchEvenOdd = SwitchEven.OutPort( 'Odd' , 'long' )
- OSwitchEvenEven = SwitchEven.OutPort( 'Even' , 'int' )
- OSwitchEvendefault = SwitchEven.OutPort( 'default' , 'long' )
- OSwitchEvena = SwitchEven.OutPort( 'a' , 'int' )
- OSwitchEvenOddEven = SwitchEven.OutPort( 'OddEven' , 'string' )
- OSwitchEvenDefault = SwitchEven.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitchOdda = GraphLoopSwitchsBranchesdefault.Link( OIsOdda , IEndOfSwitchOdda )
-
- LIsOddOddEndOfSwitchOddOdd = GraphLoopSwitchsBranchesdefault.Link( OIsOddOdd , IEndOfSwitchOddOdd )
-
- LSwitchOddOddIsOddGate = GraphLoopSwitchsBranchesdefault.Link( OSwitchOddOdd , IIsOddGate )
-
- LSwitchOddEvenIsNotOddEven = GraphLoopSwitchsBranchesdefault.Link( OSwitchOddEven , IIsNotOddEven )
-
- LSwitchOdddefaultIsOdddefaultGate = GraphLoopSwitchsBranchesdefault.Link( OSwitchOdddefault , IIsOdddefaultGate )
-
- LSwitchOddaIsOdddefaulta = GraphLoopSwitchsBranchesdefault.Link( OSwitchOdda , IIsOdddefaulta )
-
- LSwitchOddaIsOdda = GraphLoopSwitchsBranchesdefault.Link( OSwitchOdda , IIsOdda )
-
- LSwitchOddOddEvenEndOfSwitchOddOddEven = GraphLoopSwitchsBranchesdefault.Link( OSwitchOddOddEven , IEndOfSwitchOddOddEven )
-
- LSwitchOddDefaultEndOfSwitchOddDefault = GraphLoopSwitchsBranchesdefault.Link( OSwitchOddDefault , IEndOfSwitchOddDefault )
-
- LEndOfSwitchOddaSwitchsCompareaOdd = GraphLoopSwitchsBranchesdefault.Link( OEndOfSwitchOdda , ISwitchsCompareaOdd )
-
- LEndOfSwitchOddOddSwitchsCompareOdd = GraphLoopSwitchsBranchesdefault.Link( OEndOfSwitchOddOdd , ISwitchsCompareOdd )
-
- LIsEvenaEndOfSwitchEvena = GraphLoopSwitchsBranchesdefault.Link( OIsEvena , IEndOfSwitchEvena )
-
- LIsEvenEvenEndOfSwitchEvenEven = GraphLoopSwitchsBranchesdefault.Link( OIsEvenEven , IEndOfSwitchEvenEven )
-
- LLoopIndexSwitchsCompareIndex = GraphLoopSwitchsBranchesdefault.Link( OLoopIndex , ISwitchsCompareIndex )
-
- LLoopIndexSwitchOdda = GraphLoopSwitchsBranchesdefault.Link( OLoopIndex , ISwitchOdda )
-
- LLoopIndexSwitchEvena = GraphLoopSwitchsBranchesdefault.Link( OLoopIndex , ISwitchEvena )
-
- LLoopMinEndOfLoopMin = GraphLoopSwitchsBranchesdefault.Link( OLoopMin , IEndOfLoopMin )
-
- LLoopMaxEndOfLoopMax = GraphLoopSwitchsBranchesdefault.Link( OLoopMax , IEndOfLoopMax )
-
- LSwitchEvenOddIsNotEvenOdd = GraphLoopSwitchsBranchesdefault.Link( OSwitchEvenOdd , IIsNotEvenOdd )
-
- LSwitchEvenEvenIsEvenGate = GraphLoopSwitchsBranchesdefault.Link( OSwitchEvenEven , IIsEvenGate )
-
- LSwitchEvendefaultIsEvendefaultGate = GraphLoopSwitchsBranchesdefault.Link( OSwitchEvendefault , IIsEvendefaultGate )
-
- LSwitchEvenaIsEvena = GraphLoopSwitchsBranchesdefault.Link( OSwitchEvena , IIsEvena )
-
- LSwitchEvenaIsEvendefaulta = GraphLoopSwitchsBranchesdefault.Link( OSwitchEvena , IIsEvendefaulta )
-
- LSwitchEvenOddEvenEndOfSwitchEvenOddEven = GraphLoopSwitchsBranchesdefault.Link( OSwitchEvenOddEven , IEndOfSwitchEvenOddEven )
-
- LSwitchEvenDefaultEndOfSwitchEvenDefault = GraphLoopSwitchsBranchesdefault.Link( OSwitchEvenDefault , IEndOfSwitchEvenDefault )
-
- LEndOfSwitchEvenaSwitchsCompareaEven = GraphLoopSwitchsBranchesdefault.Link( OEndOfSwitchEvena , ISwitchsCompareaEven )
-
- LEndOfSwitchEvenEvenSwitchsCompareEven = GraphLoopSwitchsBranchesdefault.Link( OEndOfSwitchEvenEven , ISwitchsCompareEven )
-
- LSwitchsCompareIndexEndOfLoopIndex = GraphLoopSwitchsBranchesdefault.Link( OSwitchsCompareIndex , IEndOfLoopIndex )
-
- LIsNotOddEvenEndOfSwitchOddEven = GraphLoopSwitchsBranchesdefault.Link( OIsNotOddEven , IEndOfSwitchOddEven )
-
- LIsNotEvenOddEndOfSwitchEvenOdd = GraphLoopSwitchsBranchesdefault.Link( OIsNotEvenOdd , IEndOfSwitchEvenOdd )
-
- LIsOdddefaultaEndOfSwitchOdda = GraphLoopSwitchsBranchesdefault.Link( OIsOdddefaulta , IEndOfSwitchOdda )
-
- LIsOdddefaultOddEndOfSwitchOddOdd = GraphLoopSwitchsBranchesdefault.Link( OIsOdddefaultOdd , IEndOfSwitchOddOdd )
-
- LIsEvendefaultaEndOfSwitchEvena = GraphLoopSwitchsBranchesdefault.Link( OIsEvendefaulta , IEndOfSwitchEvena )
-
- LIsEvendefaultEvenEndOfSwitchEvenEven = GraphLoopSwitchsBranchesdefault.Link( OIsEvendefaultEven , IEndOfSwitchEvenEven )
-
- # Input datas
- ILoopIndex.Input( 0 )
- ILoopMin.Input( -5 )
- ILoopMax.Input( 23 )
-
- # Output Ports of the graph
- #OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
- #OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
- #OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
- return GraphLoopSwitchsBranchesdefault
-
-
-GraphLoopSwitchsBranchesdefault = DefGraphLoopSwitchsBranchesdefault()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopSwitchsNOTValid
-#
-from SuperV import *
-
-# Graph creation of GraphLoopSwitchsNOTValid
-def DefGraphLoopSwitchsNOTValid() :
- GraphLoopSwitchsNOTValid = Graph( 'GraphLoopSwitchsNOTValid' )
- GraphLoopSwitchsNOTValid.SetName( 'GraphLoopSwitchsNOTValid' )
- GraphLoopSwitchsNOTValid.SetAuthor( 'JR' )
- GraphLoopSwitchsNOTValid.SetComment( '' )
- GraphLoopSwitchsNOTValid.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a) : ' )
- PyIsOdd.append( ' print a,"IsOdd" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphLoopSwitchsNOTValid.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 476 , 50 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven(a) : ' )
- PyIsEven.append( ' print a,"IsEven" ' )
- PyIsEven.append( ' sleep( 1 ) ' )
- PyIsEven.append( ' return a ' )
- IsEven = GraphLoopSwitchsNOTValid.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Python function' )
- IsEven.Coords( 479 , 311 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PySwitchsCompare = []
- PySwitchsCompare.append( 'def SwitchsCompare(aOdd,Odd,aEven,Even) : ' )
- PySwitchsCompare.append( ' return a ' )
- SwitchsCompare = GraphLoopSwitchsNOTValid.INode( 'SwitchsCompare' , PySwitchsCompare )
- SwitchsCompare.SetName( 'SwitchsCompare' )
- SwitchsCompare.SetAuthor( '' )
- SwitchsCompare.SetComment( 'Compute Node' )
- SwitchsCompare.Coords( 919 , 242 )
- ISwitchsCompareaOdd = SwitchsCompare.InPort( 'aOdd' , 'long' )
- ISwitchsCompareOdd = SwitchsCompare.InPort( 'Odd' , 'boolean' )
- ISwitchsCompareaEven = SwitchsCompare.InPort( 'aEven' , 'long' )
- ISwitchsCompareEven = SwitchsCompare.InPort( 'Even' , 'boolean' )
- ISwitchsCompareGate = SwitchsCompare.GetInPort( 'Gate' )
- OSwitchsComparea = SwitchsCompare.OutPort( 'a' , 'long' )
- OSwitchsCompareGate = SwitchsCompare.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoop = []
- PyLoop.append( 'def InitLoop(Index,Min,Max) : ' )
- PyLoop.append( ' return Index,Min,Max ' )
- PyMoreLoop = []
- PyMoreLoop.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreLoop.append( ' if Index <= Max : ' )
- PyMoreLoop.append( ' DoLoop = 1 ' )
- PyMoreLoop.append( ' else : ' )
- PyMoreLoop.append( ' DoLoop = 0 ' )
- PyMoreLoop.append( ' return DoLoop,Index,Min,Max ' )
- PyNextLoop = []
- PyNextLoop.append( 'def NextLoop(Index,Min,Max) : ' )
- PyNextLoop.append( ' Index = Index + 1 ' )
- PyNextLoop.append( ' return Index,Min,Max ' )
- Loop,EndOfLoop = GraphLoopSwitchsNOTValid.LNode( 'InitLoop' , PyLoop , 'MoreLoop' , PyMoreLoop , 'NextLoop' , PyNextLoop )
- EndOfLoop.SetName( 'EndOfLoop' )
- EndOfLoop.SetAuthor( '' )
- EndOfLoop.SetComment( 'Compute Node' )
- EndOfLoop.Coords( 1102 , 282 )
- PyEndOfLoop = []
- EndOfLoop.SetPyFunction( '' , PyEndOfLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMin = Loop.InPort( 'Min' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMin = Loop.GetOutPort( 'Min' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- IEndOfLoopDoLoop = EndOfLoop.GetInPort( 'DoLoop' )
- IEndOfLoopIndex = EndOfLoop.GetInPort( 'Index' )
- IEndOfLoopMin = EndOfLoop.GetInPort( 'Min' )
- IEndOfLoopMax = EndOfLoop.GetInPort( 'Max' )
- IEndOfLoopGate = EndOfLoop.GetInPort( 'Gate' )
- OEndOfLoopDoLoop = EndOfLoop.GetOutPort( 'DoLoop' )
- OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
- OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
- OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
- OEndOfLoopGate = EndOfLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 12 , 276 )
-
- # Creation of Switch Nodes
- PySwitchOdd = []
- PySwitchOdd.append( 'from time import * ' )
- PySwitchOdd.append( 'def Switch(a) : ' )
- PySwitchOdd.append( ' if ( a & 1 ) == 0 : ' )
- PySwitchOdd.append( ' sleep(1) ' )
- PySwitchOdd.append( ' return a & 1,1-(a&1),a ' )
- SwitchOdd,EndOfSwitchOdd = GraphLoopSwitchsNOTValid.SNode( 'Switch' , PySwitchOdd )
- EndOfSwitchOdd.SetName( 'EndOfSwitchOdd' )
- EndOfSwitchOdd.SetAuthor( '' )
- EndOfSwitchOdd.SetComment( 'Compute Node' )
- EndOfSwitchOdd.Coords( 711 , 161 )
- PyEndOfSwitchOdd = []
- EndOfSwitchOdd.SetPyFunction( '' , PyEndOfSwitchOdd )
- IEndOfSwitchOdda = EndOfSwitchOdd.InPort( 'a' , 'long' )
- IEndOfSwitchOddOdd = EndOfSwitchOdd.InPort( 'Odd' , 'boolean' )
- IEndOfSwitchOddDefault = EndOfSwitchOdd.GetInPort( 'Default' )
- OEndOfSwitchOdda = EndOfSwitchOdd.OutPort( 'a' , 'long' )
- OEndOfSwitchOddOdd = EndOfSwitchOdd.OutPort( 'Odd' , 'boolean' )
- OEndOfSwitchOddGate = EndOfSwitchOdd.GetOutPort( 'Gate' )
- SwitchOdd.SetName( 'SwitchOdd' )
- SwitchOdd.SetAuthor( '' )
- SwitchOdd.SetComment( 'Compute Node' )
- SwitchOdd.Coords( 240 , 141 )
- ISwitchOdda = SwitchOdd.InPort( 'a' , 'long' )
- ISwitchOddGate = SwitchOdd.GetInPort( 'Gate' )
- OSwitchOddOdd = SwitchOdd.OutPort( 'Odd' , 'long' )
- OSwitchOddEven = SwitchOdd.OutPort( 'Even' , 'int' )
- OSwitchOdda = SwitchOdd.OutPort( 'a' , 'int' )
- OSwitchOddDefault = SwitchOdd.GetOutPort( 'Default' )
-
- PySwitchEven = []
- PySwitchEven.append( 'from time import * ' )
- PySwitchEven.append( 'def Switch(a) : ' )
- PySwitchEven.append( ' if ( a & 1 ) == 0 : ' )
- PySwitchEven.append( ' sleep(1) ' )
- PySwitchEven.append( ' return a & 1,1-(a&1),a ' )
- SwitchEven,EndOfSwitchEven = GraphLoopSwitchsNOTValid.SNode( 'Switch' , PySwitchEven )
- EndOfSwitchEven.SetName( 'EndOfSwitchEven' )
- EndOfSwitchEven.SetAuthor( '' )
- EndOfSwitchEven.SetComment( 'Compute Node' )
- EndOfSwitchEven.Coords( 718 , 361 )
- PyEndOfSwitchEven = []
- EndOfSwitchEven.SetPyFunction( '' , PyEndOfSwitchEven )
- IEndOfSwitchEvena = EndOfSwitchEven.InPort( 'a' , 'long' )
- IEndOfSwitchEvenEven = EndOfSwitchEven.InPort( 'Even' , 'boolean' )
- IEndOfSwitchEvenDefault = EndOfSwitchEven.GetInPort( 'Default' )
- OEndOfSwitchEvena = EndOfSwitchEven.OutPort( 'a' , 'long' )
- OEndOfSwitchEvenEven = EndOfSwitchEven.OutPort( 'Even' , 'boolean' )
- OEndOfSwitchEvenGate = EndOfSwitchEven.GetOutPort( 'Gate' )
- SwitchEven.SetName( 'SwitchEven' )
- SwitchEven.SetAuthor( '' )
- SwitchEven.SetComment( 'Compute Node' )
- SwitchEven.Coords( 235 , 386 )
- ISwitchEvena = SwitchEven.InPort( 'a' , 'long' )
- ISwitchEvenGate = SwitchEven.GetInPort( 'Gate' )
- OSwitchEvenOdd = SwitchEven.OutPort( 'Odd' , 'long' )
- OSwitchEvenEven = SwitchEven.OutPort( 'Even' , 'int' )
- OSwitchEvena = SwitchEven.OutPort( 'a' , 'int' )
- OSwitchEvenDefault = SwitchEven.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitchOdda = GraphLoopSwitchsNOTValid.Link( OIsOdda , IEndOfSwitchOdda )
-
- LSwitchOddOddIsOddGate = GraphLoopSwitchsNOTValid.Link( OSwitchOddOdd , IIsOddGate )
-
- LSwitchOddOddEndOfSwitchOddOdd = GraphLoopSwitchsNOTValid.Link( OSwitchOddOdd , IEndOfSwitchOddOdd )
-
- LSwitchOddaIsOdda = GraphLoopSwitchsNOTValid.Link( OSwitchOdda , IIsOdda )
- LSwitchOddaIsOdda.AddCoord( 1 , 443 , 121 )
- LSwitchOddaIsOdda.AddCoord( 2 , 443 , 212 )
-
- LSwitchOddDefaultEndOfSwitchOddDefault = GraphLoopSwitchsNOTValid.Link( OSwitchOddDefault , IEndOfSwitchOddDefault )
-
- LEndOfSwitchOddaSwitchsCompareaOdd = GraphLoopSwitchsNOTValid.Link( OEndOfSwitchOdda , ISwitchsCompareaOdd )
-
- LEndOfSwitchOddOddSwitchsCompareOdd = GraphLoopSwitchsNOTValid.Link( OEndOfSwitchOddOdd , ISwitchsCompareOdd )
-
- LIsEvenaEndOfSwitchEvena = GraphLoopSwitchsNOTValid.Link( OIsEvena , IEndOfSwitchEvena )
-
- LLoopIndexSwitchEvena = GraphLoopSwitchsNOTValid.Link( OLoopIndex , ISwitchEvena )
-
- LLoopIndexSwitchOdda = GraphLoopSwitchsNOTValid.Link( OLoopIndex , ISwitchOdda )
-
- LLoopMinEndOfLoopMin = GraphLoopSwitchsNOTValid.Link( OLoopMin , IEndOfLoopMin )
-
- LLoopMaxEndOfLoopMax = GraphLoopSwitchsNOTValid.Link( OLoopMax , IEndOfLoopMax )
-
- LSwitchEvenOddIsEvenGate = GraphLoopSwitchsNOTValid.Link( OSwitchEvenOdd , IIsEvenGate )
-
- LSwitchEvenEvenEndOfSwitchEvenDefault = GraphLoopSwitchsNOTValid.Link( OSwitchEvenEven , IEndOfSwitchEvenDefault )
-
- LSwitchEvenaIsEvena = GraphLoopSwitchsNOTValid.Link( OSwitchEvena , IIsEvena )
- LSwitchEvenaIsEvena.AddCoord( 1 , 434 , 382 )
- LSwitchEvenaIsEvena.AddCoord( 2 , 434 , 457 )
-
- LEndOfSwitchEvenaSwitchsCompareaEven = GraphLoopSwitchsNOTValid.Link( OEndOfSwitchEvena , ISwitchsCompareaEven )
-
- LEndOfSwitchEvenEvenSwitchsCompareEven = GraphLoopSwitchsNOTValid.Link( OEndOfSwitchEvenEven , ISwitchsCompareEven )
-
- LSwitchsCompareaEndOfLoopIndex = GraphLoopSwitchsNOTValid.Link( OSwitchsComparea , IEndOfLoopIndex )
-
- # Input datas
- ILoopIndex.Input( 0 )
- ILoopMin.Input( 0 )
- ILoopMax.Input( 100 )
-
- # Input Ports of the graph
- #IEndOfSwitchEvenEven = EndOfSwitchEven.GetInPort( 'Even' )
-
- # Output Ports of the graph
- #OSwitchOddEven = SwitchOdd.GetOutPort( 'Even' )
- #OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
- #OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
- #OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
- return GraphLoopSwitchsNOTValid
-
-
-GraphLoopSwitchsNOTValid = DefGraphLoopSwitchsNOTValid()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopTwoBranches_1
-#
-from SuperV import *
-
-# Graph creation of GraphLoopTwoBranches_1
-def DefGraphLoopTwoBranches_1() :
- GraphLoopTwoBranches_1 = Graph( 'GraphLoopTwoBranches_1' )
- GraphLoopTwoBranches_1.SetName( 'GraphLoopTwoBranches_1' )
- GraphLoopTwoBranches_1.SetAuthor( '' )
- GraphLoopTwoBranches_1.SetComment( '' )
- GraphLoopTwoBranches_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a) : ' )
- PyIsOdd.append( ' print a,"IsOdd" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a,1 ' )
- IsOdd = GraphLoopTwoBranches_1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 476 , 2 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddOdd = IsOdd.OutPort( 'Odd' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven(a) : ' )
- PyIsEven.append( ' print a,"IsEven" ' )
- PyIsEven.append( ' sleep( 1 ) ' )
- PyIsEven.append( ' return a,1 ' )
- IsEven = GraphLoopTwoBranches_1.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Python function' )
- IsEven.Coords( 472 , 724 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenEven = IsEven.OutPort( 'Even' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyIsNotOdd = []
- PyIsNotOdd.append( 'from time import * ' )
- PyIsNotOdd.append( 'def IsNotOdd(Even) : ' )
- PyIsNotOdd.append( ' sleep(1) ' )
- PyIsNotOdd.append( ' return Even ' )
- IsNotOdd = GraphLoopTwoBranches_1.INode( 'IsNotOdd' , PyIsNotOdd )
- IsNotOdd.SetName( 'IsNotOdd' )
- IsNotOdd.SetAuthor( '' )
- IsNotOdd.SetComment( 'Compute Node' )
- IsNotOdd.Coords( 477 , 137 )
- IIsNotOddEven = IsNotOdd.InPort( 'Even' , 'long' )
- IIsNotOddGate = IsNotOdd.GetInPort( 'Gate' )
- OIsNotOddEven = IsNotOdd.OutPort( 'Even' , 'long' )
- OIsNotOddGate = IsNotOdd.GetOutPort( 'Gate' )
-
- PyIsNotEven = []
- PyIsNotEven.append( 'from time import * ' )
- PyIsNotEven.append( 'def IsNotEven(Odd) : ' )
- PyIsNotEven.append( ' sleep(1) ' )
- PyIsNotEven.append( ' return Odd ' )
- IsNotEven = GraphLoopTwoBranches_1.INode( 'IsNotEven' , PyIsNotEven )
- IsNotEven.SetName( 'IsNotEven' )
- IsNotEven.SetAuthor( '' )
- IsNotEven.SetComment( 'Compute Node' )
- IsNotEven.Coords( 475 , 601 )
- IIsNotEvenOdd = IsNotEven.InPort( 'Odd' , 'long' )
- IIsNotEvenGate = IsNotEven.GetInPort( 'Gate' )
- OIsNotEvenOdd = IsNotEven.OutPort( 'Odd' , 'long' )
- OIsNotEvenGate = IsNotEven.GetOutPort( 'Gate' )
-
- PyIsOdddefault = []
- PyIsOdddefault.append( 'from time import * ' )
- PyIsOdddefault.append( 'def IsOdddefault(a) : ' )
- PyIsOdddefault.append( ' sleep(1) ' )
- PyIsOdddefault.append( ' return a,0 ' )
- PyIsOdddefault.append( '' )
- IsOdddefault = GraphLoopTwoBranches_1.INode( 'IsOdddefault' , PyIsOdddefault )
- IsOdddefault.SetName( 'IsOdddefault' )
- IsOdddefault.SetAuthor( '' )
- IsOdddefault.SetComment( 'Compute Node' )
- IsOdddefault.Coords( 477 , 285 )
- IIsOdddefaulta = IsOdddefault.InPort( 'a' , 'long' )
- IIsOdddefaultGate = IsOdddefault.GetInPort( 'Gate' )
- OIsOdddefaulta = IsOdddefault.OutPort( 'a' , 'long' )
- OIsOdddefaultOdd = IsOdddefault.OutPort( 'Odd' , 'long' )
- OIsOdddefaultGate = IsOdddefault.GetOutPort( 'Gate' )
-
- PyIsEvendefault = []
- PyIsEvendefault.append( 'from time import * ' )
- PyIsEvendefault.append( 'def IsEvendefault(a) : ' )
- PyIsEvendefault.append( ' sleep(1) ' )
- PyIsEvendefault.append( ' return a,0 ' )
- PyIsEvendefault.append( '' )
- IsEvendefault = GraphLoopTwoBranches_1.INode( 'IsEvendefault' , PyIsEvendefault )
- IsEvendefault.SetName( 'IsEvendefault' )
- IsEvendefault.SetAuthor( '' )
- IsEvendefault.SetComment( 'Compute Node' )
- IsEvendefault.Coords( 478 , 434 )
- IIsEvendefaulta = IsEvendefault.InPort( 'a' , 'long' )
- IIsEvendefaultGate = IsEvendefault.GetInPort( 'Gate' )
- OIsEvendefaulta = IsEvendefault.OutPort( 'a' , 'long' )
- OIsEvendefaultEven = IsEvendefault.OutPort( 'Even' , 'long' )
- OIsEvendefaultGate = IsEvendefault.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoop = []
- PyLoop.append( 'def InitLoop(Index,Min,Max) : ' )
- PyLoop.append( ' Index = Max ' )
- PyLoop.append( ' return Index,Min,Max ' )
- PyMoreLoop = []
- PyMoreLoop.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreLoop.append( ' if Index >= Min : ' )
- PyMoreLoop.append( ' DoLoop = 1 ' )
- PyMoreLoop.append( ' else : ' )
- PyMoreLoop.append( ' DoLoop = 0 ' )
- PyMoreLoop.append( ' return DoLoop,Index,Min,Max ' )
- PyNextLoop = []
- PyNextLoop.append( 'def NextLoop(Index,Min,Max) : ' )
- PyNextLoop.append( ' Index = Index - 1 ' )
- PyNextLoop.append( ' return Index,Min,Max ' )
- Loop,EndOfLoop = GraphLoopTwoBranches_1.LNode( 'InitLoop' , PyLoop , 'MoreLoop' , PyMoreLoop , 'NextLoop' , PyNextLoop )
- EndOfLoop.SetName( 'EndOfLoop' )
- EndOfLoop.SetAuthor( '' )
- EndOfLoop.SetComment( 'Compute Node' )
- EndOfLoop.Coords( 1097 , 309 )
- PyEndOfLoop = []
- EndOfLoop.SetPyFunction( '' , PyEndOfLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMin = Loop.InPort( 'Min' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMin = Loop.GetOutPort( 'Min' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- IEndOfLoopDoLoop = EndOfLoop.GetInPort( 'DoLoop' )
- IEndOfLoopIndex = EndOfLoop.GetInPort( 'Index' )
- IEndOfLoopMin = EndOfLoop.GetInPort( 'Min' )
- IEndOfLoopMax = EndOfLoop.GetInPort( 'Max' )
- IEndOfLoopGate = EndOfLoop.GetInPort( 'Gate' )
- OEndOfLoopDoLoop = EndOfLoop.GetOutPort( 'DoLoop' )
- OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
- OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
- OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
- OEndOfLoopGate = EndOfLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 18 , 389 )
-
- # Creation of Switch Nodes
- PySwitchOdd = []
- PySwitchOdd.append( 'from time import * ' )
- PySwitchOdd.append( 'def SwitchOdd(a) : ' )
- PySwitchOdd.append( ' sleep(1) ' )
- PySwitchOdd.append( ' if a <= 0 : ' )
- PySwitchOdd.append( ' OddEven = '<=0' ' )
- PySwitchOdd.append( ' return 0,0,0,a,OddEven ' )
- PySwitchOdd.append( ' OddEven = 'Odd' ' )
- PySwitchOdd.append( ' if (a&1) == 0 : ' )
- PySwitchOdd.append( ' OddEven = 'Even' ' )
- PySwitchOdd.append( ' return a & 1,1-(a&1),1-(a&1),a,OddEven ' )
- SwitchOdd,EndOfSwitchOdd = GraphLoopTwoBranches_1.SNode( 'SwitchOdd' , PySwitchOdd )
- EndOfSwitchOdd.SetName( 'EndOfSwitchOdd' )
- EndOfSwitchOdd.SetAuthor( '' )
- EndOfSwitchOdd.SetComment( 'Compute Node' )
- EndOfSwitchOdd.Coords( 718 , 162 )
- PyEndOfSwitchOdd = []
- PyEndOfSwitchOdd.append( 'from time import * ' )
- PyEndOfSwitchOdd.append( 'def EndOfSwitchOdd(a,Odd,Even,OddEven) : ' )
- PyEndOfSwitchOdd.append( ' sleep(1) ' )
- PyEndOfSwitchOdd.append( ' return a,Odd ' )
- EndOfSwitchOdd.SetPyFunction( 'EndOfSwitchOdd' , PyEndOfSwitchOdd )
- IEndOfSwitchOdda = EndOfSwitchOdd.InPort( 'a' , 'long' )
- IEndOfSwitchOddOdd = EndOfSwitchOdd.InPort( 'Odd' , 'boolean' )
- IEndOfSwitchOddEven = EndOfSwitchOdd.InPort( 'Even' , 'long' )
- IEndOfSwitchOddOddEven = EndOfSwitchOdd.InPort( 'OddEven' , 'boolean' )
- IEndOfSwitchOddDefault = EndOfSwitchOdd.GetInPort( 'Default' )
- OEndOfSwitchOdda = EndOfSwitchOdd.OutPort( 'a' , 'long' )
- OEndOfSwitchOddOdd = EndOfSwitchOdd.OutPort( 'Odd' , 'boolean' )
- OEndOfSwitchOddGate = EndOfSwitchOdd.GetOutPort( 'Gate' )
- SwitchOdd.SetName( 'SwitchOdd' )
- SwitchOdd.SetAuthor( '' )
- SwitchOdd.SetComment( 'Compute Node' )
- SwitchOdd.Coords( 240 , 142 )
- ISwitchOdda = SwitchOdd.InPort( 'a' , 'long' )
- ISwitchOddGate = SwitchOdd.GetInPort( 'Gate' )
- OSwitchOddOdd = SwitchOdd.OutPort( 'Odd' , 'long' )
- OSwitchOddEven = SwitchOdd.OutPort( 'Even' , 'int' )
- OSwitchOdddefault = SwitchOdd.OutPort( 'default' , 'long' )
- OSwitchOdda = SwitchOdd.OutPort( 'a' , 'long' )
- OSwitchOddOddEven = SwitchOdd.OutPort( 'OddEven' , 'string' )
- OSwitchOddDefault = SwitchOdd.GetOutPort( 'Default' )
-
- PySwitchEven = []
- PySwitchEven.append( 'from time import * ' )
- PySwitchEven.append( 'def SwitchEven(a) : ' )
- PySwitchEven.append( ' sleep(1) ' )
- PySwitchEven.append( ' if a <= 0 : ' )
- PySwitchEven.append( ' OddEven = '<=0' ' )
- PySwitchEven.append( ' return 0,0,0,a,OddEven ' )
- PySwitchEven.append( ' OddEven = 'Even' ' )
- PySwitchEven.append( ' if (a&1) != 0 : ' )
- PySwitchEven.append( ' OddEven = 'Odd' ' )
- PySwitchEven.append( ' print (a&1),1-(a&1),(a&1),a,OddEven ' )
- PySwitchEven.append( ' return (a&1),1-(a&1),(a&1),a,OddEven ' )
- SwitchEven,EndOfSwitchEven = GraphLoopTwoBranches_1.SNode( 'SwitchEven' , PySwitchEven )
- EndOfSwitchEven.SetName( 'EndOfSwitchEven' )
- EndOfSwitchEven.SetAuthor( '' )
- EndOfSwitchEven.SetComment( 'Compute Node' )
- EndOfSwitchEven.Coords( 721 , 477 )
- PyEndOfSwitchEven = []
- PyEndOfSwitchEven.append( 'from time import * ' )
- PyEndOfSwitchEven.append( 'def EndOfSwitchEven(a,Even,Odd,OddEven) : ' )
- PyEndOfSwitchEven.append( ' sleep(1) ' )
- PyEndOfSwitchEven.append( ' return a,Even ' )
- EndOfSwitchEven.SetPyFunction( 'EndOfSwitchEven' , PyEndOfSwitchEven )
- IEndOfSwitchEvena = EndOfSwitchEven.InPort( 'a' , 'long' )
- IEndOfSwitchEvenEven = EndOfSwitchEven.InPort( 'Even' , 'boolean' )
- IEndOfSwitchEvenOdd = EndOfSwitchEven.InPort( 'Odd' , 'long' )
- IEndOfSwitchEvenOddEven = EndOfSwitchEven.InPort( 'OddEven' , 'string' )
- IEndOfSwitchEvenDefault = EndOfSwitchEven.GetInPort( 'Default' )
- OEndOfSwitchEvena = EndOfSwitchEven.OutPort( 'a' , 'long' )
- OEndOfSwitchEvenEven = EndOfSwitchEven.OutPort( 'Even' , 'boolean' )
- OEndOfSwitchEvenGate = EndOfSwitchEven.GetOutPort( 'Gate' )
- SwitchEven.SetName( 'SwitchEven' )
- SwitchEven.SetAuthor( '' )
- SwitchEven.SetComment( 'Compute Node' )
- SwitchEven.Coords( 230 , 457 )
- ISwitchEvena = SwitchEven.InPort( 'a' , 'long' )
- ISwitchEvenGate = SwitchEven.GetInPort( 'Gate' )
- OSwitchEvenOdd = SwitchEven.OutPort( 'Odd' , 'long' )
- OSwitchEvenEven = SwitchEven.OutPort( 'Even' , 'int' )
- OSwitchEvendefault = SwitchEven.OutPort( 'default' , 'long' )
- OSwitchEvena = SwitchEven.OutPort( 'a' , 'int' )
- OSwitchEvenOddEven = SwitchEven.OutPort( 'OddEven' , 'string' )
- OSwitchEvenDefault = SwitchEven.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitchOdda = GraphLoopTwoBranches_1.Link( OIsOdda , IEndOfSwitchOdda )
-
- LIsOddOddEndOfSwitchOddOdd = GraphLoopTwoBranches_1.Link( OIsOddOdd , IEndOfSwitchOddOdd )
-
- LSwitchOddOddIsOddGate = GraphLoopTwoBranches_1.Link( OSwitchOddOdd , IIsOddGate )
-
- LSwitchOddEvenIsNotOddEven = GraphLoopTwoBranches_1.Link( OSwitchOddEven , IIsNotOddEven )
-
- LSwitchOdddefaultIsOdddefaultGate = GraphLoopTwoBranches_1.Link( OSwitchOdddefault , IIsOdddefaultGate )
-
- LSwitchOddaIsOdddefaulta = GraphLoopTwoBranches_1.Link( OSwitchOdda , IIsOdddefaulta )
-
- LSwitchOddaIsOdda = GraphLoopTwoBranches_1.Link( OSwitchOdda , IIsOdda )
-
- LSwitchOddOddEvenEndOfSwitchOddOddEven = GraphLoopTwoBranches_1.Link( OSwitchOddOddEven , IEndOfSwitchOddOddEven )
-
- LSwitchOddDefaultEndOfSwitchOddDefault = GraphLoopTwoBranches_1.Link( OSwitchOddDefault , IEndOfSwitchOddDefault )
-
- LEndOfSwitchOddaEndOfLoopIndex = GraphLoopTwoBranches_1.Link( OEndOfSwitchOdda , IEndOfLoopIndex )
-
- LIsEvenaEndOfSwitchEvena = GraphLoopTwoBranches_1.Link( OIsEvena , IEndOfSwitchEvena )
-
- LIsEvenEvenEndOfSwitchEvenEven = GraphLoopTwoBranches_1.Link( OIsEvenEven , IEndOfSwitchEvenEven )
-
- LLoopIndexSwitchOdda = GraphLoopTwoBranches_1.Link( OLoopIndex , ISwitchOdda )
-
- LLoopIndexSwitchEvena = GraphLoopTwoBranches_1.Link( OLoopIndex , ISwitchEvena )
-
- LLoopMinEndOfLoopMin = GraphLoopTwoBranches_1.Link( OLoopMin , IEndOfLoopMin )
-
- LLoopMaxEndOfLoopMax = GraphLoopTwoBranches_1.Link( OLoopMax , IEndOfLoopMax )
-
- LSwitchEvenOddIsNotEvenOdd = GraphLoopTwoBranches_1.Link( OSwitchEvenOdd , IIsNotEvenOdd )
-
- LSwitchEvenEvenIsEvenGate = GraphLoopTwoBranches_1.Link( OSwitchEvenEven , IIsEvenGate )
-
- LSwitchEvendefaultIsEvendefaultGate = GraphLoopTwoBranches_1.Link( OSwitchEvendefault , IIsEvendefaultGate )
-
- LSwitchEvenaIsEvena = GraphLoopTwoBranches_1.Link( OSwitchEvena , IIsEvena )
-
- LSwitchEvenaIsEvendefaulta = GraphLoopTwoBranches_1.Link( OSwitchEvena , IIsEvendefaulta )
-
- LSwitchEvenOddEvenEndOfSwitchEvenOddEven = GraphLoopTwoBranches_1.Link( OSwitchEvenOddEven , IEndOfSwitchEvenOddEven )
-
- LSwitchEvenDefaultEndOfSwitchEvenDefault = GraphLoopTwoBranches_1.Link( OSwitchEvenDefault , IEndOfSwitchEvenDefault )
-
- LEndOfSwitchEvenGateEndOfLoopGate = GraphLoopTwoBranches_1.Link( OEndOfSwitchEvenGate , IEndOfLoopGate )
-
- LIsNotOddEvenEndOfSwitchOddEven = GraphLoopTwoBranches_1.Link( OIsNotOddEven , IEndOfSwitchOddEven )
-
- LIsNotEvenOddEndOfSwitchEvenOdd = GraphLoopTwoBranches_1.Link( OIsNotEvenOdd , IEndOfSwitchEvenOdd )
-
- LIsOdddefaultaEndOfSwitchOdda = GraphLoopTwoBranches_1.Link( OIsOdddefaulta , IEndOfSwitchOdda )
-
- LIsOdddefaultOddEndOfSwitchOddOdd = GraphLoopTwoBranches_1.Link( OIsOdddefaultOdd , IEndOfSwitchOddOdd )
-
- LIsEvendefaultaEndOfSwitchEvena = GraphLoopTwoBranches_1.Link( OIsEvendefaulta , IEndOfSwitchEvena )
-
- LIsEvendefaultEvenEndOfSwitchEvenEven = GraphLoopTwoBranches_1.Link( OIsEvendefaultEven , IEndOfSwitchEvenEven )
-
- # Input datas
- ILoopIndex.Input( 0 )
- ILoopMin.Input( -5 )
- ILoopMax.Input( 11 )
-
- # Output Ports of the graph
- #OEndOfSwitchOddOdd = EndOfSwitchOdd.GetOutPort( 'Odd' )
- #OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
- #OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
- #OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
- #OEndOfSwitchEvena = EndOfSwitchEven.GetOutPort( 'a' )
- #OEndOfSwitchEvenEven = EndOfSwitchEven.GetOutPort( 'Even' )
- return GraphLoopTwoBranches_1
-
-
-GraphLoopTwoBranches_1 = DefGraphLoopTwoBranches_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopWhile
-#
-from SuperV import *
-
-# Graph creation of GraphLoopWhile
-def DefGraphLoopWhile() :
- GraphLoopWhile = Graph( 'GraphLoopWhile' )
- GraphLoopWhile.SetName( 'GraphLoopWhile' )
- GraphLoopWhile.SetAuthor( 'JR' )
- GraphLoopWhile.SetComment( '' )
- GraphLoopWhile.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of Loop Nodes
- PyLoop = []
- PyMoreLoop = []
- PyMoreLoop.append( 'import time ' )
- PyMoreLoop.append( 'def LoopWhileMore(Index,Max) : ' )
- PyMoreLoop.append( ' time.sleep(2) ' )
- PyMoreLoop.append( ' if Index < Max : ' )
- PyMoreLoop.append( ' DoLoop = 1 ' )
- PyMoreLoop.append( ' else : ' )
- PyMoreLoop.append( ' DoLoop = 0 ' )
- PyMoreLoop.append( ' return DoLoop,Index,Max ' )
- PyMoreLoop.append( '' )
- PyNextLoop = []
- PyNextLoop.append( 'def LoopWhileNext(Index,Max) : ' )
- PyNextLoop.append( ' Index = Index + 1 ' )
- PyNextLoop.append( ' return Index,Max ' )
- PyNextLoop.append( '' )
- Loop,EndLoop = GraphLoopWhile.LNode( '' , PyLoop , 'LoopWhileMore' , PyMoreLoop , 'LoopWhileNext' , PyNextLoop )
- EndLoop.SetName( 'EndLoop' )
- EndLoop.SetAuthor( '' )
- EndLoop.SetComment( 'Compute Node' )
- EndLoop.Coords( 414 , 232 )
- PyEndLoop = []
- EndLoop.SetPyFunction( 'EndLoop' , PyEndLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- IEndLoopDoLoop = EndLoop.GetInPort( 'DoLoop' )
- IEndLoopIndex = EndLoop.GetInPort( 'Index' )
- IEndLoopMax = EndLoop.GetInPort( 'Max' )
- IEndLoopGate = EndLoop.GetInPort( 'Gate' )
- OEndLoopDoLoop = EndLoop.GetOutPort( 'DoLoop' )
- OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 105 , 226 )
-
- # Creation of Links
- LLoopIndexEndLoopIndex = GraphLoopWhile.Link( OLoopIndex , IEndLoopIndex )
-
- LLoopMaxEndLoopMax = GraphLoopWhile.Link( OLoopMax , IEndLoopMax )
-
- # Input datas
- ILoopIndex.Input( 5 )
- ILoopMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- #OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- return GraphLoopWhile
-
-
-GraphLoopWhile = DefGraphLoopWhile()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopsCoupled_3
-#
-from SuperV import *
-
-# Graph creation of GraphLoopsCoupled_3
-def DefGraphLoopsCoupled_3() :
- GraphLoopsCoupled_3 = Graph( 'GraphLoopsCoupled_3' )
- GraphLoopsCoupled_3.SetName( 'GraphLoopsCoupled_3' )
- GraphLoopsCoupled_3.SetAuthor( 'JR' )
- GraphLoopsCoupled_3.SetComment( '' )
- GraphLoopsCoupled_3.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyAdd = []
- PyAdd.append( 'def Add(x,y) : ' )
- PyAdd.append( ' return x+y ' )
- PyAdd.append( '' )
- Add = GraphLoopsCoupled_3.INode( 'Add' , PyAdd )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetComment( 'Compute Node' )
- Add.Coords( 245 , 38 )
- IAddx = Add.InPort( 'x' , 'long' )
- IAddy = Add.InPort( 'y' , 'long' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddz = Add.OutPort( 'z' , 'long' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- PyAdd_1 = []
- PyAdd_1.append( 'def Add(x,y) : ' )
- PyAdd_1.append( ' return x+y ' )
- PyAdd_1.append( '' )
- Add_1 = GraphLoopsCoupled_3.INode( 'Add' , PyAdd_1 )
- Add_1.SetName( 'Add_1' )
- Add_1.SetAuthor( '' )
- Add_1.SetComment( 'Compute Node' )
- Add_1.Coords( 243 , 288 )
- IAdd_1x = Add_1.InPort( 'x' , 'long' )
- IAdd_1y = Add_1.InPort( 'y' , 'long' )
- IAdd_1Gate = Add_1.GetInPort( 'Gate' )
- OAdd_1z = Add_1.OutPort( 'z' , 'long' )
- OAdd_1Gate = Add_1.GetOutPort( 'Gate' )
-
- PySub = []
- PySub.append( 'def Sub(x,y) : ' )
- PySub.append( ' return x-y ' )
- PySub.append( '' )
- Sub = GraphLoopsCoupled_3.INode( 'Sub' , PySub )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetComment( 'Compute Node' )
- Sub.Coords( 458 , 18 )
- ISubx = Sub.InPort( 'x' , 'long' )
- ISuby = Sub.InPort( 'y' , 'long' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.OutPort( 'z' , 'long' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- PySub_1 = []
- PySub_1.append( 'def Sub(x,y) : ' )
- PySub_1.append( ' return x-y ' )
- PySub_1.append( '' )
- Sub_1 = GraphLoopsCoupled_3.INode( 'Sub' , PySub_1 )
- Sub_1.SetName( 'Sub_1' )
- Sub_1.SetAuthor( '' )
- Sub_1.SetComment( 'Compute Node' )
- Sub_1.Coords( 461 , 268 )
- ISub_1x = Sub_1.InPort( 'x' , 'long' )
- ISub_1y = Sub_1.InPort( 'y' , 'long' )
- ISub_1Gate = Sub_1.GetInPort( 'Gate' )
- OSub_1z = Sub_1.OutPort( 'z' , 'long' )
- OSub_1Gate = Sub_1.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoop = []
- PyLoop.append( ' ' )
- PyMoreLoop = []
- PyMoreLoop.append( 'def More(Index,Max,z) : ' )
- PyMoreLoop.append( ' DoLoop = 0 ' )
- PyMoreLoop.append( ' if Index < Max : ' )
- PyMoreLoop.append( ' DoLoop = 1 ' )
- PyMoreLoop.append( ' return DoLoop,Index,Max,z ' )
- PyMoreLoop.append( ' ' )
- PyNextLoop = []
- PyNextLoop.append( 'def Next(Index,Max,z) : ' )
- PyNextLoop.append( ' Index = Index + 1 ' )
- PyNextLoop.append( ' return Index,Max,z ' )
- PyNextLoop.append( ' ' )
- Loop,EndLoop = GraphLoopsCoupled_3.LNode( '' , PyLoop , 'More' , PyMoreLoop , 'Next' , PyNextLoop )
- EndLoop.SetName( 'EndLoop' )
- EndLoop.SetAuthor( '' )
- EndLoop.SetComment( 'Compute Node' )
- EndLoop.Coords( 662 , 38 )
- PyEndLoop = []
- EndLoop.SetPyFunction( 'EndLoop' , PyEndLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopz = Loop.InPort( 'z' , 'long' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- OLoopz = Loop.GetOutPort( 'z' )
- IEndLoopDoLoop = EndLoop.GetInPort( 'DoLoop' )
- IEndLoopIndex = EndLoop.GetInPort( 'Index' )
- IEndLoopMax = EndLoop.GetInPort( 'Max' )
- IEndLoopz = EndLoop.GetInPort( 'z' )
- IEndLoopGate = EndLoop.GetInPort( 'Gate' )
- OEndLoopDoLoop = EndLoop.GetOutPort( 'DoLoop' )
- OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- OEndLoopz = EndLoop.GetOutPort( 'z' )
- OEndLoopGate = EndLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 15 , 58 )
-
- PyInit = []
- PyInit.append( ' ' )
- PyMoreInit = []
- PyMoreInit.append( 'def More(Index,Max,z) : ' )
- PyMoreInit.append( ' DoLoop = 0 ' )
- PyMoreInit.append( ' if Index < Max : ' )
- PyMoreInit.append( ' DoLoop = 1 ' )
- PyMoreInit.append( ' return DoLoop,Index,Max,z ' )
- PyMoreInit.append( ' ' )
- PyNextInit = []
- PyNextInit.append( 'def Next(Index,Max,z) : ' )
- PyNextInit.append( ' Index = Index + 1 ' )
- PyNextInit.append( ' return Index,Max,z ' )
- PyNextInit.append( ' ' )
- Init,EndInit = GraphLoopsCoupled_3.LNode( '' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( '' )
- EndInit.SetComment( 'Compute Node' )
- EndInit.Coords( 670 , 288 )
- PyEndInit = []
- EndInit.SetPyFunction( 'EndInit' , PyEndInit )
- IInitDoLoop = Init.GetInPort( 'DoLoop' )
- IInitIndex = Init.InPort( 'Index' , 'long' )
- IInitMax = Init.InPort( 'Max' , 'long' )
- IInitz = Init.InPort( 'z' , 'long' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitIndex = Init.GetOutPort( 'Index' )
- OInitMax = Init.GetOutPort( 'Max' )
- OInitz = Init.GetOutPort( 'z' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitIndex = EndInit.GetInPort( 'Index' )
- IEndInitMax = EndInit.GetInPort( 'Max' )
- IEndInitz = EndInit.GetInPort( 'z' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitIndex = EndInit.GetOutPort( 'Index' )
- OEndInitMax = EndInit.GetOutPort( 'Max' )
- OEndInitz = EndInit.GetOutPort( 'z' )
- OEndInitGate = EndInit.GetOutPort( 'Gate' )
- Init.SetName( 'Init' )
- Init.SetAuthor( '' )
- Init.SetComment( 'Compute Node' )
- Init.Coords( 10 , 308 )
-
- # Creation of Links
- LAddzSuby = GraphLoopsCoupled_3.Link( OAddz , ISuby )
-
- LAddzSub_1x = GraphLoopsCoupled_3.Link( OAddz , ISub_1x )
-
- LAdd_1zSub_1y = GraphLoopsCoupled_3.Link( OAdd_1z , ISub_1y )
-
- LAdd_1zSubx = GraphLoopsCoupled_3.Link( OAdd_1z , ISubx )
-
- LSubzEndInitz = GraphLoopsCoupled_3.Link( OSubz , IEndInitz )
-
- LSub_1zEndLoopz = GraphLoopsCoupled_3.Link( OSub_1z , IEndLoopz )
-
- LLoopIndexEndLoopIndex = GraphLoopsCoupled_3.Link( OLoopIndex , IEndLoopIndex )
-
- LLoopMaxEndLoopMax = GraphLoopsCoupled_3.Link( OLoopMax , IEndLoopMax )
-
- LLoopMaxAddx = GraphLoopsCoupled_3.Link( OLoopMax , IAddx )
-
- LLoopzAddy = GraphLoopsCoupled_3.Link( OLoopz , IAddy )
-
- LInitIndexEndInitIndex = GraphLoopsCoupled_3.Link( OInitIndex , IEndInitIndex )
-
- LInitMaxEndInitMax = GraphLoopsCoupled_3.Link( OInitMax , IEndInitMax )
-
- LInitMaxAdd_1x = GraphLoopsCoupled_3.Link( OInitMax , IAdd_1x )
-
- LInitzAdd_1y = GraphLoopsCoupled_3.Link( OInitz , IAdd_1y )
-
- # Input datas
- ILoopIndex.Input( 5 )
- ILoopMax.Input( 15 )
- ILoopz.Input( -1 )
- IInitIndex.Input( 3 )
- IInitMax.Input( 13 )
- IInitz.Input( -2 )
-
- # Output Ports of the graph
- #OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- #OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- #OEndLoopz = EndLoop.GetOutPort( 'z' )
- #OEndInitIndex = EndInit.GetOutPort( 'Index' )
- #OEndInitMax = EndInit.GetOutPort( 'Max' )
- #OEndInitz = EndInit.GetOutPort( 'z' )
- return GraphLoopsCoupled_3
-
-
-GraphLoopsCoupled_3 = DefGraphLoopsCoupled_3()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopsGates_1
-#
-from SuperV import *
-
-# Graph creation of GraphLoopsGates_1
-def DefGraphLoopsGates_1() :
- GraphLoopsGates_1 = Graph( 'GraphLoopsGates_1' )
- GraphLoopsGates_1.SetName( 'GraphLoopsGates_1' )
- GraphLoopsGates_1.SetAuthor( 'JR' )
- GraphLoopsGates_1.SetComment( '' )
- GraphLoopsGates_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphLoopsGates_1.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'localhost/FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 230 , 76 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- Add_1 = GraphLoopsGates_1.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add_1.SetName( 'Add_1' )
- Add_1.SetAuthor( '' )
- Add_1.SetContainer( 'localhost/FactoryServer' )
- Add_1.SetComment( 'Add from AddComponent' )
- Add_1.Coords( 225 , 304 )
- IAdd_1x = Add_1.GetInPort( 'x' )
- IAdd_1y = Add_1.GetInPort( 'y' )
- IAdd_1Gate = Add_1.GetInPort( 'Gate' )
- OAdd_1FuncValue = Add_1.GetOutPort( 'FuncValue' )
- OAdd_1z = Add_1.GetOutPort( 'z' )
- OAdd_1Gate = Add_1.GetOutPort( 'Gate' )
-
- Sub = GraphLoopsGates_1.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'localhost/FactoryServer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 447 , 77 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- Sub_1 = GraphLoopsGates_1.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub_1.SetName( 'Sub_1' )
- Sub_1.SetAuthor( '' )
- Sub_1.SetContainer( 'localhost/FactoryServer' )
- Sub_1.SetComment( 'Sub from SubComponent' )
- Sub_1.Coords( 448 , 304 )
- ISub_1x = Sub_1.GetInPort( 'x' )
- ISub_1y = Sub_1.GetInPort( 'y' )
- ISub_1Gate = Sub_1.GetInPort( 'Gate' )
- OSub_1z = Sub_1.GetOutPort( 'z' )
- OSub_1Gate = Sub_1.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- PyGate = []
- PyGate.append( 'from time import * ' )
- PyGate.append( 'def Gate(G1,G2) : ' )
- PyGate.append( ' sleep(1) ' )
- PyGate.append( ' return G1&G2 ' )
- Gate = GraphLoopsGates_1.INode( 'Gate' , PyGate )
- Gate.SetName( 'Gate' )
- Gate.SetAuthor( '' )
- Gate.SetComment( 'Compute Node' )
- Gate.Coords( 640 , 224 )
- IGateG1 = Gate.InPort( 'G1' , 'long' )
- IGateG2 = Gate.InPort( 'G2' , 'long' )
- IGateGate = Gate.GetInPort( 'Gate' )
- OGateG = Gate.OutPort( 'G' , 'long' )
- OGateGate = Gate.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'from time import * ' )
- PyInit.append( 'def Init(Index,Min,Max) : ' )
- PyInit.append( ' Index = Min ' )
- PyInit.append( ' sleep(1) ' )
- PyInit.append( ' return Index,Min,Max ' )
- PyMoreInit = []
- PyMoreInit.append( 'def More(Index,Min,Max) : ' )
- PyMoreInit.append( ' if Index < Max : ' )
- PyMoreInit.append( ' DoLoop = 1 ' )
- PyMoreInit.append( ' else : ' )
- PyMoreInit.append( ' DoLoop = 0 ' )
- PyMoreInit.append( ' return DoLoop,Index,Min,Max ' )
- PyNextInit = []
- PyNextInit.append( 'from time import * ' )
- PyNextInit.append( 'def Next(Index,Min,Max) : ' )
- PyNextInit.append( ' Index = Index + 1 ' )
- PyNextInit.append( ' sleep(1) ' )
- PyNextInit.append( ' return Index,Min,Max ' )
- Init,EndInit = GraphLoopsGates_1.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( '' )
- EndInit.SetComment( 'Compute Node' )
- EndInit.Coords( 838 , 243 )
- PyEndInit = []
- EndInit.SetPyFunction( 'EndInit' , PyEndInit )
- IInitDoLoop = Init.GetInPort( 'DoLoop' )
- IInitIndex = Init.InPort( 'Index' , 'long' )
- IInitMin = Init.InPort( 'Min' , 'long' )
- IInitMax = Init.InPort( 'Max' , 'long' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitIndex = Init.GetOutPort( 'Index' )
- OInitMin = Init.GetOutPort( 'Min' )
- OInitMax = Init.GetOutPort( 'Max' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitIndex = EndInit.GetInPort( 'Index' )
- IEndInitMin = EndInit.GetInPort( 'Min' )
- IEndInitMax = EndInit.GetInPort( 'Max' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitIndex = EndInit.GetOutPort( 'Index' )
- OEndInitMin = EndInit.GetOutPort( 'Min' )
- OEndInitMax = EndInit.GetOutPort( 'Max' )
- OEndInitGate = EndInit.GetOutPort( 'Gate' )
- Init.SetName( 'Init' )
- Init.SetAuthor( '' )
- Init.SetComment( 'Compute Node' )
- Init.Coords( 29 , 251 )
-
- PyInit_1 = []
- PyInit_1.append( 'from time import * ' )
- PyInit_1.append( 'def Init_1(Index,Min,Max) : ' )
- PyInit_1.append( ' Index = Min ' )
- PyInit_1.append( ' sleep(1) ' )
- PyInit_1.append( ' return Index,Min,Max ' )
- PyMoreInit_1 = []
- PyMoreInit_1.append( 'def More_1(Index,Min,Max) : ' )
- PyMoreInit_1.append( ' if Index < Max : ' )
- PyMoreInit_1.append( ' DoLoop = 1 ' )
- PyMoreInit_1.append( ' else : ' )
- PyMoreInit_1.append( ' DoLoop = 0 ' )
- PyMoreInit_1.append( ' return DoLoop,Index,Min,Max ' )
- PyNextInit_1 = []
- PyNextInit_1.append( 'from time import * ' )
- PyNextInit_1.append( 'def Next_1(Index,Min,Max) : ' )
- PyNextInit_1.append( ' Index = Index + 1 ' )
- PyNextInit_1.append( ' sleep(1) ' )
- PyNextInit_1.append( ' return Index,Min,Max ' )
- Init_1,EndInit_1 = GraphLoopsGates_1.LNode( 'Init_1' , PyInit_1 , 'More_1' , PyMoreInit_1 , 'Next_1' , PyNextInit_1 )
- EndInit_1.SetName( 'EndInit_1' )
- EndInit_1.SetAuthor( '' )
- EndInit_1.SetComment( 'Compute Node' )
- EndInit_1.Coords( 1049 , 201 )
- PyEndInit_1 = []
- EndInit_1.SetPyFunction( 'EndInit_1' , PyEndInit_1 )
- IInit_1DoLoop = Init_1.GetInPort( 'DoLoop' )
- IInit_1Index = Init_1.InPort( 'Index' , 'long' )
- IInit_1Min = Init_1.InPort( 'Min' , 'long' )
- IInit_1Max = Init_1.InPort( 'Max' , 'long' )
- IInit_1Gate = Init_1.GetInPort( 'Gate' )
- OInit_1DoLoop = Init_1.GetOutPort( 'DoLoop' )
- OInit_1Index = Init_1.GetOutPort( 'Index' )
- OInit_1Min = Init_1.GetOutPort( 'Min' )
- OInit_1Max = Init_1.GetOutPort( 'Max' )
- IEndInit_1DoLoop = EndInit_1.GetInPort( 'DoLoop' )
- IEndInit_1Index = EndInit_1.GetInPort( 'Index' )
- IEndInit_1Min = EndInit_1.GetInPort( 'Min' )
- IEndInit_1Max = EndInit_1.GetInPort( 'Max' )
- IEndInit_1Gate = EndInit_1.GetInPort( 'Gate' )
- OEndInit_1DoLoop = EndInit_1.GetOutPort( 'DoLoop' )
- OEndInit_1Index = EndInit_1.GetOutPort( 'Index' )
- OEndInit_1Min = EndInit_1.GetOutPort( 'Min' )
- OEndInit_1Max = EndInit_1.GetOutPort( 'Max' )
- OEndInit_1Gate = EndInit_1.GetOutPort( 'Gate' )
- Init_1.SetName( 'Init_1' )
- Init_1.SetAuthor( '' )
- Init_1.SetComment( 'Compute Node' )
- Init_1.Coords( 9 , 24 )
-
- # Creation of Links
- LInitIndexEndInitIndex = GraphLoopsGates_1.Link( OInitIndex , IEndInitIndex )
-
- LInitIndexSubx = GraphLoopsGates_1.Link( OInitIndex , ISubx )
-
- LInitMinEndInitMin = GraphLoopsGates_1.Link( OInitMin , IEndInitMin )
-
- LInitMinSuby = GraphLoopsGates_1.Link( OInitMin , ISuby )
-
- LInitMinSub_1x = GraphLoopsGates_1.Link( OInitMin , ISub_1x )
-
- LInitMaxEndInitMax = GraphLoopsGates_1.Link( OInitMax , IEndInitMax )
-
- LInitMaxSub_1y = GraphLoopsGates_1.Link( OInitMax , ISub_1y )
-
- LInitGateAdd_1Gate = GraphLoopsGates_1.Link( OInitGate , IAdd_1Gate )
-
- LInitGateAddGate = GraphLoopsGates_1.Link( OInitGate , IAddGate )
-
- LEndInitGateEndInit_1Gate = GraphLoopsGates_1.Link( OEndInitGate , IEndInit_1Gate )
-
- LAddGateSubGate = GraphLoopsGates_1.Link( OAddGate , ISubGate )
-
- LAdd_1GateSub_1Gate = GraphLoopsGates_1.Link( OAdd_1Gate , ISub_1Gate )
-
- LSubGateGateG1 = GraphLoopsGates_1.Link( OSubGate , IGateG1 )
-
- LSub_1GateGateG2 = GraphLoopsGates_1.Link( OSub_1Gate , IGateG2 )
-
- LGateGateEndInitGate = GraphLoopsGates_1.Link( OGateGate , IEndInitGate )
-
- LInit_1IndexEndInit_1Index = GraphLoopsGates_1.Link( OInit_1Index , IEndInit_1Index )
-
- LInit_1MinEndInit_1Min = GraphLoopsGates_1.Link( OInit_1Min , IEndInit_1Min )
-
- LInit_1MaxEndInit_1Max = GraphLoopsGates_1.Link( OInit_1Max , IEndInit_1Max )
-
- LInit_1GateInitGate = GraphLoopsGates_1.Link( OInit_1Gate , IInitGate )
- LInit_1GateInitGate.AddCoord( 1 , 9 , 346 )
- LInit_1GateInitGate.AddCoord( 2 , 9 , 199 )
- LInit_1GateInitGate.AddCoord( 3 , 194 , 199 )
- LInit_1GateInitGate.AddCoord( 4 , 194 , 119 )
-
- # Input datas
- IInitIndex.Input( 0 )
- IInitMin.Input( 5 )
- IInitMax.Input( 8 )
- IAddx.Input( 1 )
- IAddy.Input( 2 )
- IAdd_1x.Input( 3 )
- IAdd_1y.Input( 4 )
- IInit_1Index.Input( 0 )
- IInit_1Min.Input( 1 )
- IInit_1Max.Input( 3 )
-
- # Output Ports of the graph
- #OEndInitIndex = EndInit.GetOutPort( 'Index' )
- #OEndInitMin = EndInit.GetOutPort( 'Min' )
- #OEndInitMax = EndInit.GetOutPort( 'Max' )
- #OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- #OAddz = Add.GetOutPort( 'z' )
- #OAdd_1FuncValue = Add_1.GetOutPort( 'FuncValue' )
- #OAdd_1z = Add_1.GetOutPort( 'z' )
- #OSubz = Sub.GetOutPort( 'z' )
- #OSub_1z = Sub_1.GetOutPort( 'z' )
- #OGateG = Gate.GetOutPort( 'G' )
- #OEndInit_1Index = EndInit_1.GetOutPort( 'Index' )
- #OEndInit_1Min = EndInit_1.GetOutPort( 'Min' )
- #OEndInit_1Max = EndInit_1.GetOutPort( 'Max' )
- return GraphLoopsGates_1
-
-
-GraphLoopsGates_1 = DefGraphLoopsGates_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphLoopsStupidCoupledSwitchs
-#
-from SuperV import *
-
-# Graph creation of GraphLoopsStupidCoupledSwitchs
-def DefGraphLoopsStupidCoupledSwitchs() :
- GraphLoopsStupidCoupledSwitchs = Graph( 'GraphLoopsStupidCoupledSwitchs' )
- GraphLoopsStupidCoupledSwitchs.SetName( 'GraphLoopsStupidCoupledSwitchs' )
- GraphLoopsStupidCoupledSwitchs.SetAuthor( '' )
- GraphLoopsStupidCoupledSwitchs.SetComment( '' )
- GraphLoopsStupidCoupledSwitchs.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 = GraphLoopsStupidCoupledSwitchs.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 458 , 52 )
- 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 = GraphLoopsStupidCoupledSwitchs.INode( 'IsOdd' , PyIsOdd_1 )
- IsOdd_1.SetName( 'IsOdd_1' )
- IsOdd_1.SetAuthor( '' )
- IsOdd_1.SetComment( 'Python function' )
- IsOdd_1.Coords( 487 , 321 )
- 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 = GraphLoopsStupidCoupledSwitchs.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 955 , 122 )
- 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( 14 , 136 )
-
- 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 = GraphLoopsStupidCoupledSwitchs.LNode( 'InitLoop' , PyInitLoop , 'MoreLoop' , PyMoreInitLoop , 'NextLoop' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 961 , 369 )
- 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 , 391 )
-
- # 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 = GraphLoopsStupidCoupledSwitchs.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 690 , 129 )
- 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( 245 , 136 )
- 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 = GraphLoopsStupidCoupledSwitchs.SNode( 'Switch' , PySwitch_1 )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 695 , 387 )
- 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( 258 , 391 )
- 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 = GraphLoopsStupidCoupledSwitchs.Link( OIsOdda , IEndOfSwitcha )
-
- LIsOddGateEndOfSwitchDefault = GraphLoopsStupidCoupledSwitchs.Link( OIsOddGate , IEndOfSwitchDefault )
-
- LInitLoopSwitchIndexSwitcha = GraphLoopsStupidCoupledSwitchs.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphLoopsStupidCoupledSwitchs.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphLoopsStupidCoupledSwitchs.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LInitLoopSwitchGateEndSwitchDefault = GraphLoopsStupidCoupledSwitchs.Link( OInitLoopSwitchGate , IEndSwitchDefault )
-
- LSwitchaIsOdda = GraphLoopsStupidCoupledSwitchs.Link( OSwitcha , IIsOdda )
-
- LSwitchDefaultEndSwitchDefault = GraphLoopsStupidCoupledSwitchs.Link( OSwitchDefault , IEndSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphLoopsStupidCoupledSwitchs.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- LIsOdd_1aEndSwitcha = GraphLoopsStupidCoupledSwitchs.Link( OIsOdd_1a , IEndSwitcha )
-
- LIsOdd_1GateEndSwitchDefault = GraphLoopsStupidCoupledSwitchs.Link( OIsOdd_1Gate , IEndSwitchDefault )
-
- LIsOdd_1GateEndOfSwitchDefault = GraphLoopsStupidCoupledSwitchs.Link( OIsOdd_1Gate , IEndOfSwitchDefault )
-
- LInitLoopIndexSwitch_1a = GraphLoopsStupidCoupledSwitchs.Link( OInitLoopIndex , ISwitch_1a )
-
- LInitLoopMinEndOfInitLoopMin = GraphLoopsStupidCoupledSwitchs.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphLoopsStupidCoupledSwitchs.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LInitLoopGateSwitchGate = GraphLoopsStupidCoupledSwitchs.Link( OInitLoopGate , ISwitchGate )
-
- LInitLoopGateSwitch_1Gate = GraphLoopsStupidCoupledSwitchs.Link( OInitLoopGate , ISwitch_1Gate )
-
- LInitLoopGateIsOdd_1Gate = GraphLoopsStupidCoupledSwitchs.Link( OInitLoopGate , IIsOdd_1Gate )
-
- LInitLoopGateEndOfSwitchDefault = GraphLoopsStupidCoupledSwitchs.Link( OInitLoopGate , IEndOfSwitchDefault )
-
- LSwitch_1EvenEndSwitchDefault = GraphLoopsStupidCoupledSwitchs.Link( OSwitch_1Even , IEndSwitchDefault )
-
- LSwitch_1aIsOdd_1a = GraphLoopsStupidCoupledSwitchs.Link( OSwitch_1a , IIsOdd_1a )
-
- LSwitch_1DefaultIsOddGate = GraphLoopsStupidCoupledSwitchs.Link( OSwitch_1Default , IIsOddGate )
-
- LSwitch_1DefaultEndOfSwitchDefault = GraphLoopsStupidCoupledSwitchs.Link( OSwitch_1Default , IEndOfSwitchDefault )
-
- LSwitch_1DefaultEndOfInitLoopSwitchGate = GraphLoopsStupidCoupledSwitchs.Link( OSwitch_1Default , IEndOfInitLoopSwitchGate )
-
- LSwitch_1DefaultEndOfInitLoopGate = GraphLoopsStupidCoupledSwitchs.Link( OSwitch_1Default , IEndOfInitLoopGate )
-
- LSwitch_1DefaultEndSwitchDefault = GraphLoopsStupidCoupledSwitchs.Link( OSwitch_1Default , IEndSwitchDefault )
-
- LEndSwitchaEndOfInitLoopIndex = GraphLoopsStupidCoupledSwitchs.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' )
- #OSwitchOdd = Switch.GetOutPort( 'Odd' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- #OSwitch_1Odd = Switch_1.GetOutPort( 'Odd' )
- return GraphLoopsStupidCoupledSwitchs
-
-
-GraphLoopsStupidCoupledSwitchs = DefGraphLoopsStupidCoupledSwitchs()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphMacroNodes
-#
-from SuperV import *
-
-# Graph creation of GraphMacroNodes
-def DefGraphMacroNodes() :
- GraphMacroNodes = Graph( 'GraphMacroNodes' )
- GraphMacroNodes.SetName( 'GraphMacroNodes' )
- GraphMacroNodes.SetAuthor( '' )
- GraphMacroNodes.SetComment( '' )
- GraphMacroNodes.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphMacroNodes.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 9 , 293 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- Sub = GraphMacroNodes.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'FactoryServer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 227 , 99 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- Mul = GraphMacroNodes.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
- Mul.SetName( 'Mul' )
- Mul.SetAuthor( '' )
- Mul.SetContainer( 'FactoryServer' )
- Mul.SetComment( 'Mul from MulComponent' )
- Mul.Coords( 443 , 278 )
- IMulx = Mul.GetInPort( 'x' )
- IMuly = Mul.GetInPort( 'y' )
- IMulGate = Mul.GetInPort( 'Gate' )
- OMulz = Mul.GetOutPort( 'z' )
- OMulGate = Mul.GetOutPort( 'Gate' )
-
- Div = GraphMacroNodes.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
- Div.SetName( 'Div' )
- Div.SetAuthor( '' )
- Div.SetContainer( 'FactoryServer' )
- Div.SetComment( 'Div from DivComponent' )
- Div.Coords( 634 , 97 )
- IDivx = Div.GetInPort( 'x' )
- IDivy = Div.GetInPort( 'y' )
- IDivGate = Div.GetInPort( 'Gate' )
- ODivz = Div.GetOutPort( 'z' )
- ODivGate = Div.GetOutPort( 'Gate' )
-
- # Creation of Macro Nodes
- SyrStruct_1 = DefSyrStruct_1()
- Macro_SyrStruct = GraphMacroNodes.GraphMNode( SyrStruct_1 )
- Macro_SyrStruct.SetCoupled( 'SyrStruct_1' )
- Macro_SyrStruct.SetName( 'Macro_SyrStruct' )
- Macro_SyrStruct.SetAuthor( '' )
- Macro_SyrStruct.SetComment( 'Macro Node' )
- Macro_SyrStruct.Coords( 13 , 6 )
- IMacro_SyrStructSyrComponent__aContainer = Macro_SyrStruct.GetInPort( 'SyrComponent__aContainer' )
- IMacro_SyrStructSyrComponent__aComponent = Macro_SyrStruct.GetInPort( 'SyrComponent__aComponent' )
- IMacro_SyrStructforN__N = Macro_SyrStruct.GetInPort( 'forN__N' )
- IMacro_SyrStructforN__K = Macro_SyrStruct.GetInPort( 'forN__K' )
- IMacro_SyrStructforN__min = Macro_SyrStruct.GetInPort( 'forN__min' )
- IMacro_SyrStructforN__max = Macro_SyrStruct.GetInPort( 'forN__max' )
- IMacro_SyrStructfori__i = Macro_SyrStruct.GetInPort( 'fori__i' )
- IMacro_SyrStructGate = Macro_SyrStruct.GetInPort( 'Gate' )
- OMacro_SyrStructEndOfforN__N = Macro_SyrStruct.GetOutPort( 'EndOfforN__N' )
- OMacro_SyrStructEndOfforN__K = Macro_SyrStruct.GetOutPort( 'EndOfforN__K' )
- OMacro_SyrStructEndOfforN__SyrComponent = Macro_SyrStruct.GetOutPort( 'EndOfforN__SyrComponent' )
- OMacro_SyrStructEndOfforN__min = Macro_SyrStruct.GetOutPort( 'EndOfforN__min' )
- OMacro_SyrStructEndOfforN__max = Macro_SyrStruct.GetOutPort( 'EndOfforN__max' )
- OMacro_SyrStructEndOfwhileNotOne__SyrComponent = Macro_SyrStruct.GetOutPort( 'EndOfwhileNotOne__SyrComponent' )
- OMacro_SyrStructEndOfwhileNotOne__N = Macro_SyrStruct.GetOutPort( 'EndOfwhileNotOne__N' )
- OMacro_SyrStructEndOffori__i = Macro_SyrStruct.GetOutPort( 'EndOffori__i' )
- OMacro_SyrStructEndOfwhileEven__SyrComponent = Macro_SyrStruct.GetOutPort( 'EndOfwhileEven__SyrComponent' )
- OMacro_SyrStructGate = Macro_SyrStruct.GetOutPort( 'Gate' )
-
- SyrStruct_1_1 = DefSyrStruct_1_1()
- Macro_SyrStruct_1 = GraphMacroNodes.GraphMNode( SyrStruct_1_1 )
- Macro_SyrStruct_1.SetCoupled( 'SyrStruct_1_1' )
- Macro_SyrStruct_1.SetName( 'Macro_SyrStruct_1' )
- Macro_SyrStruct_1.SetAuthor( '' )
- Macro_SyrStruct_1.SetComment( 'Macro Node' )
- Macro_SyrStruct_1.Coords( 8 , 441 )
- IMacro_SyrStruct_1SyrComponent__aContainer = Macro_SyrStruct_1.GetInPort( 'SyrComponent__aContainer' )
- IMacro_SyrStruct_1SyrComponent__aComponent = Macro_SyrStruct_1.GetInPort( 'SyrComponent__aComponent' )
- IMacro_SyrStruct_1forN__N = Macro_SyrStruct_1.GetInPort( 'forN__N' )
- IMacro_SyrStruct_1forN__K = Macro_SyrStruct_1.GetInPort( 'forN__K' )
- IMacro_SyrStruct_1forN__min = Macro_SyrStruct_1.GetInPort( 'forN__min' )
- IMacro_SyrStruct_1forN__max = Macro_SyrStruct_1.GetInPort( 'forN__max' )
- IMacro_SyrStruct_1fori__i = Macro_SyrStruct_1.GetInPort( 'fori__i' )
- IMacro_SyrStruct_1Gate = Macro_SyrStruct_1.GetInPort( 'Gate' )
- OMacro_SyrStruct_1EndOfforN__N = Macro_SyrStruct_1.GetOutPort( 'EndOfforN__N' )
- OMacro_SyrStruct_1EndOfforN__K = Macro_SyrStruct_1.GetOutPort( 'EndOfforN__K' )
- OMacro_SyrStruct_1EndOfforN__SyrComponent = Macro_SyrStruct_1.GetOutPort( 'EndOfforN__SyrComponent' )
- OMacro_SyrStruct_1EndOfforN__min = Macro_SyrStruct_1.GetOutPort( 'EndOfforN__min' )
- OMacro_SyrStruct_1EndOfforN__max = Macro_SyrStruct_1.GetOutPort( 'EndOfforN__max' )
- OMacro_SyrStruct_1EndOfwhileNotOne__SyrComponent = Macro_SyrStruct_1.GetOutPort( 'EndOfwhileNotOne__SyrComponent' )
- OMacro_SyrStruct_1EndOfwhileNotOne__N = Macro_SyrStruct_1.GetOutPort( 'EndOfwhileNotOne__N' )
- OMacro_SyrStruct_1EndOffori__i = Macro_SyrStruct_1.GetOutPort( 'EndOffori__i' )
- OMacro_SyrStruct_1EndOfwhileEven__SyrComponent = Macro_SyrStruct_1.GetOutPort( 'EndOfwhileEven__SyrComponent' )
- OMacro_SyrStruct_1Gate = Macro_SyrStruct_1.GetOutPort( 'Gate' )
-
- # Creation of Links
- LAddzSuby = GraphMacroNodes.Link( OAddz , ISuby )
-
- LAddzMuly = GraphMacroNodes.Link( OAddz , IMuly )
-
- LSubzMulx = GraphMacroNodes.Link( OSubz , IMulx )
-
- LSubzDivx = GraphMacroNodes.Link( OSubz , IDivx )
-
- LMulzDivy = GraphMacroNodes.Link( OMulz , IDivy )
-
- # Input datas
- IAddx.Input( 3 )
- IAddy.Input( 4.5 )
- ISubx.Input( 1.5 )
- IMacro_SyrStructSyrComponent__aContainer.Input( 'FactoryServer' )
- IMacro_SyrStructSyrComponent__aComponent.Input( 'SyrComponent' )
- IMacro_SyrStructforN__N.Input( 0 )
- IMacro_SyrStructforN__K.Input( 0 )
- IMacro_SyrStructforN__min.Input( 5 )
- IMacro_SyrStructforN__max.Input( 9 )
- IMacro_SyrStructfori__i.Input( 0 )
- IMacro_SyrStruct_1SyrComponent__aContainer.Input( 'FactoryServer' )
- IMacro_SyrStruct_1SyrComponent__aComponent.Input( 'SyrComponent' )
- IMacro_SyrStruct_1forN__N.Input( 0 )
- IMacro_SyrStruct_1forN__K.Input( 0 )
- IMacro_SyrStruct_1forN__min.Input( 5 )
- IMacro_SyrStruct_1forN__max.Input( 9 )
- IMacro_SyrStruct_1fori__i.Input( 0 )
-
- # Output Ports of the graph
- #OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- #ODivz = Div.GetOutPort( 'z' )
- #OMacro_SyrStructEndOfforN__N = Macro_SyrStruct.GetOutPort( 'EndOfforN__N' )
- #OMacro_SyrStructEndOfforN__K = Macro_SyrStruct.GetOutPort( 'EndOfforN__K' )
- #OMacro_SyrStructEndOfforN__SyrComponent = Macro_SyrStruct.GetOutPort( 'EndOfforN__SyrComponent' )
- #OMacro_SyrStructEndOfforN__min = Macro_SyrStruct.GetOutPort( 'EndOfforN__min' )
- #OMacro_SyrStructEndOfforN__max = Macro_SyrStruct.GetOutPort( 'EndOfforN__max' )
- #OMacro_SyrStructEndOfwhileNotOne__SyrComponent = Macro_SyrStruct.GetOutPort( 'EndOfwhileNotOne__SyrComponent' )
- #OMacro_SyrStructEndOfwhileNotOne__N = Macro_SyrStruct.GetOutPort( 'EndOfwhileNotOne__N' )
- #OMacro_SyrStructEndOffori__i = Macro_SyrStruct.GetOutPort( 'EndOffori__i' )
- #OMacro_SyrStructEndOfwhileEven__SyrComponent = Macro_SyrStruct.GetOutPort( 'EndOfwhileEven__SyrComponent' )
- #OMacro_SyrStruct_1EndOfforN__N = Macro_SyrStruct_1.GetOutPort( 'EndOfforN__N' )
- #OMacro_SyrStruct_1EndOfforN__K = Macro_SyrStruct_1.GetOutPort( 'EndOfforN__K' )
- #OMacro_SyrStruct_1EndOfforN__SyrComponent = Macro_SyrStruct_1.GetOutPort( 'EndOfforN__SyrComponent' )
- #OMacro_SyrStruct_1EndOfforN__min = Macro_SyrStruct_1.GetOutPort( 'EndOfforN__min' )
- #OMacro_SyrStruct_1EndOfforN__max = Macro_SyrStruct_1.GetOutPort( 'EndOfforN__max' )
- #OMacro_SyrStruct_1EndOfwhileNotOne__SyrComponent = Macro_SyrStruct_1.GetOutPort( 'EndOfwhileNotOne__SyrComponent' )
- #OMacro_SyrStruct_1EndOfwhileNotOne__N = Macro_SyrStruct_1.GetOutPort( 'EndOfwhileNotOne__N' )
- #OMacro_SyrStruct_1EndOffori__i = Macro_SyrStruct_1.GetOutPort( 'EndOffori__i' )
- #OMacro_SyrStruct_1EndOfwhileEven__SyrComponent = Macro_SyrStruct_1.GetOutPort( 'EndOfwhileEven__SyrComponent' )
- return GraphMacroNodes
-
-# Graph creation of SyrStruct_1
-def DefSyrStruct_1() :
- SyrStruct_1 = Graph( 'SyrStruct_1' )
- SyrStruct_1.SetCoupled( 'Macro_SyrStruct' )
- SyrStruct_1.SetName( 'SyrStruct_1' )
- SyrStruct_1.SetAuthor( 'JR' )
- SyrStruct_1.SetComment( 'Syracuse algorithm' )
- SyrStruct_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- m3 = SyrStruct_1.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_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- m3incr.SetName( 'm3incr' )
- m3incr.SetAuthor( '' )
- m3incr.SetContainer( 'localhost/FactoryServer' )
- m3incr.SetComment( 'C_INCR from SyrComponent' )
- m3incr.Coords( 898 , 29 )
- Im3incraCount = m3incr.GetInPort( 'aCount' )
- Im3incrGate = m3incr.GetInPort( 'Gate' )
- Om3incraNewCount = m3incr.GetOutPort( 'aNewCount' )
- Om3incrGate = m3incr.GetOutPort( 'Gate' )
-
- incra = SyrStruct_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incra.SetName( 'incra' )
- incra.SetAuthor( '' )
- incra.SetContainer( 'localhost/FactoryServer' )
- incra.SetComment( 'C_INCR from SyrComponent' )
- incra.Coords( 803 , 195 )
- IincraaCount = incra.GetInPort( 'aCount' )
- IincraGate = incra.GetInPort( 'Gate' )
- OincraaNewCount = incra.GetOutPort( 'aNewCount' )
- OincraGate = incra.GetOutPort( 'Gate' )
-
- div2 = SyrStruct_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 810 , 435 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incrb = SyrStruct_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incrb.SetName( 'incrb' )
- incrb.SetAuthor( '' )
- incrb.SetContainer( 'localhost/FactoryServer' )
- incrb.SetComment( 'C_INCR from SyrComponent' )
- incrb.Coords( 809 , 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_1.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_1.LNode( 'InitN' , PyforN , 'MoreN' , PyMoreforN , 'NextN' , PyNextforN )
- EndOfforN.SetName( 'EndOfforN' )
- EndOfforN.SetAuthor( '' )
- EndOfforN.SetComment( '' )
- EndOfforN.Coords( 1535 , 332 )
- 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_1.LNode( 'InitNotOne' , PywhileNotOne , 'MoreNotOne' , PyMorewhileNotOne , 'NextNotOne' , PyNextwhileNotOne )
- EndOfwhileNotOne.SetName( 'EndOfwhileNotOne' )
- EndOfwhileNotOne.SetAuthor( '' )
- EndOfwhileNotOne.SetComment( '' )
- EndOfwhileNotOne.Coords( 1366 , 303 )
- 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( 212 , 274 )
-
- 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_1.LNode( 'Initfori' , Pyfori , 'Morefori' , PyMorefori , 'Nextfori' , PyNextfori )
- EndOffori.SetName( 'EndOffori' )
- EndOffori.SetAuthor( '' )
- EndOffori.SetComment( '' )
- EndOffori.Coords( 976 , 212 )
- 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( 635 , 212 )
-
- 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_1.LNode( 'InitEven' , PywhileEven , 'MoreEven' , PyMorewhileEven , 'NextEven' , PyNextwhileEven )
- EndOfwhileEven.SetName( 'EndOfwhileEven' )
- EndOfwhileEven.SetAuthor( '' )
- EndOfwhileEven.SetComment( '' )
- EndOfwhileEven.Coords( 988 , 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_1.SNode( 'ifNotEven' , PyifNotEven )
- EndOfifNotEven.SetName( 'EndOfifNotEven' )
- EndOfifNotEven.SetAuthor( '' )
- EndOfifNotEven.SetComment( '' )
- EndOfifNotEven.Coords( 1205 , 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( 418 , 274 )
- 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_1.Link( Om3anInteger , Im3incraCount )
-
- Lm3incraNewCountEndOfifNotEvenN = SyrStruct_1.Link( Om3incraNewCount , IEndOfifNotEvenN )
- Lm3incraNewCountEndOfifNotEvenN.AddCoord( 1 , 1190 , 366 )
- Lm3incraNewCountEndOfifNotEvenN.AddCoord( 2 , 1191 , 109 )
-
- LincraaNewCountEndOfforiK = SyrStruct_1.Link( OincraaNewCount , IEndOfforiK )
-
- Ldiv2anIntegerEndOfwhileEvenN = SyrStruct_1.Link( Odiv2anInteger , IEndOfwhileEvenN )
-
- LincrbaNewCountEndOfwhileEvenK = SyrStruct_1.Link( OincrbaNewCount , IEndOfwhileEvenK )
- LincrbaNewCountEndOfwhileEvenK.AddCoord( 1 , 988 , 543 )
- LincrbaNewCountEndOfwhileEvenK.AddCoord( 2 , 988 , 654 )
-
- LSyrComponentSyrComponentobjrefforNSyrComponent = SyrStruct_1.Link( OSyrComponentSyrComponentobjref , IforNSyrComponent )
- LSyrComponentSyrComponentobjrefforNSyrComponent.AddCoord( 1 , 13 , 394 )
- LSyrComponentSyrComponentobjrefforNSyrComponent.AddCoord( 2 , 12 , 181 )
- LSyrComponentSyrComponentobjrefforNSyrComponent.AddCoord( 3 , 196 , 181 )
- LSyrComponentSyrComponentobjrefforNSyrComponent.AddCoord( 4 , 197 , 81 )
-
- LforNNwhileNotOneN = SyrStruct_1.Link( OforNN , IwhileNotOneN )
-
- LforNNEndOfforNN = SyrStruct_1.Link( OforNN , IEndOfforNN )
-
- LforNKwhileNotOneK = SyrStruct_1.Link( OforNK , IwhileNotOneK )
-
- LforNSyrComponentEndOfforNSyrComponent = SyrStruct_1.Link( OforNSyrComponent , IEndOfforNSyrComponent )
-
- LforNSyrComponentwhileNotOneSyrComponent = SyrStruct_1.Link( OforNSyrComponent , IwhileNotOneSyrComponent )
- LforNSyrComponentwhileNotOneSyrComponent.AddCoord( 1 , 192 , 309 )
- LforNSyrComponentwhileNotOneSyrComponent.AddCoord( 2 , 191 , 394 )
-
- LforNminEndOfforNmin = SyrStruct_1.Link( OforNmin , IEndOfforNmin )
-
- LforNmaxEndOfforNmax = SyrStruct_1.Link( OforNmax , IEndOfforNmax )
-
- LwhileNotOneSyrComponentEndOfwhileNotOneSyrComponent = SyrStruct_1.Link( OwhileNotOneSyrComponent , IEndOfwhileNotOneSyrComponent )
-
- LwhileNotOneSyrComponentifNotEvenSyrComponent = SyrStruct_1.Link( OwhileNotOneSyrComponent , IifNotEvenSyrComponent )
-
- LwhileNotOneNifNotEvenN = SyrStruct_1.Link( OwhileNotOneN , IifNotEvenN )
-
- LwhileNotOneKifNotEvenK = SyrStruct_1.Link( OwhileNotOneK , IifNotEvenK )
-
- LEndOfwhileNotOneKEndOfforNK = SyrStruct_1.Link( OEndOfwhileNotOneK , IEndOfforNK )
-
- LforiiEndOfforii = SyrStruct_1.Link( Oforii , IEndOfforii )
-
- LforiKincraaCount = SyrStruct_1.Link( OforiK , IincraaCount )
-
- LEndOfforiKEndOfifNotEvenK = SyrStruct_1.Link( OEndOfforiK , IEndOfifNotEvenK )
- LEndOfforiKEndOfifNotEvenK.AddCoord( 1 , 1170 , 396 )
- LEndOfforiKEndOfifNotEvenK.AddCoord( 2 , 1169 , 275 )
-
- LwhileEvenSyrComponentEndOfwhileEvenSyrComponent = SyrStruct_1.Link( OwhileEvenSyrComponent , IEndOfwhileEvenSyrComponent )
-
- LwhileEvenNdiv2anEvenInteger = SyrStruct_1.Link( OwhileEvenN , Idiv2anEvenInteger )
-
- LwhileEvenKincrbaCount = SyrStruct_1.Link( OwhileEvenK , IincrbaCount )
- LwhileEvenKincrbaCount.AddCoord( 1 , 796 , 655 )
- LwhileEvenKincrbaCount.AddCoord( 2 , 795 , 543 )
-
- LEndOfwhileEvenNEndOfifNotEvenN = SyrStruct_1.Link( OEndOfwhileEvenN , IEndOfifNotEvenN )
- LEndOfwhileEvenNEndOfifNotEvenN.AddCoord( 1 , 1191 , 366 )
- LEndOfwhileEvenNEndOfifNotEvenN.AddCoord( 2 , 1191 , 513 )
-
- LEndOfwhileEvenKEndOfifNotEvenK = SyrStruct_1.Link( OEndOfwhileEvenK , IEndOfifNotEvenK )
- LEndOfwhileEvenKEndOfifNotEvenK.AddCoord( 1 , 1169 , 395 )
- LEndOfwhileEvenKEndOfifNotEvenK.AddCoord( 2 , 1170 , 543 )
-
- LifNotEvenOddm3Gate = SyrStruct_1.Link( OifNotEvenOdd , Im3Gate )
- LifNotEvenOddm3Gate.AddCoord( 1 , 593 , 141 )
- LifNotEvenOddm3Gate.AddCoord( 2 , 593 , 307 )
-
- LifNotEvenOddforiGate = SyrStruct_1.Link( OifNotEvenOdd , IforiGate )
-
- LifNotEvenEvenwhileEvenGate = SyrStruct_1.Link( OifNotEvenEven , IwhileEvenGate )
- LifNotEvenEvenwhileEvenGate.AddCoord( 1 , 593 , 576 )
- LifNotEvenEvenwhileEvenGate.AddCoord( 2 , 592 , 339 )
-
- LifNotEvenSyrComponentwhileEvenSyrComponent = SyrStruct_1.Link( OifNotEvenSyrComponent , IwhileEvenSyrComponent )
- LifNotEvenSyrComponentwhileEvenSyrComponent.AddCoord( 1 , 586 , 486 )
- LifNotEvenSyrComponentwhileEvenSyrComponent.AddCoord( 2 , 587 , 367 )
-
- LifNotEvenNwhileEvenN = SyrStruct_1.Link( OifNotEvenN , IwhileEvenN )
- LifNotEvenNwhileEvenN.AddCoord( 1 , 604 , 513 )
- LifNotEvenNwhileEvenN.AddCoord( 2 , 603 , 397 )
-
- LifNotEvenNm3anOddInteger = SyrStruct_1.Link( OifNotEvenN , Im3anOddInteger )
- LifNotEvenNm3anOddInteger.AddCoord( 1 , 604 , 107 )
- LifNotEvenNm3anOddInteger.AddCoord( 2 , 604 , 395 )
-
- LifNotEvenKwhileEvenK = SyrStruct_1.Link( OifNotEvenK , IwhileEvenK )
- LifNotEvenKwhileEvenK.AddCoord( 1 , 621 , 544 )
- LifNotEvenKwhileEvenK.AddCoord( 2 , 622 , 426 )
-
- LifNotEvenKforiK = SyrStruct_1.Link( OifNotEvenK , IforiK )
- LifNotEvenKforiK.AddCoord( 1 , 622 , 275 )
- LifNotEvenKforiK.AddCoord( 2 , 622 , 426 )
-
- LifNotEvenDefaultEndOfifNotEvenDefault = SyrStruct_1.Link( OifNotEvenDefault , IEndOfifNotEvenDefault )
- LifNotEvenDefaultEndOfifNotEvenDefault.AddCoord( 1 , 1204 , 429 )
- LifNotEvenDefaultEndOfifNotEvenDefault.AddCoord( 2 , 1203 , 12 )
- LifNotEvenDefaultEndOfifNotEvenDefault.AddCoord( 3 , 581 , 13 )
- LifNotEvenDefaultEndOfifNotEvenDefault.AddCoord( 4 , 581 , 458 )
-
- LEndOfifNotEvenNEndOfwhileNotOneN = SyrStruct_1.Link( OEndOfifNotEvenN , IEndOfwhileNotOneN )
-
- LEndOfifNotEvenKEndOfwhileNotOneK = SyrStruct_1.Link( OEndOfifNotEvenK , IEndOfwhileNotOneK )
-
- # Input Ports of the graph
- #ISyrComponentaContainer = SyrComponent.GetInPort( 'aContainer' )
- #ISyrComponentaComponent = SyrComponent.GetInPort( 'aComponent' )
- #IforNN = forN.GetInPort( 'N' )
- #IforNK = forN.GetInPort( 'K' )
- #IforNmin = forN.GetInPort( 'min' )
- #IforNmax = forN.GetInPort( 'max' )
- #Iforii = fori.GetInPort( 'i' )
-
- # 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_1
-
-# Graph creation of SyrStruct_1_1
-def DefSyrStruct_1_1() :
- SyrStruct_1_1 = Graph( 'SyrStruct_1_1' )
- SyrStruct_1_1.SetCoupled( 'Macro_SyrStruct_1' )
- SyrStruct_1_1.SetName( 'SyrStruct_1_1' )
- SyrStruct_1_1.SetAuthor( 'JR' )
- SyrStruct_1_1.SetComment( 'Syracuse algorithm' )
- SyrStruct_1_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- m3 = SyrStruct_1_1.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_1_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- m3incr.SetName( 'm3incr' )
- m3incr.SetAuthor( '' )
- m3incr.SetContainer( 'localhost/FactoryServer' )
- m3incr.SetComment( 'C_INCR from SyrComponent' )
- m3incr.Coords( 898 , 29 )
- Im3incraCount = m3incr.GetInPort( 'aCount' )
- Im3incrGate = m3incr.GetInPort( 'Gate' )
- Om3incraNewCount = m3incr.GetOutPort( 'aNewCount' )
- Om3incrGate = m3incr.GetOutPort( 'Gate' )
-
- incra = SyrStruct_1_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incra.SetName( 'incra' )
- incra.SetAuthor( '' )
- incra.SetContainer( 'localhost/FactoryServer' )
- incra.SetComment( 'C_INCR from SyrComponent' )
- incra.Coords( 803 , 195 )
- IincraaCount = incra.GetInPort( 'aCount' )
- IincraGate = incra.GetInPort( 'Gate' )
- OincraaNewCount = incra.GetOutPort( 'aNewCount' )
- OincraGate = incra.GetOutPort( 'Gate' )
-
- div2 = SyrStruct_1_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 810 , 435 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incrb = SyrStruct_1_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incrb.SetName( 'incrb' )
- incrb.SetAuthor( '' )
- incrb.SetContainer( 'localhost/FactoryServer' )
- incrb.SetComment( 'C_INCR from SyrComponent' )
- incrb.Coords( 809 , 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_1_1.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_1_1.LNode( 'InitN' , PyforN , 'MoreN' , PyMoreforN , 'NextN' , PyNextforN )
- EndOfforN.SetName( 'EndOfforN' )
- EndOfforN.SetAuthor( '' )
- EndOfforN.SetComment( '' )
- EndOfforN.Coords( 1535 , 332 )
- 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_1_1.LNode( 'InitNotOne' , PywhileNotOne , 'MoreNotOne' , PyMorewhileNotOne , 'NextNotOne' , PyNextwhileNotOne )
- EndOfwhileNotOne.SetName( 'EndOfwhileNotOne' )
- EndOfwhileNotOne.SetAuthor( '' )
- EndOfwhileNotOne.SetComment( '' )
- EndOfwhileNotOne.Coords( 1366 , 303 )
- 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( 212 , 274 )
-
- 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_1_1.LNode( 'Initfori' , Pyfori , 'Morefori' , PyMorefori , 'Nextfori' , PyNextfori )
- EndOffori.SetName( 'EndOffori' )
- EndOffori.SetAuthor( '' )
- EndOffori.SetComment( '' )
- EndOffori.Coords( 976 , 212 )
- 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( 635 , 212 )
-
- 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_1_1.LNode( 'InitEven' , PywhileEven , 'MoreEven' , PyMorewhileEven , 'NextEven' , PyNextwhileEven )
- EndOfwhileEven.SetName( 'EndOfwhileEven' )
- EndOfwhileEven.SetAuthor( '' )
- EndOfwhileEven.SetComment( '' )
- EndOfwhileEven.Coords( 988 , 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_1_1.SNode( 'ifNotEven' , PyifNotEven )
- EndOfifNotEven.SetName( 'EndOfifNotEven' )
- EndOfifNotEven.SetAuthor( '' )
- EndOfifNotEven.SetComment( '' )
- EndOfifNotEven.Coords( 1205 , 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( 418 , 274 )
- 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_1_1.Link( Om3anInteger , Im3incraCount )
-
- Lm3incraNewCountEndOfifNotEvenN = SyrStruct_1_1.Link( Om3incraNewCount , IEndOfifNotEvenN )
- Lm3incraNewCountEndOfifNotEvenN.AddCoord( 1 , 1190 , 366 )
- Lm3incraNewCountEndOfifNotEvenN.AddCoord( 2 , 1191 , 109 )
-
- LincraaNewCountEndOfforiK = SyrStruct_1_1.Link( OincraaNewCount , IEndOfforiK )
-
- Ldiv2anIntegerEndOfwhileEvenN = SyrStruct_1_1.Link( Odiv2anInteger , IEndOfwhileEvenN )
-
- LincrbaNewCountEndOfwhileEvenK = SyrStruct_1_1.Link( OincrbaNewCount , IEndOfwhileEvenK )
- LincrbaNewCountEndOfwhileEvenK.AddCoord( 1 , 988 , 543 )
- LincrbaNewCountEndOfwhileEvenK.AddCoord( 2 , 988 , 654 )
-
- LSyrComponentSyrComponentobjrefforNSyrComponent = SyrStruct_1_1.Link( OSyrComponentSyrComponentobjref , IforNSyrComponent )
- LSyrComponentSyrComponentobjrefforNSyrComponent.AddCoord( 1 , 13 , 394 )
- LSyrComponentSyrComponentobjrefforNSyrComponent.AddCoord( 2 , 12 , 181 )
- LSyrComponentSyrComponentobjrefforNSyrComponent.AddCoord( 3 , 196 , 181 )
- LSyrComponentSyrComponentobjrefforNSyrComponent.AddCoord( 4 , 197 , 81 )
-
- LforNNwhileNotOneN = SyrStruct_1_1.Link( OforNN , IwhileNotOneN )
-
- LforNNEndOfforNN = SyrStruct_1_1.Link( OforNN , IEndOfforNN )
-
- LforNKwhileNotOneK = SyrStruct_1_1.Link( OforNK , IwhileNotOneK )
-
- LforNSyrComponentEndOfforNSyrComponent = SyrStruct_1_1.Link( OforNSyrComponent , IEndOfforNSyrComponent )
-
- LforNSyrComponentwhileNotOneSyrComponent = SyrStruct_1_1.Link( OforNSyrComponent , IwhileNotOneSyrComponent )
- LforNSyrComponentwhileNotOneSyrComponent.AddCoord( 1 , 192 , 309 )
- LforNSyrComponentwhileNotOneSyrComponent.AddCoord( 2 , 191 , 394 )
-
- LforNminEndOfforNmin = SyrStruct_1_1.Link( OforNmin , IEndOfforNmin )
-
- LforNmaxEndOfforNmax = SyrStruct_1_1.Link( OforNmax , IEndOfforNmax )
-
- LwhileNotOneSyrComponentEndOfwhileNotOneSyrComponent = SyrStruct_1_1.Link( OwhileNotOneSyrComponent , IEndOfwhileNotOneSyrComponent )
-
- LwhileNotOneSyrComponentifNotEvenSyrComponent = SyrStruct_1_1.Link( OwhileNotOneSyrComponent , IifNotEvenSyrComponent )
-
- LwhileNotOneNifNotEvenN = SyrStruct_1_1.Link( OwhileNotOneN , IifNotEvenN )
-
- LwhileNotOneKifNotEvenK = SyrStruct_1_1.Link( OwhileNotOneK , IifNotEvenK )
-
- LEndOfwhileNotOneKEndOfforNK = SyrStruct_1_1.Link( OEndOfwhileNotOneK , IEndOfforNK )
-
- LforiiEndOfforii = SyrStruct_1_1.Link( Oforii , IEndOfforii )
-
- LforiKincraaCount = SyrStruct_1_1.Link( OforiK , IincraaCount )
-
- LEndOfforiKEndOfifNotEvenK = SyrStruct_1_1.Link( OEndOfforiK , IEndOfifNotEvenK )
- LEndOfforiKEndOfifNotEvenK.AddCoord( 1 , 1170 , 396 )
- LEndOfforiKEndOfifNotEvenK.AddCoord( 2 , 1169 , 275 )
-
- LwhileEvenSyrComponentEndOfwhileEvenSyrComponent = SyrStruct_1_1.Link( OwhileEvenSyrComponent , IEndOfwhileEvenSyrComponent )
-
- LwhileEvenNdiv2anEvenInteger = SyrStruct_1_1.Link( OwhileEvenN , Idiv2anEvenInteger )
-
- LwhileEvenKincrbaCount = SyrStruct_1_1.Link( OwhileEvenK , IincrbaCount )
- LwhileEvenKincrbaCount.AddCoord( 1 , 796 , 655 )
- LwhileEvenKincrbaCount.AddCoord( 2 , 795 , 543 )
-
- LEndOfwhileEvenNEndOfifNotEvenN = SyrStruct_1_1.Link( OEndOfwhileEvenN , IEndOfifNotEvenN )
- LEndOfwhileEvenNEndOfifNotEvenN.AddCoord( 1 , 1191 , 366 )
- LEndOfwhileEvenNEndOfifNotEvenN.AddCoord( 2 , 1191 , 513 )
-
- LEndOfwhileEvenKEndOfifNotEvenK = SyrStruct_1_1.Link( OEndOfwhileEvenK , IEndOfifNotEvenK )
- LEndOfwhileEvenKEndOfifNotEvenK.AddCoord( 1 , 1169 , 395 )
- LEndOfwhileEvenKEndOfifNotEvenK.AddCoord( 2 , 1170 , 543 )
-
- LifNotEvenOddm3Gate = SyrStruct_1_1.Link( OifNotEvenOdd , Im3Gate )
- LifNotEvenOddm3Gate.AddCoord( 1 , 593 , 141 )
- LifNotEvenOddm3Gate.AddCoord( 2 , 593 , 307 )
-
- LifNotEvenOddforiGate = SyrStruct_1_1.Link( OifNotEvenOdd , IforiGate )
-
- LifNotEvenEvenwhileEvenGate = SyrStruct_1_1.Link( OifNotEvenEven , IwhileEvenGate )
- LifNotEvenEvenwhileEvenGate.AddCoord( 1 , 593 , 576 )
- LifNotEvenEvenwhileEvenGate.AddCoord( 2 , 592 , 339 )
-
- LifNotEvenSyrComponentwhileEvenSyrComponent = SyrStruct_1_1.Link( OifNotEvenSyrComponent , IwhileEvenSyrComponent )
- LifNotEvenSyrComponentwhileEvenSyrComponent.AddCoord( 1 , 586 , 486 )
- LifNotEvenSyrComponentwhileEvenSyrComponent.AddCoord( 2 , 587 , 367 )
-
- LifNotEvenNwhileEvenN = SyrStruct_1_1.Link( OifNotEvenN , IwhileEvenN )
- LifNotEvenNwhileEvenN.AddCoord( 1 , 604 , 513 )
- LifNotEvenNwhileEvenN.AddCoord( 2 , 603 , 397 )
-
- LifNotEvenNm3anOddInteger = SyrStruct_1_1.Link( OifNotEvenN , Im3anOddInteger )
- LifNotEvenNm3anOddInteger.AddCoord( 1 , 604 , 107 )
- LifNotEvenNm3anOddInteger.AddCoord( 2 , 604 , 395 )
-
- LifNotEvenKwhileEvenK = SyrStruct_1_1.Link( OifNotEvenK , IwhileEvenK )
- LifNotEvenKwhileEvenK.AddCoord( 1 , 621 , 544 )
- LifNotEvenKwhileEvenK.AddCoord( 2 , 622 , 426 )
-
- LifNotEvenKforiK = SyrStruct_1_1.Link( OifNotEvenK , IforiK )
- LifNotEvenKforiK.AddCoord( 1 , 622 , 275 )
- LifNotEvenKforiK.AddCoord( 2 , 622 , 426 )
-
- LifNotEvenDefaultEndOfifNotEvenDefault = SyrStruct_1_1.Link( OifNotEvenDefault , IEndOfifNotEvenDefault )
- LifNotEvenDefaultEndOfifNotEvenDefault.AddCoord( 1 , 1204 , 429 )
- LifNotEvenDefaultEndOfifNotEvenDefault.AddCoord( 2 , 1203 , 12 )
- LifNotEvenDefaultEndOfifNotEvenDefault.AddCoord( 3 , 581 , 13 )
- LifNotEvenDefaultEndOfifNotEvenDefault.AddCoord( 4 , 581 , 458 )
-
- LEndOfifNotEvenNEndOfwhileNotOneN = SyrStruct_1_1.Link( OEndOfifNotEvenN , IEndOfwhileNotOneN )
-
- LEndOfifNotEvenKEndOfwhileNotOneK = SyrStruct_1_1.Link( OEndOfifNotEvenK , IEndOfwhileNotOneK )
-
- # Input Ports of the graph
- #ISyrComponentaContainer = SyrComponent.GetInPort( 'aContainer' )
- #ISyrComponentaComponent = SyrComponent.GetInPort( 'aComponent' )
- #IforNN = forN.GetInPort( 'N' )
- #IforNK = forN.GetInPort( 'K' )
- #IforNmin = forN.GetInPort( 'min' )
- #IforNmax = forN.GetInPort( 'max' )
- #Iforii = fori.GetInPort( 'i' )
-
- # 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_1_1
-
-
-GraphMacroNodes = DefGraphMacroNodes()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphMacroNodes1
-#
-from SuperV import *
-
-# Graph creation of GraphMacroNodes1
-def DefGraphMacroNodes1() :
- GraphMacroNodes1 = Graph( 'GraphMacroNodes1' )
- GraphMacroNodes1.SetName( 'GraphMacroNodes1' )
- GraphMacroNodes1.SetAuthor( '' )
- GraphMacroNodes1.SetComment( '' )
- GraphMacroNodes1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphMacroNodes1.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 15 , 241 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- Sub = GraphMacroNodes1.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'FactoryServer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 227 , 99 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- Mul = GraphMacroNodes1.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
- Mul.SetName( 'Mul' )
- Mul.SetAuthor( '' )
- Mul.SetContainer( 'FactoryServer' )
- Mul.SetComment( 'Mul from MulComponent' )
- Mul.Coords( 469 , 304 )
- IMulx = Mul.GetInPort( 'x' )
- IMuly = Mul.GetInPort( 'y' )
- IMulGate = Mul.GetInPort( 'Gate' )
- OMulz = Mul.GetOutPort( 'z' )
- OMulGate = Mul.GetOutPort( 'Gate' )
-
- Div = GraphMacroNodes1.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
- Div.SetName( 'Div' )
- Div.SetAuthor( '' )
- Div.SetContainer( 'FactoryServer' )
- Div.SetComment( 'Div from DivComponent' )
- Div.Coords( 668 , 200 )
- IDivx = Div.GetInPort( 'x' )
- IDivy = Div.GetInPort( 'y' )
- IDivGate = Div.GetInPort( 'Gate' )
- ODivz = Div.GetOutPort( 'z' )
- ODivGate = Div.GetOutPort( 'Gate' )
-
- # Creation of Macro Nodes
- GraphAdd = DefGraphAdd()
- Macro_GraphAdd = GraphMacroNodes1.GraphMNode( GraphAdd )
- Macro_GraphAdd.SetCoupled( 'GraphAdd' )
- Macro_GraphAdd.SetName( 'Macro_GraphAdd' )
- Macro_GraphAdd.SetAuthor( '' )
- Macro_GraphAdd.SetComment( 'Macro Node' )
- Macro_GraphAdd.Coords( 434 , 128 )
- IMacro_GraphAddAdd__x = Macro_GraphAdd.GetInPort( 'Add__x' )
- IMacro_GraphAddAdd__y = Macro_GraphAdd.GetInPort( 'Add__y' )
- IMacro_GraphAddGate = Macro_GraphAdd.GetInPort( 'Gate' )
- OMacro_GraphAddAdd__FuncValue = Macro_GraphAdd.GetOutPort( 'Add__FuncValue' )
- OMacro_GraphAddAdd__z = Macro_GraphAdd.GetOutPort( 'Add__z' )
- OMacro_GraphAddGate = Macro_GraphAdd.GetOutPort( 'Gate' )
-
- GraphSub = DefGraphSub()
- Macro_GraphSub = GraphMacroNodes1.GraphMNode( GraphSub )
- Macro_GraphSub.SetCoupled( 'GraphSub' )
- Macro_GraphSub.SetName( 'Macro_GraphSub' )
- Macro_GraphSub.SetAuthor( '' )
- Macro_GraphSub.SetComment( 'Macro Node' )
- Macro_GraphSub.Coords( 240 , 301 )
- IMacro_GraphSubSub__x = Macro_GraphSub.GetInPort( 'Sub__x' )
- IMacro_GraphSubSub__y = Macro_GraphSub.GetInPort( 'Sub__y' )
- IMacro_GraphSubGate = Macro_GraphSub.GetInPort( 'Gate' )
- OMacro_GraphSubSub__z = Macro_GraphSub.GetOutPort( 'Sub__z' )
- OMacro_GraphSubGate = Macro_GraphSub.GetOutPort( 'Gate' )
-
- # Creation of Links
- LAddFuncValueMacro_GraphSubSub__x = GraphMacroNodes1.Link( OAddFuncValue , IMacro_GraphSubSub__x )
-
- LAddFuncValueMacro_GraphAddAdd__y = GraphMacroNodes1.Link( OAddFuncValue , IMacro_GraphAddAdd__y )
-
- LAddzSuby = GraphMacroNodes1.Link( OAddz , ISuby )
-
- LAddzMacro_GraphSubSub__y = GraphMacroNodes1.Link( OAddz , IMacro_GraphSubSub__y )
-
- LSubzMulx = GraphMacroNodes1.Link( OSubz , IMulx )
-
- LSubzMacro_GraphAddAdd__x = GraphMacroNodes1.Link( OSubz , IMacro_GraphAddAdd__x )
-
- LMacro_GraphAddGateDivGate = GraphMacroNodes1.Link( OMacro_GraphAddGate , IDivGate )
-
- LMacro_GraphSubSub__zMuly = GraphMacroNodes1.Link( OMacro_GraphSubSub__z , IMuly )
-
- LMacro_GraphSubGateMulGate = GraphMacroNodes1.Link( OMacro_GraphSubGate , IMulGate )
-
- # Input datas
- IAddx.Input( 3 )
- IAddy.Input( 4.5 )
- ISubx.Input( 1.5 )
- IDivx.Input( 1 )
- IDivy.Input( 2 )
-
- # Output Ports of the graph
- #OMulz = Mul.GetOutPort( 'z' )
- #ODivz = Div.GetOutPort( 'z' )
- #OMacro_GraphAddAdd__FuncValue = Macro_GraphAdd.GetOutPort( 'Add__FuncValue' )
- #OMacro_GraphAddAdd__z = Macro_GraphAdd.GetOutPort( 'Add__z' )
- return GraphMacroNodes1
-
-# Graph creation of GraphAdd
-def DefGraphAdd() :
- GraphAdd = Graph( 'GraphAdd' )
- GraphAdd.SetCoupled( 'Macro_GraphAdd' )
- GraphAdd.SetName( 'GraphAdd' )
- GraphAdd.SetAuthor( '' )
- GraphAdd.SetComment( '' )
- GraphAdd.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphAdd.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'localhost/FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 55 , 61 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- # Input Ports of the graph
- #IAddx = Add.GetInPort( 'x' )
- #IAddy = Add.GetInPort( 'y' )
-
- # Output Ports of the graph
- #OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- #OAddz = Add.GetOutPort( 'z' )
- return GraphAdd
-
-# Graph creation of GraphSub
-def DefGraphSub() :
- GraphSub = Graph( 'GraphSub' )
- GraphSub.SetCoupled( 'Macro_GraphSub' )
- GraphSub.SetName( 'GraphSub' )
- GraphSub.SetAuthor( '' )
- GraphSub.SetComment( '' )
- GraphSub.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Sub = GraphSub.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'localhost/FactoryServer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 55 , 71 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- # Input Ports of the graph
- #ISubx = Sub.GetInPort( 'x' )
- #ISuby = Sub.GetInPort( 'y' )
-
- # Output Ports of the graph
- #OSubz = Sub.GetOutPort( 'z' )
- return GraphSub
-
-
-GraphMacroNodes1 = DefGraphMacroNodes1()
-
-exec GraphMacroNodes1.ListNodes()
-# Add,Sub,Mul,Div,Macro_GraphAdd,Macro_GraphSub
-
-GraphMacroNodes1.Run()
-GraphMacroNodes1.DoneW()
-print "GraphMacroNodes1",GraphMacroNodes1.State()
-print "Macro_GraphAdd",Macro_GraphAdd.State()
-print "Macro_GraphSub",Macro_GraphSub.State()
-print "Mul",Mul.State()
-print "Div",Div.State()
-
-Macro_GraphSub.PrintPorts()
-Mul.PrintPorts()
-
-Macro_GraphAdd.PrintPorts()
-Div.PrintPorts()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Check the Merge of two graphs
-# Creation of GraphSwitch
-#
-from GraphSwitch import *
-
-# Creation of GraphSwitch1
-from GraphSwitch1 import *
-
-# Merge of GraphSwitch1 in GraphSwitch
-GraphSwitch.Merge( GraphSwitch1 )
-
-# Create a variable for each node of GraphSwitch :
-# IsOdd,IsOdd_1,InitLoopSwitch,InitLoop,EndOfInitLoopSwitch,EndOfInitLoop,Switch,Switch_1,EndOfSwitch,EndSwitch
-exec GraphSwitch.ListNodes()
-
-# Print Input and Output Ports values of InitLoopSwitch
-InitLoopSwitch.PrintPorts()
-
-# Print Input and Output Ports values of InitLoop
-InitLoop.PrintPorts()
-
-# Print Input and Output Ports values of GraphSwitch
-GraphSwitch.PrintPorts()
-
-# Start asynchronous execution of GraphSwitch
-GraphSwitch.Run()
-
-# Wait for completion of GraphSwitch
-GraphSwitch.DoneW()
-
-# Print the state of GraphSwitch
-GraphSwitch.State()
-
-# Print the results of GraphSwitch
-GraphSwitch.PrintPorts()
-
-# Start asynchronous execution of GraphSwitch
-GraphSwitch.Run()
-
-# Start asynchronous execution of GraphSwitch1 (parallel to the execution of GraphSwitch)
-GraphSwitch1.Run()
-
-# Wait for completion of GraphSwitch1
-GraphSwitch1.DoneW()
-
-# Print the state of GraphSwitch1
-GraphSwitch.State()
-
-# Wait for completion of GraphSwitch
-GraphSwitch.DoneW()
-
-# Print the state of GraphSwitch
-GraphSwitch.State()
-
-# Print the results of GraphSwitch
-GraphSwitch.PrintPorts()
-
-# Print the results of GraphSwitch1
-GraphSwitch1.PrintPorts()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Check the Merge of two graphs and python functions definitions
-# Creation of GraphSwitch
-#
-from GraphSwitch import *
-
-# Creation of GraphSwitch1
-from GraphSwitch1 import *
-
-# Merge of GraphSwitch1 in GraphSwitch
-statmerge = GraphSwitch.Merge( GraphSwitch1 )
-if statmerge == 0 :
- print "Failed to merge GraphSwitch1 in GraphSwitch"
-
-# Create a variable for each node of GraphSwitch :
-# IsOdd,IsOdd_1,InitLoopSwitch,InitLoop,EndOfInitLoopSwitch,EndOfInitLoop,Switch,Switch_1,EndOfSwitch,EndSwitch
-exec GraphSwitch.ListNodes()
-
-funcname = InitLoopSwitch.PyInitName()
-funcname1 = InitLoop.PyInitName()
-print "Init python function names of InitLoopSwitch and InitLoop :",funcname,funcname1
-InitLoop.PyInit()
-# Erase python functions of InitLoop
-InitLoop.SetPyInit( funcname , [] )
-InitLoop.PyInit()
-InitLoop.SetPyMore( InitLoop.PyMoreName() , [] )
-InitLoop.PyMore()
-InitLoop.SetPyNext( InitLoop.PyNextName() , [] )
-InitLoop.PyNext()
-
-IsOdd.SetPyFunction( IsOdd.PyFuncName() , [] )
-IsOdd.PyFunction()
-
-# Print Input and Output Ports values of InitLoopSwitch
-InitLoopSwitch.PrintPorts()
-
-# Print Input and Output Ports values of InitLoop
-InitLoop.PrintPorts()
-
-# Print Input and Output Ports values of GraphSwitch
-GraphSwitch.PrintPorts()
-
-# Start asynchronous execution of GraphSwitch
-GraphSwitch.Run()
-
-# Wait for completion of GraphSwitch
-GraphSwitch.DoneW()
-
-# Print the state of GraphSwitch
-GraphSwitch.State()
-
-# Print the results of GraphSwitch
-GraphSwitch.PrintPorts()
-
-GraphSwitch.Export( "../GraphPyFunctions.xml" )
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow_3
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow_3
-def DefaNewDataFlow_3() :
- aNewDataFlow_3 = Graph( 'aNewDataFlow_3' )
- aNewDataFlow_3.SetName( 'aNewDataFlow_3' )
- aNewDataFlow_3.SetAuthor( '' )
- aNewDataFlow_3.SetComment( '' )
- aNewDataFlow_3.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyMulNode = []
- PyMulNode.append( 'def MulNode(a,b): ' )
- PyMulNode.append( ' c = a*b ' )
- PyMulNode.append( ' return c ' )
- MulNode = aNewDataFlow_3.INode( 'MulNode' , PyMulNode )
- MulNode.SetName( 'MulNode' )
- MulNode.SetAuthor( '' )
- MulNode.SetComment( 'Compute Node' )
- MulNode.Coords( 0 , 0 )
- IMulNodea = MulNode.InPort( 'a' , 'double' )
- IMulNodeGate = MulNode.GetInPort( 'Gate' )
- OMulNodec = MulNode.OutPort( 'c' , 'double' )
- OMulNodeGate = MulNode.GetOutPort( 'Gate' )
-
- # Input datas
- IMulNodea.Input( 10.5 )
-
- # Output Ports of the graph
- #OMulNodec = MulNode.GetOutPort( 'c' )
- return aNewDataFlow_3
-
-
-aNewDataFlow_3 = DefaNewDataFlow_3()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow_1
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow_1
-def DefaNewDataFlow_1() :
- aNewDataFlow_1 = Graph( 'aNewDataFlow_1' )
- aNewDataFlow_1.SetName( 'aNewDataFlow_1' )
- aNewDataFlow_1.SetAuthor( '' )
- aNewDataFlow_1.SetComment( '' )
- aNewDataFlow_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = aNewDataFlow_1.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'localhost/FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 0 , 0 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- # Input datas
- IAddx.Input( 0.4 )
-
- # Input Ports of the graph
- #IAddy = Add.GetInPort( 'y' )
-
- # Output Ports of the graph
- #OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- #OAddz = Add.GetOutPort( 'z' )
- return aNewDataFlow_1
-
-
-aNewDataFlow_1 = DefaNewDataFlow_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphNonVoidEndLoop
-#
-from SuperV import *
-
-# Graph creation of GraphNonVoidEndLoop
-def DefGraphNonVoidEndLoop() :
- GraphNonVoidEndLoop = Graph( 'GraphNonVoidEndLoop' )
- GraphNonVoidEndLoop.SetName( 'GraphNonVoidEndLoop' )
- GraphNonVoidEndLoop.SetAuthor( '' )
- GraphNonVoidEndLoop.SetComment( '' )
- GraphNonVoidEndLoop.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'def Init(Index,Min,Max,Incr) : ' )
- PyInit.append( ' if Min <= Max : ' )
- PyInit.append( ' Index = Min ' )
- PyInit.append( ' else : ' )
- PyInit.append( ' Index = Max ' )
- PyInit.append( ' print 'Init',Index,Min,Max,Incr ' )
- PyInit.append( ' return Index,Min,Max,Incr ' )
- PyMoreInit = []
- PyMoreInit.append( 'import time ' )
- PyMoreInit.append( 'def More(Index,Min,Max,Incr) : ' )
- PyMoreInit.append( ' time.sleep(2) ' )
- PyMoreInit.append( ' if Index < Max : ' )
- PyMoreInit.append( ' DoLoop = 1 ' )
- PyMoreInit.append( ' else : ' )
- PyMoreInit.append( ' DoLoop = 0 ' )
- PyMoreInit.append( ' print 'More', DoLoop,Index,Min,Max,Incr ' )
- PyMoreInit.append( ' return DoLoop,Index,Min,Max,Incr ' )
- PyNextInit = []
- PyNextInit.append( 'def Next(Index,Min,Max,Incr) : ' )
- PyNextInit.append( ' Index = Index + Incr ' )
- PyNextInit.append( ' print 'Next', Index,Min,Max,Incr ' )
- PyNextInit.append( ' return Index,Min,Max,Incr ' )
- Init,EndInit = GraphNonVoidEndLoop.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( '' )
- EndInit.SetComment( 'Compute Node' )
- EndInit.Coords( 411 , 260 )
- PyEndInit = []
- PyEndInit.append( 'def EndLoop(DoLoop,Index,Min,Max,Incr) : ' )
- PyEndInit.append( ' print 'EndLoop',DoLoop,Index,Min,Max,Incr ' )
- PyEndInit.append( ' return DoLoop,Index,Min,Max,Incr ' )
- PyEndInit.append( '' )
- EndInit.SetPyFunction( 'EndLoop' , PyEndInit )
- IInitDoLoop = Init.GetInPort( 'DoLoop' )
- IInitIndex = Init.InPort( 'Index' , 'long' )
- IInitMin = Init.InPort( 'Min' , 'long' )
- IInitMax = Init.InPort( 'Max' , 'long' )
- IInitIncr = Init.InPort( 'Incr' , 'long' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitIndex = Init.GetOutPort( 'Index' )
- OInitMin = Init.GetOutPort( 'Min' )
- OInitMax = Init.GetOutPort( 'Max' )
- OInitIncr = Init.GetOutPort( 'Incr' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitIndex = EndInit.GetInPort( 'Index' )
- IEndInitMin = EndInit.GetInPort( 'Min' )
- IEndInitMax = EndInit.GetInPort( 'Max' )
- IEndInitIncr = EndInit.GetInPort( 'Incr' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitIndex = EndInit.GetOutPort( 'Index' )
- OEndInitMin = EndInit.GetOutPort( 'Min' )
- OEndInitMax = EndInit.GetOutPort( 'Max' )
- OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- Init.SetName( 'Init' )
- Init.SetAuthor( '' )
- Init.SetComment( 'Compute Node' )
- Init.Coords( 17 , 257 )
-
- # Creation of Links
- LInitIndexEndInitIndex = GraphNonVoidEndLoop.Link( OInitIndex , IEndInitIndex )
-
- LInitMinEndInitMin = GraphNonVoidEndLoop.Link( OInitMin , IEndInitMin )
-
- LInitMaxEndInitMax = GraphNonVoidEndLoop.Link( OInitMax , IEndInitMax )
-
- LInitIncrEndInitIncr = GraphNonVoidEndLoop.Link( OInitIncr , IEndInitIncr )
-
- # Input datas
- IInitIndex.Input( 0 )
- IInitMin.Input( 5 )
- IInitMax.Input( 10 )
- IInitIncr.Input( 1 )
-
- # Output Ports of the graph
- #OEndInitIndex = EndInit.GetOutPort( 'Index' )
- #OEndInitMin = EndInit.GetOutPort( 'Min' )
- #OEndInitMax = EndInit.GetOutPort( 'Max' )
- #OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- return GraphNonVoidEndLoop
-
-
-GraphNonVoidEndLoop = DefGraphNonVoidEndLoop()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitch
-#
-from SuperV import *
-
-# 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' )
- OInitLoopSwitchGate = InitLoopSwitch.GetOutPort( 'Gate' )
- 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 , 134 )
-
- 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 )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( 0 )
- IInitLoopSwitchMax.Input( 35 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- #OEndOfSwitcha = EndOfSwitch.GetOutPort( 'a' )
- return GraphSwitch
-
-
-GraphSwitch = DefGraphSwitch()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitch
-#
-from SuperV import *
-
-# 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' )
- OInitLoopSwitchGate = InitLoopSwitch.GetOutPort( 'Gate' )
- 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
- 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( 35 )
-
- # Input Ports of the graph
- #IEndOfSwitcha = EndOfSwitch.GetInPort( 'a' )
-
- # Output Ports of the graph
- #OIsOdda = IsOdd.GetOutPort( 'a' )
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- return GraphSwitch
-
-
-GraphSwitch = DefGraphSwitch()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphObjRef
-#
-from SuperV import *
-
-# Graph creation of GraphObjRef
-def DefGraphObjRef() :
- GraphObjRef = Graph( 'GraphObjRef' )
- GraphObjRef.SetName( 'GraphObjRef' )
- GraphObjRef.SetAuthor( '' )
- GraphObjRef.SetComment( '' )
- GraphObjRef.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Addition = GraphObjRef.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
- Addition.SetName( 'Addition' )
- Addition.SetAuthor( '' )
- Addition.SetContainer( 'localhost/AdditionServer' )
- Addition.SetComment( 'Addition from AddComponent' )
- Addition.Coords( 10 , 15 )
- IAdditionGate = Addition.GetInPort( 'Gate' )
- OAdditionAdder = Addition.GetOutPort( 'Adder' )
- OAdditionGate = Addition.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- PySyrComponent = []
- PySyrComponent.append( 'from LifeCycleCORBA import * ' )
- PySyrComponent.append( 'def SyrComponent( aContainer , aComponent ) : ' )
- PySyrComponent.append( ' print "SyrComponent(",aContainer,",",aComponent,")" ' )
- PySyrComponent.append( ' orb = CORBA.ORB_init([], CORBA.ORB_ID) ' )
- PySyrComponent.append( ' print "SyrComponent orb",orb ' )
- PySyrComponent.append( ' lcc = LifeCycleCORBA(orb) ' )
- PySyrComponent.append( ' print "SyrComponent lcc",lcc ' )
- PySyrComponent.append( ' print "SyrComponent(",aContainer,",",aComponent,")" ' )
- PySyrComponent.append( ' ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ' )
- PySyrComponent.append( ' print "SyrComponent(",aContainer,",",aComponent,") --> ",ComponentRef ' )
- PySyrComponent.append( ' return ComponentRef ' )
- PySyrComponent.append( '' )
- SyrComponent = GraphObjRef.INode( 'SyrComponent' , PySyrComponent )
- SyrComponent.SetName( 'SyrComponent' )
- SyrComponent.SetAuthor( '' )
- SyrComponent.SetComment( 'Compute Node' )
- SyrComponent.Coords( 26 , 209 )
- ISyrComponentaContainer = SyrComponent.InPort( 'aContainer' , 'string' )
- ISyrComponentaComponent = SyrComponent.InPort( 'aComponent' , 'string' )
- ISyrComponentGate = SyrComponent.GetInPort( 'Gate' )
- OSyrComponentanObjRef = SyrComponent.OutPort( 'anObjRef' , 'objref' )
- OSyrComponentGate = SyrComponent.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'from time import * ' )
- PyInit.append( 'def Init( Adder , anObjRef , Index ) : ' )
- PyInit.append( ' sleep( 1 ) ' )
- PyInit.append( ' return Adder,anObjRef,0 ' )
- PyInit.append( ' ' )
- PyMoreInit = []
- PyMoreInit.append( 'def More( Adder , anObjRef , Index ) : ' )
- PyMoreInit.append( ' OutLoop = 0 ' )
- PyMoreInit.append( ' if 10 > Index : ' )
- PyMoreInit.append( ' OutLoop = 1 ' )
- PyMoreInit.append( ' return OutLoop,Adder,anObjRef,Index ' )
- PyMoreInit.append( ' ' )
- PyNextInit = []
- PyNextInit.append( 'def Nextfori( Adder , anObjRef , Index ) : ' )
- PyNextInit.append( ' Index = Index + 1 ' )
- PyNextInit.append( ' return Adder,anObjRef,Index ' )
- PyNextInit.append( ' ' )
- Init,EndInit = GraphObjRef.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Nextfori' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( '' )
- EndInit.SetComment( 'Compute Node' )
- EndInit.Coords( 449 , 165 )
- PyEndInit = []
- EndInit.SetPyFunction( '' , PyEndInit )
- IInitDoLoop = Init.GetInPort( 'DoLoop' )
- IInitAddder = Init.InPort( 'Addder' , 'objref' )
- IInitanObjRef = Init.InPort( 'anObjRef' , 'objref' )
- IInitIndex = Init.InPort( 'Index' , 'long' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitAddder = Init.GetOutPort( 'Addder' )
- OInitanObjRef = Init.GetOutPort( 'anObjRef' )
- OInitIndex = Init.GetOutPort( 'Index' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitAddder = EndInit.GetInPort( 'Addder' )
- IEndInitanObjRef = EndInit.GetInPort( 'anObjRef' )
- IEndInitIndex = EndInit.GetInPort( 'Index' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitAddder = EndInit.GetOutPort( 'Addder' )
- OEndInitanObjRef = EndInit.GetOutPort( 'anObjRef' )
- OEndInitIndex = EndInit.GetOutPort( 'Index' )
- OEndInitGate = EndInit.GetOutPort( 'Gate' )
- Init.SetName( 'Init' )
- Init.SetAuthor( '' )
- Init.SetComment( 'Compute Node' )
- Init.Coords( 236 , 161 )
-
- # Creation of Links
- LAdditionAdderInitAddder = GraphObjRef.Link( OAdditionAdder , IInitAddder )
- LAdditionAdderInitAddder.AddCoord( 1 , 202 , 194 )
- LAdditionAdderInitAddder.AddCoord( 2 , 201 , 95 )
-
- LSyrComponentanObjRefInitanObjRef = GraphObjRef.Link( OSyrComponentanObjRef , IInitanObjRef )
- LSyrComponentanObjRefInitanObjRef.AddCoord( 1 , 209 , 224 )
- LSyrComponentanObjRefInitanObjRef.AddCoord( 2 , 208 , 289 )
-
- LInitAddderEndInitAddder = GraphObjRef.Link( OInitAddder , IEndInitAddder )
-
- LInitanObjRefEndInitanObjRef = GraphObjRef.Link( OInitanObjRef , IEndInitanObjRef )
-
- LInitIndexEndInitIndex = GraphObjRef.Link( OInitIndex , IEndInitIndex )
-
- # Input datas
- ISyrComponentaContainer.Input( 'FactoryServer' )
- ISyrComponentaComponent.Input( 'SyrComponent' )
- IInitIndex.Input( 0 )
-
- # Output Ports of the graph
- #OEndInitAddder = EndInit.GetOutPort( 'Addder' )
- #OEndInitanObjRef = EndInit.GetOutPort( 'anObjRef' )
- #OEndInitIndex = EndInit.GetOutPort( 'Index' )
- return GraphObjRef
-
-
-GraphObjRef = DefGraphObjRef()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphObjRefOMNIORB4
-#
-from SuperV import *
-
-# Graph creation of GraphObjRefOMNIORB4
-def DefGraphObjRefOMNIORB4() :
- GraphObjRefOMNIORB4 = Graph( 'GraphObjRefOMNIORB4' )
- GraphObjRefOMNIORB4.SetName( 'GraphObjRefOMNIORB4' )
- GraphObjRefOMNIORB4.SetAuthor( '' )
- GraphObjRefOMNIORB4.SetComment( '' )
- GraphObjRefOMNIORB4.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Addition = GraphObjRefOMNIORB4.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
- Addition.SetName( 'Addition' )
- Addition.SetAuthor( '' )
- Addition.SetContainer( 'localhost/FactoryServer' )
- Addition.SetComment( 'Addition from AddComponent' )
- Addition.Coords( 13 , 185 )
- IAdditionGate = Addition.GetInPort( 'Gate' )
- OAdditionAdder = Addition.GetOutPort( 'Adder' )
- OAdditionGate = Addition.GetOutPort( 'Gate' )
-
- EmbeddedAddition = GraphObjRefOMNIORB4.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
- EmbeddedAddition.SetName( 'EmbeddedAddition' )
- EmbeddedAddition.SetAuthor( '' )
- EmbeddedAddition.SetContainer( 'localhost/SuperVisionContainer' )
- EmbeddedAddition.SetComment( 'Addition from AddComponent' )
- EmbeddedAddition.Coords( 17 , 347 )
- IEmbeddedAdditionGate = EmbeddedAddition.GetInPort( 'Gate' )
- OEmbeddedAdditionAdder = EmbeddedAddition.GetOutPort( 'Adder' )
- OEmbeddedAdditionGate = EmbeddedAddition.GetOutPort( 'Gate' )
-
- AdditionObjRefs = GraphObjRefOMNIORB4.FNode( 'AddComponent' , 'AddComponent' , 'AdditionObjRefs' )
- AdditionObjRefs.SetName( 'AdditionObjRefs' )
- AdditionObjRefs.SetAuthor( '' )
- AdditionObjRefs.SetContainer( 'localhost/FactoryServer' )
- AdditionObjRefs.SetComment( 'AdditionObjRefs from AddComponent' )
- AdditionObjRefs.Coords( 453 , 164 )
- IAdditionObjRefsAddComponent1 = AdditionObjRefs.GetInPort( 'AddComponent1' )
- IAdditionObjRefsAdder2 = AdditionObjRefs.GetInPort( 'Adder2' )
- IAdditionObjRefsAdder3 = AdditionObjRefs.GetInPort( 'Adder3' )
- IAdditionObjRefsGate = AdditionObjRefs.GetInPort( 'Gate' )
- OAdditionObjRefsreturn = AdditionObjRefs.GetOutPort( 'return' )
- OAdditionObjRefsRetAddComponent1 = AdditionObjRefs.GetOutPort( 'RetAddComponent1' )
- OAdditionObjRefsRetAdder2 = AdditionObjRefs.GetOutPort( 'RetAdder2' )
- OAdditionObjRefsRetAdder3 = AdditionObjRefs.GetOutPort( 'RetAdder3' )
- OAdditionObjRefsGate = AdditionObjRefs.GetOutPort( 'Gate' )
-
- AdditionObjRefs_1 = GraphObjRefOMNIORB4.FNode( 'AddComponent' , 'AddComponent' , 'AdditionObjRefs' )
- AdditionObjRefs_1.SetName( 'AdditionObjRefs_1' )
- AdditionObjRefs_1.SetAuthor( '' )
- AdditionObjRefs_1.SetContainer( 'localhost/AdditionObjRefsServer' )
- AdditionObjRefs_1.SetComment( 'AdditionObjRefs from AddComponent' )
- AdditionObjRefs_1.Coords( 457 , 345 )
- IAdditionObjRefs_1AddComponent1 = AdditionObjRefs_1.GetInPort( 'AddComponent1' )
- IAdditionObjRefs_1Adder2 = AdditionObjRefs_1.GetInPort( 'Adder2' )
- IAdditionObjRefs_1Adder3 = AdditionObjRefs_1.GetInPort( 'Adder3' )
- IAdditionObjRefs_1Gate = AdditionObjRefs_1.GetInPort( 'Gate' )
- OAdditionObjRefs_1return = AdditionObjRefs_1.GetOutPort( 'return' )
- OAdditionObjRefs_1RetAddComponent1 = AdditionObjRefs_1.GetOutPort( 'RetAddComponent1' )
- OAdditionObjRefs_1RetAdder2 = AdditionObjRefs_1.GetOutPort( 'RetAdder2' )
- OAdditionObjRefs_1RetAdder3 = AdditionObjRefs_1.GetOutPort( 'RetAdder3' )
- OAdditionObjRefs_1Gate = AdditionObjRefs_1.GetOutPort( 'Gate' )
-
- # Creation of Computing Nodes
- LccAddComponent_ServiceinParameter = []
- LccAddComponent_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'SuperVisionTest::Adder' , 'Adder' ) )
- LccAddComponent_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'string' , 'aContainer' ) )
- LccAddComponent_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'string' , 'aComponentName' ) )
- LccAddComponent_ServiceoutParameter = []
- LccAddComponent_ServiceoutParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'Component' , 'return' ) )
- LccAddComponent_ServiceinStreamParameter = []
- LccAddComponent_ServiceoutStreamParameter = []
- LccAddComponent_Service = SALOME_ModuleCatalog.Service( 'LccAddComponent' , LccAddComponent_ServiceinParameter , LccAddComponent_ServiceoutParameter , LccAddComponent_ServiceinStreamParameter , LccAddComponent_ServiceoutStreamParameter , 0 , 0 )
- LccAddComponent = GraphObjRefOMNIORB4.CNode( LccAddComponent_Service )
- LccAddComponent.SetName( 'LccAddComponent' )
- LccAddComponent.SetAuthor( '' )
- LccAddComponent.SetComment( 'Compute Node' )
- LccAddComponent.Coords( 235 , 184 )
- ILccAddComponentAdder = LccAddComponent.GetInPort( 'Adder' )
- ILccAddComponentaContainer = LccAddComponent.GetInPort( 'aContainer' )
- ILccAddComponentaComponentName = LccAddComponent.GetInPort( 'aComponentName' )
- ILccAddComponentGate = LccAddComponent.GetInPort( 'Gate' )
- OLccAddComponentreturn = LccAddComponent.GetOutPort( 'return' )
- OLccAddComponentGate = LccAddComponent.GetOutPort( 'Gate' )
-
- EmbeddedLccAddComponent_ServiceinParameter = []
- EmbeddedLccAddComponent_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'SuperVisionTest::Adder' , 'Adder' ) )
- EmbeddedLccAddComponent_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'string' , 'aContainer' ) )
- EmbeddedLccAddComponent_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'string' , 'aComponentName' ) )
- EmbeddedLccAddComponent_ServiceoutParameter = []
- EmbeddedLccAddComponent_ServiceoutParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'Component' , 'return' ) )
- EmbeddedLccAddComponent_ServiceinStreamParameter = []
- EmbeddedLccAddComponent_ServiceoutStreamParameter = []
- EmbeddedLccAddComponent_Service = SALOME_ModuleCatalog.Service( 'LccAddComponent' , EmbeddedLccAddComponent_ServiceinParameter , EmbeddedLccAddComponent_ServiceoutParameter , EmbeddedLccAddComponent_ServiceinStreamParameter , EmbeddedLccAddComponent_ServiceoutStreamParameter , 0 , 0 )
- EmbeddedLccAddComponent = GraphObjRefOMNIORB4.CNode( EmbeddedLccAddComponent_Service )
- EmbeddedLccAddComponent.SetName( 'EmbeddedLccAddComponent' )
- EmbeddedLccAddComponent.SetAuthor( '' )
- EmbeddedLccAddComponent.SetComment( 'Compute Node' )
- EmbeddedLccAddComponent.Coords( 235 , 347 )
- IEmbeddedLccAddComponentAdder = EmbeddedLccAddComponent.GetInPort( 'Adder' )
- IEmbeddedLccAddComponentaContainer = EmbeddedLccAddComponent.GetInPort( 'aContainer' )
- IEmbeddedLccAddComponentaComponentName = EmbeddedLccAddComponent.GetInPort( 'aComponentName' )
- IEmbeddedLccAddComponentGate = EmbeddedLccAddComponent.GetInPort( 'Gate' )
- OEmbeddedLccAddComponentreturn = EmbeddedLccAddComponent.GetOutPort( 'return' )
- OEmbeddedLccAddComponentGate = EmbeddedLccAddComponent.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- PyAddComponent = []
- PyAddComponent.append( 'import CORBA ' )
- PyAddComponent.append( 'from LifeCycleCORBA import * ' )
- PyAddComponent.append( 'import SuperVisionTest ' )
- PyAddComponent.append( 'def defAddComponent( aContainer , aComponent ) : ' )
- PyAddComponent.append( ' orb = CORBA.ORB_init([], CORBA.ORB_ID) ' )
- PyAddComponent.append( ' lcc = LifeCycleCORBA(orb) ' )
- PyAddComponent.append( ' ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ' )
- PyAddComponent.append( ' ComponentObjRef = ComponentRef._narrow( SuperVisionTest.AddComponent ) ' )
- PyAddComponent.append( ' return ComponentObjRef._duplicate( SuperVisionTest.AddComponent ) ' )
- AddComponent = GraphObjRefOMNIORB4.INode( 'defAddComponent' , PyAddComponent )
- AddComponent.SetName( 'AddComponent' )
- AddComponent.SetAuthor( '' )
- AddComponent.SetComment( 'Compute Node' )
- AddComponent.Coords( 240 , 31 )
- IAddComponentaContainer = AddComponent.InPort( 'aContainer' , 'string' )
- IAddComponentaComponent = AddComponent.InPort( 'aComponent' , 'string' )
- IAddComponentGate = AddComponent.GetInPort( 'Gate' )
- OAddComponentAddComponentobjref = AddComponent.OutPort( 'AddComponentobjref' , 'objref' )
- OAddComponentGate = AddComponent.GetOutPort( 'Gate' )
-
- PyFindComponentInstance = []
- PyFindComponentInstance.append( 'from salome import * ' )
- PyFindComponentInstance.append( 'def FindComponentInstance( ComponentRef ) : ' )
- PyFindComponentInstance.append( ' MESSAGE("FindComponentInstance "+ str( ComponentRef )) ' )
- PyFindComponentInstance.append( ' print "FindComponentInstance",ComponentRef ' )
- PyFindComponentInstance.append( ' AddComponentObjRef = ComponentRef._narrow(Engines.EngineComponent) ' )
- PyFindComponentInstance.append( ' MESSAGE("FindComponentInstance") ' )
- PyFindComponentInstance.append( ' print "FindComponentInstance",AddComponentObjRef ' )
- PyFindComponentInstance.append( ' TheContainer = AddComponentObjRef.GetContainerRef() ' )
- PyFindComponentInstance.append( ' MESSAGE("FindComponentInstance") ' )
- PyFindComponentInstance.append( ' print "FindComponentInstance",TheContainer ' )
- PyFindComponentInstance.append( ' TheAddComponentObjRef=TheContainer.find_component_instance( "AddComponent" ,0 ) ' )
- PyFindComponentInstance.append( ' MESSAGE("FindComponentInstance "+ str( TheAddComponentObjRef )) ' )
- PyFindComponentInstance.append( ' print "FindComponentInstance",TheAddComponentObjRef ' )
- PyFindComponentInstance.append( ' return TheAddComponentObjRef ' )
- FindComponentInstance = GraphObjRefOMNIORB4.INode( 'FindComponentInstance' , PyFindComponentInstance )
- FindComponentInstance.SetName( 'FindComponentInstance' )
- FindComponentInstance.SetAuthor( '' )
- FindComponentInstance.SetComment( 'Compute Node' )
- FindComponentInstance.Coords( 648 , 184 )
- IFindComponentInstanceAddComponentObjRef = FindComponentInstance.InPort( 'AddComponentObjRef' , 'objref' )
- IFindComponentInstanceGate = FindComponentInstance.GetInPort( 'Gate' )
- OFindComponentInstanceAddComponentObjRef = FindComponentInstance.OutPort( 'AddComponentObjRef' , 'objref' )
- OFindComponentInstanceGate = FindComponentInstance.GetOutPort( 'Gate' )
-
- PyFindComponentInstance_1 = []
- PyFindComponentInstance_1.append( 'from salome import * ' )
- PyFindComponentInstance_1.append( 'def FindComponentInstance_1( ComponentRef ) : ' )
- PyFindComponentInstance_1.append( ' print "FindComponentInstance_1 beginning" ' )
- PyFindComponentInstance_1.append( ' MESSAGE("FindComponentInstance_1 "+ str( ComponentRef ) ) ' )
- PyFindComponentInstance_1.append( ' print "FindComponentInstance_1",ComponentRef ' )
- PyFindComponentInstance_1.append( ' AddComponentObjRef = ComponentRef._narrow(Engines.EngineComponent) ' )
- PyFindComponentInstance_1.append( ' MESSAGE("FindComponentInstance_1") ' )
- PyFindComponentInstance_1.append( ' print "FindComponentInstance_1",AddComponentObjRef ' )
- PyFindComponentInstance_1.append( ' TheContainer = AddComponentObjRef.GetContainerRef() ' )
- PyFindComponentInstance_1.append( ' MESSAGE("FindComponentInstance_1") ' )
- PyFindComponentInstance_1.append( ' print "FindComponentInstance_1",TheContainer ' )
- PyFindComponentInstance_1.append( ' TheAddComponentObjRef=TheContainer.find_component_instance( "AddComponent" ,0 ) ' )
- PyFindComponentInstance_1.append( ' if TheAddComponentObjRef == None : ' )
- PyFindComponentInstance_1.append( ' MESSAGE("FindComponentInstance_1 None") ' )
- PyFindComponentInstance_1.append( ' else : ' )
- PyFindComponentInstance_1.append( ' MESSAGE("FindComponentInstance_1") ' )
- PyFindComponentInstance_1.append( ' print "FindComponentInstance_1",TheAddComponentObjRef ' )
- PyFindComponentInstance_1.append( ' return TheAddComponentObjRef ' )
- FindComponentInstance_1 = GraphObjRefOMNIORB4.INode( 'FindComponentInstance_1' , PyFindComponentInstance_1 )
- FindComponentInstance_1.SetName( 'FindComponentInstance_1' )
- FindComponentInstance_1.SetAuthor( '' )
- FindComponentInstance_1.SetComment( 'Compute Node' )
- FindComponentInstance_1.Coords( 647 , 31 )
- IFindComponentInstance_1AddComponentRef = FindComponentInstance_1.InPort( 'AddComponentRef' , 'objref' )
- IFindComponentInstance_1Gate = FindComponentInstance_1.GetInPort( 'Gate' )
- OFindComponentInstance_1AddComponentRef = FindComponentInstance_1.OutPort( 'AddComponentRef' , 'objref' )
- OFindComponentInstance_1Gate = FindComponentInstance_1.GetOutPort( 'Gate' )
-
- # Creation of Links
- LAddComponentAddComponentobjrefAdditionObjRefsAddComponent1 = GraphObjRefOMNIORB4.Link( OAddComponentAddComponentobjref , IAdditionObjRefsAddComponent1 )
-
- LAddComponentAddComponentobjrefFindComponentInstance_1AddComponentRef = GraphObjRefOMNIORB4.Link( OAddComponentAddComponentobjref , IFindComponentInstance_1AddComponentRef )
-
- LAddComponentAddComponentobjrefAdditionObjRefs_1AddComponent1 = GraphObjRefOMNIORB4.Link( OAddComponentAddComponentobjref , IAdditionObjRefs_1AddComponent1 )
-
- LAdditionAdderLccAddComponentAdder = GraphObjRefOMNIORB4.Link( OAdditionAdder , ILccAddComponentAdder )
-
- LEmbeddedAdditionAdderEmbeddedLccAddComponentAdder = GraphObjRefOMNIORB4.Link( OEmbeddedAdditionAdder , IEmbeddedLccAddComponentAdder )
-
- LLccAddComponentreturnAdditionObjRefsAdder2 = GraphObjRefOMNIORB4.Link( OLccAddComponentreturn , IAdditionObjRefsAdder2 )
-
- LLccAddComponentreturnAdditionObjRefs_1Adder2 = GraphObjRefOMNIORB4.Link( OLccAddComponentreturn , IAdditionObjRefs_1Adder2 )
-
- LEmbeddedLccAddComponentreturnAdditionObjRefsAdder3 = GraphObjRefOMNIORB4.Link( OEmbeddedLccAddComponentreturn , IAdditionObjRefsAdder3 )
-
- LEmbeddedLccAddComponentreturnAdditionObjRefs_1Adder3 = GraphObjRefOMNIORB4.Link( OEmbeddedLccAddComponentreturn , IAdditionObjRefs_1Adder3 )
-
- LAdditionObjRefsRetAddComponent1FindComponentInstanceAddComponentObjRef = GraphObjRefOMNIORB4.Link( OAdditionObjRefsRetAddComponent1 , IFindComponentInstanceAddComponentObjRef )
-
- # Input datas
- IAddComponentaContainer.Input( 'FactoryServer' )
- IAddComponentaComponent.Input( 'AddComponent' )
- ILccAddComponentaContainer.Input( 'FactoryServer' )
- ILccAddComponentaComponentName.Input( 'AddComponent' )
- IEmbeddedLccAddComponentaContainer.Input( 'SuperVisionContainer' )
- IEmbeddedLccAddComponentaComponentName.Input( 'AddComponent' )
-
- # Output Ports of the graph
- #OAdditionObjRefsreturn = AdditionObjRefs.GetOutPort( 'return' )
- #OAdditionObjRefsRetAdder2 = AdditionObjRefs.GetOutPort( 'RetAdder2' )
- #OAdditionObjRefsRetAdder3 = AdditionObjRefs.GetOutPort( 'RetAdder3' )
- #OFindComponentInstanceAddComponentObjRef = FindComponentInstance.GetOutPort( 'AddComponentObjRef' )
- #OFindComponentInstance_1AddComponentRef = FindComponentInstance_1.GetOutPort( 'AddComponentRef' )
- #OAdditionObjRefs_1return = AdditionObjRefs_1.GetOutPort( 'return' )
- #OAdditionObjRefs_1RetAddComponent1 = AdditionObjRefs_1.GetOutPort( 'RetAddComponent1' )
- #OAdditionObjRefs_1RetAdder2 = AdditionObjRefs_1.GetOutPort( 'RetAdder2' )
- #OAdditionObjRefs_1RetAdder3 = AdditionObjRefs_1.GetOutPort( 'RetAdder3' )
- return GraphObjRefOMNIORB4
-
-
-GraphObjRefOMNIORB4 = DefGraphObjRefOMNIORB4()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-from SuperV import *
-import Engines
-def FindComponentInstance( ComponentRef ) :
- print "FindComponentInstance",ComponentRef
- AddComponentObjRef = ComponentRef._narrow(Engines.EngineComponent)
- print "FindComponentInstance",AddComponentObjRef
- TheContainer = AddComponentObjRef.GetContainerRef()
- print "FindComponentInstance",TheContainer
- TheAddComponentObjRef=TheContainer.find_component_instance( "AddComponent" , 0 )
- print "FindComponentInstance",TheAddComponentObjRef
- return TheAddComponentObjRef
-
-from LifeCycleCORBA import *
-def defAddComponent( aContainer , aComponent ) :
- orb = CORBA.ORB_init([], CORBA.ORB_ID)
- lcc = LifeCycleCORBA(orb)
- ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent )
- return ComponentRef
-
-AddComponent = defAddComponent( 'FactoryServer' , 'AddComponent' )
-AddComponent._narrow( Engines.EngineComponent ).ping()
-
-ComponentRef = FindComponentInstance( AddComponent )
-ComponentRef.ping()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphPyFunctions_1
-#
-from SuperV import *
-
-# Graph creation of GraphPyFunctions_1
-def DefGraphPyFunctions_1() :
- GraphPyFunctions_1 = Graph( 'GraphPyFunctions_1' )
- GraphPyFunctions_1.SetName( 'GraphPyFunctions_1' )
- GraphPyFunctions_1.SetAuthor( '' )
- GraphPyFunctions_1.SetComment( '' )
- GraphPyFunctions_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- IsOdd = GraphPyFunctions_1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 388 , 50 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsOdd_1 = []
- PyIsOdd_1.append( 'from time import * ' )
- PyIsOdd_1.append( 'def IsOdd(a) : ' )
- PyIsOdd_1.append( ' print a,"IsOdd" ' )
- PyIsOdd_1.append( ' sleep( 1 ) ' )
- PyIsOdd_1.append( ' return a ' )
- IsOdd_1 = GraphPyFunctions_1.INode( 'IsOdd' , PyIsOdd_1 )
- IsOdd_1.SetName( 'IsOdd_1' )
- IsOdd_1.SetAuthor( '' )
- IsOdd_1.SetComment( 'Python function' )
- IsOdd_1.Coords( 391 , 288 )
- IIsOdd_1a = IsOdd_1.InPort( 'a' , 'long' )
- IIsOdd_1Gate = IsOdd_1.GetInPort( 'Gate' )
- OIsOdd_1a = IsOdd_1.OutPort( 'a' , 'long' )
- OIsOdd_1Gate = IsOdd_1.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyInitLoop.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoop.append( ' return Index,Min,Max ' )
- PyMoreInitLoop = []
- PyMoreInitLoop.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoop.append( ' if Index <= Max : ' )
- PyMoreInitLoop.append( ' DoLoop = 1 ' )
- PyMoreInitLoop.append( ' else : ' )
- PyMoreInitLoop.append( ' DoLoop = 0 ' )
- PyMoreInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- PyNextInitLoop = []
- PyNextInitLoop.append( 'def NextLoop(Index,Min,Max) : ' )
- PyNextInitLoop.append( ' Index = Index + 1 ' )
- PyNextInitLoop.append( ' return Index,Min,Max ' )
- InitLoop,EndOfInitLoop = GraphPyFunctions_1.LNode( 'InitLoop' , PyInitLoop , 'MoreLoop' , PyMoreInitLoop , 'NextLoop' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 766 , 127 )
- PyEndOfInitLoop = []
- EndOfInitLoop.SetPyFunction( 'EndInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- IInitLoopGate = InitLoop.GetInPort( 'Gate' )
- OInitLoopDoLoop = InitLoop.GetOutPort( 'DoLoop' )
- OInitLoopIndex = InitLoop.GetOutPort( 'Index' )
- OInitLoopMin = InitLoop.GetOutPort( 'Min' )
- OInitLoopMax = InitLoop.GetOutPort( 'Max' )
- IEndOfInitLoopDoLoop = EndOfInitLoop.GetInPort( 'DoLoop' )
- IEndOfInitLoopIndex = EndOfInitLoop.GetInPort( 'Index' )
- IEndOfInitLoopMin = EndOfInitLoop.GetInPort( 'Min' )
- IEndOfInitLoopMax = EndOfInitLoop.GetInPort( 'Max' )
- IEndOfInitLoopGate = EndOfInitLoop.GetInPort( 'Gate' )
- OEndOfInitLoopDoLoop = EndOfInitLoop.GetOutPort( 'DoLoop' )
- OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- OEndOfInitLoopGate = EndOfInitLoop.GetOutPort( 'Gate' )
- InitLoop.SetName( 'InitLoop' )
- InitLoop.SetAuthor( '' )
- InitLoop.SetComment( 'Compute Node' )
- InitLoop.Coords( 10 , 129 )
-
- PyInitLoop_1 = []
- PyMoreInitLoop_1 = []
- PyMoreInitLoop_1.append( '' )
- PyNextInitLoop_1 = []
- PyNextInitLoop_1.append( '' )
- InitLoop_1,EndOfInitLoop_1 = GraphPyFunctions_1.LNode( 'InitLoop' , PyInitLoop_1 , 'MoreLoop' , PyMoreInitLoop_1 , 'NextLoop' , PyNextInitLoop_1 )
- EndOfInitLoop_1.SetName( 'EndOfInitLoop_1' )
- EndOfInitLoop_1.SetAuthor( '' )
- EndOfInitLoop_1.SetComment( 'Compute Node' )
- EndOfInitLoop_1.Coords( 784 , 361 )
- PyEndOfInitLoop_1 = []
- EndOfInitLoop_1.SetPyFunction( 'EndInitLoop' , PyEndOfInitLoop_1 )
- IInitLoop_1DoLoop = InitLoop_1.GetInPort( 'DoLoop' )
- IInitLoop_1Index = InitLoop_1.InPort( 'Index' , 'long' )
- IInitLoop_1Min = InitLoop_1.InPort( 'Min' , 'long' )
- IInitLoop_1Max = InitLoop_1.InPort( 'Max' , 'long' )
- IInitLoop_1Gate = InitLoop_1.GetInPort( 'Gate' )
- OInitLoop_1DoLoop = InitLoop_1.GetOutPort( 'DoLoop' )
- OInitLoop_1Index = InitLoop_1.GetOutPort( 'Index' )
- OInitLoop_1Min = InitLoop_1.GetOutPort( 'Min' )
- OInitLoop_1Max = InitLoop_1.GetOutPort( 'Max' )
- IEndOfInitLoop_1DoLoop = EndOfInitLoop_1.GetInPort( 'DoLoop' )
- IEndOfInitLoop_1Index = EndOfInitLoop_1.GetInPort( 'Index' )
- IEndOfInitLoop_1Min = EndOfInitLoop_1.GetInPort( 'Min' )
- IEndOfInitLoop_1Max = EndOfInitLoop_1.GetInPort( 'Max' )
- IEndOfInitLoop_1Gate = EndOfInitLoop_1.GetInPort( 'Gate' )
- OEndOfInitLoop_1DoLoop = EndOfInitLoop_1.GetOutPort( 'DoLoop' )
- OEndOfInitLoop_1Index = EndOfInitLoop_1.GetOutPort( 'Index' )
- OEndOfInitLoop_1Min = EndOfInitLoop_1.GetOutPort( 'Min' )
- OEndOfInitLoop_1Max = EndOfInitLoop_1.GetOutPort( 'Max' )
- OEndOfInitLoop_1Gate = EndOfInitLoop_1.GetOutPort( 'Gate' )
- InitLoop_1.SetName( 'InitLoop_1' )
- InitLoop_1.SetAuthor( '' )
- InitLoop_1.SetComment( 'Compute Node' )
- InitLoop_1.Coords( 12 , 369 )
-
- # Creation of Switch Nodes
- PySwitch = []
- Switch,EndOfSwitch = GraphPyFunctions_1.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 587 , 126 )
- PyEndOfSwitch = []
- EndOfSwitch.SetPyFunction( 'EndOfSwitch_1' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 186 , 130 )
- ISwitcha = Switch.InPort( 'a' , 'long' )
- ISwitchGate = Switch.GetInPort( 'Gate' )
- OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
- OSwitchEven = Switch.OutPort( 'Even' , 'int' )
- OSwitcha = Switch.OutPort( 'a' , 'int' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- PySwitch_1 = []
- PySwitch_1.append( 'from time import * ' )
- PySwitch_1.append( 'def Switch(a) : ' )
- PySwitch_1.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch_1.append( ' sleep(1) ' )
- PySwitch_1.append( ' return a & 1,1-(a&1),a ' )
- Switch_1,EndOfSwitch_1 = GraphPyFunctions_1.SNode( 'Switch' , PySwitch_1 )
- EndOfSwitch_1.SetName( 'EndOfSwitch_1' )
- EndOfSwitch_1.SetAuthor( '' )
- EndOfSwitch_1.SetComment( 'Compute Node' )
- EndOfSwitch_1.Coords( 594 , 362 )
- PyEndOfSwitch_1 = []
- EndOfSwitch_1.SetPyFunction( 'EndOfSwitch_1' , PyEndOfSwitch_1 )
- IEndOfSwitch_1a = EndOfSwitch_1.InPort( 'a' , 'long' )
- IEndOfSwitch_1Default = EndOfSwitch_1.GetInPort( 'Default' )
- OEndOfSwitch_1a = EndOfSwitch_1.OutPort( 'a' , 'long' )
- OEndOfSwitch_1Gate = EndOfSwitch_1.GetOutPort( 'Gate' )
- Switch_1.SetName( 'Switch_1' )
- Switch_1.SetAuthor( '' )
- Switch_1.SetComment( 'Compute Node' )
- Switch_1.Coords( 185 , 368 )
- ISwitch_1a = Switch_1.InPort( 'a' , 'long' )
- ISwitch_1Gate = Switch_1.GetInPort( 'Gate' )
- OSwitch_1Odd = Switch_1.OutPort( 'Odd' , 'long' )
- OSwitch_1Even = Switch_1.OutPort( 'Even' , 'int' )
- OSwitch_1a = Switch_1.OutPort( 'a' , 'int' )
- OSwitch_1Default = Switch_1.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitcha = GraphPyFunctions_1.Link( OIsOdda , IEndOfSwitcha )
- LIsOddaEndOfSwitcha.AddCoord( 1 , 571 , 160 )
- LIsOddaEndOfSwitcha.AddCoord( 2 , 571 , 129 )
-
- LIsOdd_1aEndOfSwitch_1a = GraphPyFunctions_1.Link( OIsOdd_1a , IEndOfSwitch_1a )
- LIsOdd_1aEndOfSwitch_1a.AddCoord( 1 , 580 , 396 )
- LIsOdd_1aEndOfSwitch_1a.AddCoord( 2 , 580 , 368 )
-
- LInitLoopIndexSwitcha = GraphPyFunctions_1.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphPyFunctions_1.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphPyFunctions_1.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LInitLoop_1IndexSwitch_1a = GraphPyFunctions_1.Link( OInitLoop_1Index , ISwitch_1a )
-
- LInitLoop_1MinEndOfInitLoop_1Min = GraphPyFunctions_1.Link( OInitLoop_1Min , IEndOfInitLoop_1Min )
-
- LInitLoop_1MaxEndOfInitLoop_1Max = GraphPyFunctions_1.Link( OInitLoop_1Max , IEndOfInitLoop_1Max )
-
- LSwitchOddIsOddGate = GraphPyFunctions_1.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchaIsOdda = GraphPyFunctions_1.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 366 , 131 )
- LSwitchaIsOdda.AddCoord( 2 , 365 , 223 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphPyFunctions_1.Link( OSwitchDefault , IEndOfSwitchDefault )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 1 , 572 , 194 )
- LSwitchDefaultEndOfSwitchDefault.AddCoord( 2 , 571 , 257 )
-
- LEndOfSwitchaEndOfInitLoopIndex = GraphPyFunctions_1.Link( OEndOfSwitcha , IEndOfInitLoopIndex )
-
- LSwitch_1OddIsOdd_1Gate = GraphPyFunctions_1.Link( OSwitch_1Odd , IIsOdd_1Gate )
-
- LSwitch_1aIsOdd_1a = GraphPyFunctions_1.Link( OSwitch_1a , IIsOdd_1a )
- LSwitch_1aIsOdd_1a.AddCoord( 1 , 368 , 368 )
- LSwitch_1aIsOdd_1a.AddCoord( 2 , 367 , 460 )
-
- LSwitch_1DefaultEndOfSwitch_1Default = GraphPyFunctions_1.Link( OSwitch_1Default , IEndOfSwitch_1Default )
-
- LEndOfSwitch_1aEndOfInitLoop_1Index = GraphPyFunctions_1.Link( OEndOfSwitch_1a , IEndOfInitLoop_1Index )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 0 )
- IInitLoopMax.Input( 25 )
- IInitLoop_1Index.Input( 0 )
- IInitLoop_1Min.Input( 0 )
- IInitLoop_1Max.Input( 35 )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- #OEndOfInitLoop_1Index = EndOfInitLoop_1.GetOutPort( 'Index' )
- #OEndOfInitLoop_1Min = EndOfInitLoop_1.GetOutPort( 'Min' )
- #OEndOfInitLoop_1Max = EndOfInitLoop_1.GetOutPort( 'Max' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- #OSwitch_1Even = Switch_1.GetOutPort( 'Even' )
- return GraphPyFunctions_1
-
-
-GraphPyFunctions_1 = DefGraphPyFunctions_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow_2
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow_2
-def DefaNewDataFlow_2() :
- aNewDataFlow_2 = Graph( 'aNewDataFlow_2' )
- aNewDataFlow_2.SetName( 'aNewDataFlow_2' )
- aNewDataFlow_2.SetAuthor( '' )
- aNewDataFlow_2.SetComment( '' )
- aNewDataFlow_2.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyErrorNode = []
- PyErrorNode.append( 'def ErrorNode(a,b) ' )
- PyErrorNode.append( ' return a&b ' )
- ErrorNode = aNewDataFlow_2.INode( 'ErrorNode' , PyErrorNode )
- ErrorNode.SetName( 'ErrorNode' )
- ErrorNode.SetAuthor( '' )
- ErrorNode.SetComment( 'Compute Node' )
- ErrorNode.Coords( 0 , 0 )
- IErrorNodea = ErrorNode.InPort( 'a' , 'boolean' )
- IErrorNodeb = ErrorNode.InPort( 'b' , 'boolean' )
- IErrorNodeGate = ErrorNode.GetInPort( 'Gate' )
- OErrorNodec = ErrorNode.OutPort( 'c' , 'boolean' )
- OErrorNodeGate = ErrorNode.GetOutPort( 'Gate' )
-
- # Input datas
- IErrorNodea.Input( 1 )
- IErrorNodeb.Input( 0 )
-
- # Output Ports of the graph
- #OErrorNodec = ErrorNode.GetOutPort( 'c' )
- return aNewDataFlow_2
-
-
-aNewDataFlow_2 = DefaNewDataFlow_2()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-# File : GraphRunSyr.py
-# Module : SuperVisionTest
-#
-from SuperV import *
-
-# Warning this script has an IOR (object reference) as Input :
-# You may have to redefine it with the result of :
-# SyrStruct.ComponentRef( 'FactoryServer' , 'SyrComponent' )
-# See the Input Port forN.InPort( 'SyrComponent' , 'ComponentRef' )
-
-#SyrStruct = Graph('../share/salome/resources/SyrStruct.xml')
-SyrStruct = Graph('/home/data/jr_HEAD/build/share/salome/resources/SyrStruct.xml')
-
-exec SyrStruct.ListNodes()
-
-forN.Input('min',5)
-forN.Input('max',8)
-
-SyrStruct.Start()
-
-endforN.State()
-
-SyrStruct.State()
-
-endforN.Suspend()
-
-forN.State()
-
-N = forN.Port( 'N' )
-EndN = endwhileNotOne.Port( 'N' )
-K = endforN.Port( 'K' )
-
-forN.Resume()
-
-while SyrStruct.IsDone() == 0 :
- endforN.SuspendedW()
- if SyrStruct.IsDone() == 0 :
- print N.ToString(),'-->',EndN.ToString(),'with',K.ToString(),'steps'
- endforN.Resume()
-
-SyrStruct.State()
-
-SyrStruct.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSIGFPE
-#
-from SuperV import *
-
-# Graph creation of GraphSIGFPE
-def DefGraphSIGFPE() :
- GraphSIGFPE = Graph( 'GraphSIGFPE' )
- GraphSIGFPE.SetName( 'GraphSIGFPE' )
- GraphSIGFPE.SetAuthor( 'JR' )
- GraphSIGFPE.SetComment( '' )
- GraphSIGFPE.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- SIGFPEfunc = GraphSIGFPE.FNode( 'SIGNALSComponent' , 'SIGNALSComponent' , 'SIGFPEfunc' )
- SIGFPEfunc.SetName( 'SIGFPEfunc' )
- SIGFPEfunc.SetAuthor( '' )
- SIGFPEfunc.SetContainer( 'localhost/FactoryServer' )
- SIGFPEfunc.SetComment( 'SIGFPEfunc from SIGNALSComponent' )
- SIGFPEfunc.Coords( 134 , 137 )
- ISIGFPEfunca = SIGFPEfunc.GetInPort( 'a' )
- ISIGFPEfuncb = SIGFPEfunc.GetInPort( 'b' )
- ISIGFPEfuncGate = SIGFPEfunc.GetInPort( 'Gate' )
- OSIGFPEfuncreturn = SIGFPEfunc.GetOutPort( 'return' )
- OSIGFPEfuncGate = SIGFPEfunc.GetOutPort( 'Gate' )
-
- # Input datas
- ISIGFPEfunca.Input( 1 )
- ISIGFPEfuncb.Input( 0 )
-
- # Output Ports of the graph
- #OSIGFPEfuncreturn = SIGFPEfunc.GetOutPort( 'return' )
- return GraphSIGFPE
-
-
-GraphSIGFPE = DefGraphSIGFPE()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph SIGFPEPython
-#
-from SuperV import *
-
-# Graph creation of SIGFPEPython
-def DefSIGFPEPython() :
- SIGFPEPython = Graph( 'SIGFPEPython' )
- SIGFPEPython.SetName( 'SIGFPEPython' )
- SIGFPEPython.SetAuthor( 'JR' )
- SIGFPEPython.SetComment( '' )
- SIGFPEPython.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PySIGFPEPython = []
- PySIGFPEPython.append( 'def SIGFPEPython() : ' )
- PySIGFPEPython.append( ' import libSIGNALSComponent_Swig ' )
- PySIGFPEPython.append( ' s = libSIGNALSComponent_Swig.SIGNALSComponentEngine() ' )
- PySIGFPEPython.append( ' s.SIGFPEfunc(1,0) ' )
- PySIGFPEPython.append( ' ' )
- SIGFPEPython = SIGFPEPython.INode( 'SIGFPEPython' , PySIGFPEPython )
- SIGFPEPython.SetName( 'SIGFPEPython' )
- SIGFPEPython.SetAuthor( '' )
- SIGFPEPython.SetComment( 'Compute Node' )
- SIGFPEPython.Coords( 118 , 159 )
- ISIGFPEPythonGate = SIGFPEPython.GetInPort( 'Gate' )
- OSIGFPEPythonGate = SIGFPEPython.GetOutPort( 'Gate' )
-
- # Output Ports of the graph
- return SIGFPEPython
-
-
-SIGFPEPython = DefSIGFPEPython()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSIGSEGV
-#
-from SuperV import *
-
-# Graph creation of GraphSIGSEGV
-def DefGraphSIGSEGV() :
- GraphSIGSEGV = Graph( 'GraphSIGSEGV' )
- GraphSIGSEGV.SetName( 'GraphSIGSEGV' )
- GraphSIGSEGV.SetAuthor( 'JR' )
- GraphSIGSEGV.SetComment( '' )
- GraphSIGSEGV.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- SIGSEGVfunc = GraphSIGSEGV.FNode( 'SIGNALSComponent' , 'SIGNALSComponent' , 'SIGSEGVfunc' )
- SIGSEGVfunc.SetName( 'SIGSEGVfunc' )
- SIGSEGVfunc.SetAuthor( '' )
- SIGSEGVfunc.SetContainer( 'localhost/FactoryServer' )
- SIGSEGVfunc.SetComment( 'SIGSEGVfunc from SIGNALSComponent' )
- SIGSEGVfunc.Coords( 152 , 197 )
- ISIGSEGVfuncGate = SIGSEGVfunc.GetInPort( 'Gate' )
- OSIGSEGVfuncreturn = SIGSEGVfunc.GetOutPort( 'return' )
- OSIGSEGVfuncGate = SIGSEGVfunc.GetOutPort( 'Gate' )
-
- # Output Ports of the graph
- #OSIGSEGVfuncreturn = SIGSEGVfunc.GetOutPort( 'return' )
- return GraphSIGSEGV
-
-
-GraphSIGSEGV = DefGraphSIGSEGV()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSIGSEGVPython
-#
-from SuperV import *
-
-# Graph creation of GraphSIGSEGVPython
-def DefGraphSIGSEGVPython() :
- GraphSIGSEGVPython = Graph( 'GraphSIGSEGVPython' )
- GraphSIGSEGVPython.SetName( 'GraphSIGSEGVPython' )
- GraphSIGSEGVPython.SetAuthor( 'JR' )
- GraphSIGSEGVPython.SetComment( '' )
- GraphSIGSEGVPython.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PySIGSEGVPython = []
- PySIGSEGVPython.append( 'def SIGSEGVPython() : ' )
- PySIGSEGVPython.append( ' import libSIGNALSComponent_Swig ' )
- PySIGSEGVPython.append( ' s = libSIGNALSComponent_Swig.SIGNALSComponentEngine() ' )
- PySIGSEGVPython.append( ' s.SIGSEGVfunc() ' )
- PySIGSEGVPython.append( ' ' )
- SIGSEGVPython = GraphSIGSEGVPython.INode( 'SIGSEGVPython' , PySIGSEGVPython )
- SIGSEGVPython.SetName( 'SIGSEGVPython' )
- SIGSEGVPython.SetAuthor( '' )
- SIGSEGVPython.SetComment( 'Compute Node' )
- SIGSEGVPython.Coords( 105 , 143 )
- ISIGSEGVPythonGate = SIGSEGVPython.GetInPort( 'Gate' )
- OSIGSEGVPythonGate = SIGSEGVPython.GetOutPort( 'Gate' )
-
- # Output Ports of the graph
- return GraphSIGSEGVPython
-
-
-GraphSIGSEGVPython = DefGraphSIGSEGVPython()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphStream
-#
-from SuperV import *
-# Graph creation
-GraphStream = StreamGraph( 'GraphStream' )
-GraphStream.SetStreamParams( 0 , SUPERV.WithoutTrace , 0 )
-GraphStream.SetName( 'GraphStream' )
-GraphStream.SetAuthor( '' )
-GraphStream.SetComment( 'Test of DataStreamPorts in FactoryNodes' )
-GraphStream.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-NewDataStream = GraphStream.FNode( 'DataStreamFactory' , 'DataStreamFactory' , 'NewDataStream' )
-NewDataStream.SetName( 'NewDataStream' )
-NewDataStream.SetAuthor( '' )
-NewDataStream.SetContainer( 'FactoryServer' )
-NewDataStream.SetComment( 'NewDataStream from DataStreamFactory' )
-NewDataStream.Coords( 4 , 10 )
-INewDataStreamGate = NewDataStream.GetInPort( 'Gate' )
-ONewDataStreamDataStream = NewDataStream.GetOutPort( 'DataStream' )
-ONewDataStreamGate = NewDataStream.GetOutPort( 'Gate' )
-
-Add = GraphStream.FNode( 'DataStreamFactory' , 'DataStreamFactory' , 'Add' )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetContainer( 'FactoryServer' )
-Add.SetComment( 'Add from DataStreamFactory from DataStreamComponent' )
-Add.Coords( 6 , 370 )
-IAddx = Add.GetInPort( 'x' )
-IAddy = Add.GetInPort( 'y' )
-IAddGate = Add.GetInPort( 'Gate' )
-OAddz = Add.GetOutPort( 'z' )
-OAddGate = Add.GetOutPort( 'Gate' )
-IAddistream = Add.GetInStreamPort( 'istream' )
-IAddistream.SetParams( SUPERV.SCHENULL , SUPERV.INTERNULL , SUPERV.EXTRANULL )
-OAddostream = Add.GetOutStreamPort( 'ostream' )
-OAddostream.SetNumberOfValues( 0 )
-OAddOStream = Add.GetOutStreamPort( 'OStream' )
-OAddOStream.SetNumberOfValues( 0 )
-
-Sub = GraphStream.FNode( 'DataStreamFactory' , 'DataStreamFactory' , 'Sub' )
-Sub.SetName( 'Sub' )
-Sub.SetAuthor( '' )
-Sub.SetContainer( 'FactoryServer' )
-Sub.SetComment( 'Sub from DataStreamFactory from DataStreamComponent' )
-Sub.Coords( 234 , 216 )
-ISubx = Sub.GetInPort( 'x' )
-ISuby = Sub.GetInPort( 'y' )
-ISubGate = Sub.GetInPort( 'Gate' )
-OSubz = Sub.GetOutPort( 'z' )
-OSubGate = Sub.GetOutPort( 'Gate' )
-ISubistream = Sub.GetInStreamPort( 'istream' )
-ISubistream.SetParams( SUPERV.SCHENULL , SUPERV.INTERNULL , SUPERV.EXTRANULL )
-ISubIstream = Sub.GetInStreamPort( 'Istream' )
-ISubIstream.SetParams( SUPERV.SCHENULL , SUPERV.INTERNULL , SUPERV.EXTRANULL )
-
-Mul = GraphStream.FNode( 'DataStreamFactory' , 'DataStreamFactory' , 'Mul' )
-Mul.SetName( 'Mul' )
-Mul.SetAuthor( '' )
-Mul.SetContainer( 'FactoryServer' )
-Mul.SetComment( 'Mul from DataStreamFactory from DataStreamComponent' )
-Mul.Coords( 448 , 342 )
-IMulx = Mul.GetInPort( 'x' )
-IMuly = Mul.GetInPort( 'y' )
-IMulGate = Mul.GetInPort( 'Gate' )
-OMulz = Mul.GetOutPort( 'z' )
-OMulGate = Mul.GetOutPort( 'Gate' )
-
-Div = GraphStream.FNode( 'DataStreamFactory' , 'DataStreamFactory' , 'Div' )
-Div.SetName( 'Div' )
-Div.SetAuthor( '' )
-Div.SetContainer( 'FactoryServer' )
-Div.SetComment( 'Div from DataStreamFactory from DataStreamComponent' )
-Div.Coords( 678 , 214 )
-IDivx = Div.GetInPort( 'x' )
-IDivy = Div.GetInPort( 'y' )
-IDivGate = Div.GetInPort( 'Gate' )
-ODivz = Div.GetOutPort( 'z' )
-ODivGate = Div.GetOutPort( 'Gate' )
-ODivostream = Div.GetOutStreamPort( 'ostream' )
-ODivostream.SetNumberOfValues( 0 )
-
-# Creation of Computing Nodes
-StreamAdd_ServiceinParameter = []
-StreamAdd_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'objref' , 'this' ) )
-StreamAdd_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'long' , 'x' ) )
-StreamAdd_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'long' , 'y' ) )
-StreamAdd_ServiceoutParameter = []
-StreamAdd_ServiceoutParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'long' , 'z' ) )
-StreamAdd_ServiceinStreamParameter = []
-StreamAdd_ServiceinStreamParameter.append( SALOME_ModuleCatalog.ServicesDataStreamParameter( SALOME_ModuleCatalog.DATASTREAM_INTEGER , 'istream' , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE ) )
-StreamAdd_ServiceoutStreamParameter = []
-StreamAdd_ServiceoutStreamParameter.append( SALOME_ModuleCatalog.ServicesDataStreamParameter( SALOME_ModuleCatalog.DATASTREAM_INTEGER , 'ostream' , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE ) )
-StreamAdd_ServiceoutStreamParameter.append( SALOME_ModuleCatalog.ServicesDataStreamParameter( SALOME_ModuleCatalog.DATASTREAM_INTEGER , 'OStream' , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE ) )
-StreamAdd_Service = SALOME_ModuleCatalog.Service( 'StreamAdd' , StreamAdd_ServiceinParameter , StreamAdd_ServiceoutParameter , StreamAdd_ServiceinStreamParameter , StreamAdd_ServiceoutStreamParameter , 0 , 0 )
-StreamAdd = GraphStream.CNode( StreamAdd_Service )
-StreamAdd.SetName( 'StreamAdd' )
-StreamAdd.SetAuthor( '' )
-StreamAdd.SetComment( 'Compute Node' )
-StreamAdd.Coords( 448 , 9 )
-IStreamAddthis = StreamAdd.GetInPort( 'this' )
-IStreamAddx = StreamAdd.GetInPort( 'x' )
-IStreamAddy = StreamAdd.GetInPort( 'y' )
-IStreamAddGate = StreamAdd.GetInPort( 'Gate' )
-OStreamAddz = StreamAdd.GetOutPort( 'z' )
-OStreamAddGate = StreamAdd.GetOutPort( 'Gate' )
-IStreamAddistream = StreamAdd.GetInStreamPort( 'istream' )
-IStreamAddistream.SetParams( SUPERV.SCHENULL , SUPERV.INTERNULL , SUPERV.EXTRANULL )
-OStreamAddostream = StreamAdd.GetOutStreamPort( 'ostream' )
-OStreamAddostream.SetNumberOfValues( 0 )
-OStreamAddOStream = StreamAdd.GetOutStreamPort( 'OStream' )
-OStreamAddOStream.SetNumberOfValues( 0 )
-
-# Creation of Links
-LNewDataStreamDataStreamStreamAddthis = GraphStream.Link( ONewDataStreamDataStream , IStreamAddthis )
-
-LAddzSuby = GraphStream.Link( OAddz , ISuby )
-LAddzSuby.AddCoord( 1 , 185 , 310 )
-LAddzSuby.AddCoord( 2 , 185 , 437 )
-
-LAddzMuly = GraphStream.Link( OAddz , IMuly )
-
-LAddostreamSubistream = GraphStream.StreamLink( OAddostream , ISubistream )
-LAddostreamSubistream.AddCoord( 1 , 199 , 343 )
-LAddostreamSubistream.AddCoord( 2 , 200 , 497 )
-
-LAddOStreamSubIstream = GraphStream.StreamLink( OAddOStream , ISubIstream )
-LAddOStreamSubIstream.AddCoord( 1 , 219 , 374 )
-LAddOStreamSubIstream.AddCoord( 2 , 218 , 529 )
-
-LSubzMulx = GraphStream.Link( OSubz , IMulx )
-LSubzMulx.AddCoord( 1 , 426 , 408 )
-LSubzMulx.AddCoord( 2 , 427 , 282 )
-
-LSubzDivx = GraphStream.Link( OSubz , IDivx )
-
-LMulzDivy = GraphStream.Link( OMulz , IDivy )
-LMulzDivy.AddCoord( 1 , 648 , 309 )
-LMulzDivy.AddCoord( 2 , 648 , 406 )
-
-# Input datas
-IAddx.Input( 3 )
-IAddy.Input( 7 )
-ISubx.Input( 1 )
-IStreamAddx.Input( 1 )
-IStreamAddy.Input( 2 )
-IAddistream.Input( 1 )
-IStreamAddistream.Input( 136159896 )
-
-# Output Ports of the graph
-#ODivz = Div.GetOutPort( 'z' )
-#OStreamAddz = StreamAdd.GetOutPort( 'z' )
-
-GraphStream.PrintPorts()
-GraphStream.IsValid()
-status = GraphStream.IsExecutable()
-if status == 0 :
- print 'Input of port IStreamAddistream is required : Ok'
-else :
- print 'Input of port IStreamAddistream is required : ERROR'
-# Following input is required :
-IStreamAddistream.Input( 1 )
-GraphStream.IsExecutable()
-
-GraphStream.Run()
-GraphStream.DoneW()
-GraphStream.PrintPorts()
-GraphStream.State()
-
-subgraphs = GraphStream.SubGraphsNumber()
-i = 1
-while i <= subgraphs :
- nodes = GraphStream.SubGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
-
-substreamgraphs = GraphStream.SubStreamGraphsNumber()
-i = 1
-while i <= substreamgraphs :
- nodes = GraphStream.SubStreamGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubStreamGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
-GraphStream.Export('/tmp/GraphStream.xml')
-
-GraphStream = StreamGraph( '/tmp/GraphStream.xml' )
-GraphStream.Run()
-GraphStream.DoneW()
-GraphStream.PrintPorts()
-print GraphStream.State()
-
-subgraphs = GraphStream.SubGraphsNumber()
-i = 1
-while i <= subgraphs :
- nodes = GraphStream.SubGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
-
-substreamgraphs = GraphStream.SubStreamGraphsNumber()
-i = 1
-while i <= substreamgraphs :
- nodes = GraphStream.SubStreamGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubStreamGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphStreamInLines
-#
-from SuperV import *
-
-# Graph creation of GraphStreamInLines
-def DefGraphStreamInLines() :
- GraphStreamInLines = StreamGraph( 'GraphStreamInLines' )
- GraphStreamInLines.SetStreamParams( 300 , SUPERV.WithoutTrace , 0 )
- GraphStreamInLines.SetName( 'GraphStreamInLines' )
- GraphStreamInLines.SetAuthor( '' )
- GraphStreamInLines.SetComment( '' )
- GraphStreamInLines.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a,Even) : ' )
- PyIsOdd.append( ' print a,"IsOdd (GraphStreamInLines1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphStreamInLines.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 404 , 7 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddEven = IsOdd.InPort( 'Even' , 'boolean' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
- IIsOddistream = IsOdd.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
- IIsOddistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
- OIsOddostream = IsOdd.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
- OIsOddostream.SetNumberOfValues( 0 )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyMoreInitLoop = []
- PyMoreInitLoop.append( '' )
- PyNextInitLoop = []
- PyNextInitLoop.append( '' )
- InitLoop,EndOfInitLoop = GraphStreamInLines.LNode( '' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 807 , 104 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- IInitLoopistream = InitLoop.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
- IInitLoopistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
- IInitLoopGate = InitLoop.GetInPort( 'Gate' )
- OInitLoopDoLoop = InitLoop.GetOutPort( 'DoLoop' )
- OInitLoopIndex = InitLoop.GetOutPort( 'Index' )
- OInitLoopMin = InitLoop.GetOutPort( 'Min' )
- OInitLoopMax = InitLoop.GetOutPort( 'Max' )
- OInitLoopostream = InitLoop.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
- OInitLoopostream.SetNumberOfValues( 0 )
- IEndOfInitLoopDoLoop = EndOfInitLoop.GetInPort( 'DoLoop' )
- IEndOfInitLoopIndex = EndOfInitLoop.GetInPort( 'Index' )
- IEndOfInitLoopMin = EndOfInitLoop.GetInPort( 'Min' )
- IEndOfInitLoopMax = EndOfInitLoop.GetInPort( 'Max' )
- IEndOfInitLoopistream = EndOfInitLoop.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
- IEndOfInitLoopistream.SetParams( SUPERV.SCHENULL , SUPERV.INTERNULL , SUPERV.EXTRANULL )
- IEndOfInitLoopGate = EndOfInitLoop.GetInPort( 'Gate' )
- OEndOfInitLoopDoLoop = EndOfInitLoop.GetOutPort( 'DoLoop' )
- OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- OEndOfInitLoopGate = EndOfInitLoop.GetOutPort( 'Gate' )
- OEndOfInitLoopostream = EndOfInitLoop.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
- OEndOfInitLoopostream.SetNumberOfValues( 0 )
- InitLoop.SetName( 'InitLoop' )
- InitLoop.SetAuthor( '' )
- InitLoop.SetComment( 'Compute Node' )
- InitLoop.Coords( 11 , 119 )
- IInitLoopistream = InitLoop.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
- IInitLoopistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
- OInitLoopostream = InitLoop.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
- OInitLoopostream.SetNumberOfValues( 0 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphStreamInLines.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 604 , 105 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndOfSwitch(a) : ' )
- PyEndSwitch.append( ' if ( a & 1 ) == 0 : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndOfSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchistream = EndSwitch.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
- IEndSwitchistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchostream = EndSwitch.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
- OEndSwitchostream.SetNumberOfValues( 0 )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 198 , 115 )
- ISwitcha = Switch.InPort( 'a' , 'long' )
- ISwitchGate = Switch.GetInPort( 'Gate' )
- OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
- OSwitchEven = Switch.OutPort( 'Even' , 'int' )
- OSwitcha = Switch.OutPort( 'a' , 'int' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
- ISwitchistream = Switch.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
- ISwitchistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
- OSwitchostream = Switch.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
- OSwitchostream.SetNumberOfValues( 0 )
-
- # Creation of Links
- LIsOddaEndSwitcha = GraphStreamInLines.Link( OIsOdda , IEndSwitcha )
-
- LIsOddostreamInitLoopistream = GraphStreamInLines.StreamLink( OIsOddostream , IInitLoopistream )
- LIsOddostreamInitLoopistream.AddCoord( 1 , 3 , 240 )
- LIsOddostreamInitLoopistream.AddCoord( 2 , 3 , 395 )
- LIsOddostreamInitLoopistream.AddCoord( 3 , 571 , 394 )
- LIsOddostreamInitLoopistream.AddCoord( 4 , 577 , 122 )
-
- LInitLoopIndexSwitcha = GraphStreamInLines.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphStreamInLines.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphStreamInLines.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LInitLoopostreamEndSwitchistream = GraphStreamInLines.StreamLink( OInitLoopostream , IEndSwitchistream )
- LInitLoopostreamEndSwitchistream.AddCoord( 1 , 586 , 158 )
- LInitLoopostreamEndSwitchistream.AddCoord( 2 , 586 , 362 )
- LInitLoopostreamEndSwitchistream.AddCoord( 3 , 591 , 362 )
- LInitLoopostreamEndSwitchistream.AddCoord( 4 , 591 , 359 )
- LInitLoopostreamEndSwitchistream.AddCoord( 5 , 180 , 359 )
- LInitLoopostreamEndSwitchistream.AddCoord( 6 , 180 , 212 )
- LInitLoopostreamEndSwitchistream.AddCoord( 7 , 181 , 212 )
- LInitLoopostreamEndSwitchistream.AddCoord( 8 , 181 , 214 )
- LInitLoopostreamEndSwitchistream.AddCoord( 9 , 584 , 167 )
- LInitLoopostreamEndSwitchistream.AddCoord( 10 , 584 , 369 )
- LInitLoopostreamEndSwitchistream.AddCoord( 11 , 184 , 368 )
- LInitLoopostreamEndSwitchistream.AddCoord( 12 , 185 , 240 )
-
- LSwitchOddIsOddGate = GraphStreamInLines.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenIsOddEven = GraphStreamInLines.Link( OSwitchEven , IIsOddEven )
-
- LSwitchaIsOdda = GraphStreamInLines.Link( OSwitcha , IIsOdda )
-
- LSwitchostreamIsOddistream = GraphStreamInLines.StreamLink( OSwitchostream , IIsOddistream )
-
- LSwitchostreamEndOfInitLoopistream = GraphStreamInLines.StreamLink( OSwitchostream , IEndOfInitLoopistream )
- LSwitchostreamEndOfInitLoopistream.AddCoord( 1 , 779 , 203 )
- LSwitchostreamEndOfInitLoopistream.AddCoord( 2 , 775 , 261 )
- LSwitchostreamEndOfInitLoopistream.AddCoord( 3 , 397 , 260 )
- LSwitchostreamEndOfInitLoopistream.AddCoord( 4 , 403 , 217 )
-
- LSwitchDefaultEndSwitchDefault = GraphStreamInLines.Link( OSwitchDefault , IEndSwitchDefault )
-
- LEndSwitchaEndOfInitLoopIndex = GraphStreamInLines.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- LEndSwitchostreamSwitchistream = GraphStreamInLines.StreamLink( OEndSwitchostream , ISwitchistream )
- LEndSwitchostreamSwitchistream.AddCoord( 1 , 186 , 240 )
- LEndSwitchostreamSwitchistream.AddCoord( 2 , 186 , 331 )
- LEndSwitchostreamSwitchistream.AddCoord( 3 , 790 , 329 )
- LEndSwitchostreamSwitchistream.AddCoord( 4 , 786 , 161 )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 0 )
- IInitLoopMax.Input( 35 )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- return GraphStreamInLines
-
-
-GraphStreamInLines = DefGraphStreamInLines()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphStreamTopologies
-#
-from SuperV import *
-# Graph creation
-GraphStreamTopologies = StreamGraph( 'GraphStreamTopologies' )
-GraphStreamTopologies.SetStreamParams( 300 , SUPERV.WithoutTrace , 0 )
-GraphStreamTopologies.SetName( 'GraphStreamTopologies' )
-GraphStreamTopologies.SetAuthor( 'JR' )
-GraphStreamTopologies.SetComment( 'Test of SubStreamGraphs of a StreamGraph' )
-GraphStreamTopologies.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-# Creation of InLine Nodes
-PyNode_A_1 = []
-PyNode_A_1.append( 'def Node_A_1() : ' )
-PyNode_A_1.append( ' return 1 ' )
-Node_A_1 = GraphStreamTopologies.INode( 'Node_A_1' , PyNode_A_1 )
-Node_A_1.SetName( 'Node_A_1' )
-Node_A_1.SetAuthor( '' )
-Node_A_1.SetComment( 'Python function' )
-Node_A_1.Coords( 29 , 66 )
-INode_A_1Gate = Node_A_1.GetInPort( 'Gate' )
-ONode_A_1a_1 = Node_A_1.OutPort( 'a_1' , 'long' )
-ONode_A_1Gate = Node_A_1.GetOutPort( 'Gate' )
-INode_A_1istream_A_1_1 = Node_A_1.InStreamPort( 'istream_A_1_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-INode_A_1istream_A_1_1.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-INode_A_1istream_A_1_2 = Node_A_1.InStreamPort( 'istream_A_1_2' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-INode_A_1istream_A_1_2.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-INode_A_1istream_A_1_3 = Node_A_1.InStreamPort( 'istream_A_1_3' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-INode_A_1istream_A_1_3.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-
-PyNode_A_2 = []
-PyNode_A_2.append( 'def Node_A_2() : ' )
-PyNode_A_2.append( ' return 1 ' )
-Node_A_2 = GraphStreamTopologies.INode( 'Node_A_2' , PyNode_A_2 )
-Node_A_2.SetName( 'Node_A_2' )
-Node_A_2.SetAuthor( '' )
-Node_A_2.SetComment( 'Python function' )
-Node_A_2.Coords( 23 , 309 )
-INode_A_2Gate = Node_A_2.GetInPort( 'Gate' )
-ONode_A_2a_2 = Node_A_2.OutPort( 'a_2' , 'long' )
-ONode_A_2Gate = Node_A_2.GetOutPort( 'Gate' )
-INode_A_2istream_A_2_1 = Node_A_2.InStreamPort( 'istream_A_2_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-INode_A_2istream_A_2_1.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-ONode_A_2ostream_A_2_1 = Node_A_2.OutStreamPort( 'ostream_A_2_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-ONode_A_2ostream_A_2_1.SetNumberOfValues( 0 )
-
-PyNode_B_1 = []
-PyNode_B_1.append( 'def Node_B_1( n ) : ' )
-PyNode_B_1.append( ' return n ' )
-Node_B_1 = GraphStreamTopologies.INode( 'Node_B_1' , PyNode_B_1 )
-Node_B_1.SetName( 'Node_B_1' )
-Node_B_1.SetAuthor( '' )
-Node_B_1.SetComment( 'Python function' )
-Node_B_1.Coords( 249 , 66 )
-INode_B_1b_1 = Node_B_1.InPort( 'b_1' , 'long' )
-INode_B_1Gate = Node_B_1.GetInPort( 'Gate' )
-ONode_B_1b_1 = Node_B_1.OutPort( 'b_1' , 'long' )
-ONode_B_1Gate = Node_B_1.GetOutPort( 'Gate' )
-INode_B_1istream_B_1_1 = Node_B_1.InStreamPort( 'istream_B_1_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-INode_B_1istream_B_1_1.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-
-PyNode_B_2 = []
-PyNode_B_2.append( 'def Node_B_2( n ) : ' )
-PyNode_B_2.append( ' return n ' )
-Node_B_2 = GraphStreamTopologies.INode( 'Node_B_2' , PyNode_B_2 )
-Node_B_2.SetName( 'Node_B_2' )
-Node_B_2.SetAuthor( '' )
-Node_B_2.SetComment( 'Python function' )
-Node_B_2.Coords( 245 , 308 )
-INode_B_2b_2 = Node_B_2.InPort( 'b_2' , 'long' )
-INode_B_2Gate = Node_B_2.GetInPort( 'Gate' )
-ONode_B_2b_2 = Node_B_2.OutPort( 'b_2' , 'long' )
-ONode_B_2Gate = Node_B_2.GetOutPort( 'Gate' )
-INode_B_2istream_B_2_1 = Node_B_2.InStreamPort( 'istream_B_2_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-INode_B_2istream_B_2_1.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-ONode_B_2ostream_B_2_1 = Node_B_2.OutStreamPort( 'ostream_B_2_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-ONode_B_2ostream_B_2_1.SetNumberOfValues( 0 )
-ONode_B_2ostream_B_2_2 = Node_B_2.OutStreamPort( 'ostream_B_2_2' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-ONode_B_2ostream_B_2_2.SetNumberOfValues( 0 )
-
-PyNode_C_1 = []
-PyNode_C_1.append( 'def Node_C_1( n ) : ' )
-PyNode_C_1.append( ' return ' )
-Node_C_1 = GraphStreamTopologies.INode( 'Node_C_1' , PyNode_C_1 )
-Node_C_1.SetName( 'Node_C_1' )
-Node_C_1.SetAuthor( '' )
-Node_C_1.SetComment( 'Python function' )
-Node_C_1.Coords( 481 , 67 )
-INode_C_1c_1 = Node_C_1.InPort( 'c_1' , 'long' )
-INode_C_1Gate = Node_C_1.GetInPort( 'Gate' )
-ONode_C_1Gate = Node_C_1.GetOutPort( 'Gate' )
-ONode_C_1ostream_C_1_1 = Node_C_1.OutStreamPort( 'ostream_C_1_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-ONode_C_1ostream_C_1_1.SetNumberOfValues( 0 )
-
-PyNode_C_2 = []
-PyNode_C_2.append( 'def Node_C_2( n ) : ' )
-PyNode_C_2.append( ' return n ' )
-Node_C_2 = GraphStreamTopologies.INode( 'Node_C_2' , PyNode_C_2 )
-Node_C_2.SetName( 'Node_C_2' )
-Node_C_2.SetAuthor( '' )
-Node_C_2.SetComment( 'Python function' )
-Node_C_2.Coords( 476 , 307 )
-INode_C_2c_2 = Node_C_2.InPort( 'c_2' , 'long' )
-INode_C_2Gate = Node_C_2.GetInPort( 'Gate' )
-ONode_C_2c_2 = Node_C_2.OutPort( 'c_2' , 'long' )
-ONode_C_2Gate = Node_C_2.GetOutPort( 'Gate' )
-INode_C_2istream_C_2_1 = Node_C_2.InStreamPort( 'istream_C_2_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-INode_C_2istream_C_2_1.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-
-PyNode_D_1 = []
-PyNode_D_1.append( 'def Node_D_1( n ) : ' )
-PyNode_D_1.append( ' return ' )
-Node_D_1 = GraphStreamTopologies.INode( 'Node_D_1' , PyNode_D_1 )
-Node_D_1.SetName( 'Node_D_1' )
-Node_D_1.SetAuthor( '' )
-Node_D_1.SetComment( 'Python function' )
-Node_D_1.Coords( 703 , 306 )
-INode_D_1d_1 = Node_D_1.InPort( 'd_1' , 'long' )
-INode_D_1Gate = Node_D_1.GetInPort( 'Gate' )
-ONode_D_1Gate = Node_D_1.GetOutPort( 'Gate' )
-ONode_D_1ostream_D_1_1 = Node_D_1.OutStreamPort( 'ostream_D_1_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-ONode_D_1ostream_D_1_1.SetNumberOfValues( 0 )
-
-# Creation of Links
-LNode_A_1a_1Node_B_1b_1 = GraphStreamTopologies.Link( ONode_A_1a_1 , INode_B_1b_1 )
-
-LNode_A_2a_2Node_B_2b_2 = GraphStreamTopologies.Link( ONode_A_2a_2 , INode_B_2b_2 )
-
-LNode_A_2ostream_A_2_1Node_A_1istream_A_1_1 = GraphStreamTopologies.StreamLink( ONode_A_2ostream_A_2_1 , INode_A_1istream_A_1_1 )
-LNode_A_2ostream_A_2_1Node_A_1istream_A_1_1.AddCoord( 1 , 13 , 164 )
-LNode_A_2ostream_A_2_1Node_A_1istream_A_1_1.AddCoord( 2 , 13 , 44 )
-LNode_A_2ostream_A_2_1Node_A_1istream_A_1_1.AddCoord( 3 , 207 , 44 )
-LNode_A_2ostream_A_2_1Node_A_1istream_A_1_1.AddCoord( 4 , 207 , 409 )
-
-LNode_B_1b_1Node_C_1c_1 = GraphStreamTopologies.Link( ONode_B_1b_1 , INode_C_1c_1 )
-
-LNode_B_2b_2Node_C_2c_2 = GraphStreamTopologies.Link( ONode_B_2b_2 , INode_C_2c_2 )
-
-LNode_B_2ostream_B_2_1Node_A_1istream_A_1_2 = GraphStreamTopologies.StreamLink( ONode_B_2ostream_B_2_1 , INode_A_1istream_A_1_2 )
-LNode_B_2ostream_B_2_1Node_A_1istream_A_1_2.AddCoord( 1 , 14 , 195 )
-LNode_B_2ostream_B_2_1Node_A_1istream_A_1_2.AddCoord( 2 , 13 , 299 )
-LNode_B_2ostream_B_2_1Node_A_1istream_A_1_2.AddCoord( 3 , 428 , 300 )
-LNode_B_2ostream_B_2_1Node_A_1istream_A_1_2.AddCoord( 4 , 428 , 407 )
-
-LNode_B_2ostream_B_2_2Node_A_2istream_A_2_1 = GraphStreamTopologies.StreamLink( ONode_B_2ostream_B_2_2 , INode_A_2istream_A_2_1 )
-LNode_B_2ostream_B_2_2Node_A_2istream_A_2_1.AddCoord( 1 , 12 , 406 )
-LNode_B_2ostream_B_2_2Node_A_2istream_A_2_1.AddCoord( 2 , 11 , 525 )
-LNode_B_2ostream_B_2_2Node_A_2istream_A_2_1.AddCoord( 3 , 427 , 525 )
-LNode_B_2ostream_B_2_2Node_A_2istream_A_2_1.AddCoord( 4 , 426 , 438 )
-
-LNode_C_1ostream_C_1_1Node_A_1istream_A_1_3 = GraphStreamTopologies.StreamLink( ONode_C_1ostream_C_1_1 , INode_A_1istream_A_1_3 )
-LNode_C_1ostream_C_1_1Node_A_1istream_A_1_3.AddCoord( 1 , 5 , 227 )
-LNode_C_1ostream_C_1_1Node_A_1istream_A_1_3.AddCoord( 2 , 5 , 16 )
-LNode_C_1ostream_C_1_1Node_A_1istream_A_1_3.AddCoord( 3 , 672 , 16 )
-LNode_C_1ostream_C_1_1Node_A_1istream_A_1_3.AddCoord( 4 , 671 , 166 )
-
-LNode_C_2c_2Node_D_1d_1 = GraphStreamTopologies.Link( ONode_C_2c_2 , INode_D_1d_1 )
-
-LNode_D_1ostream_D_1_1Node_C_2istream_C_2_1 = GraphStreamTopologies.StreamLink( ONode_D_1ostream_D_1_1 , INode_C_2istream_C_2_1 )
-LNode_D_1ostream_D_1_1Node_C_2istream_C_2_1.AddCoord( 1 , 453 , 406 )
-LNode_D_1ostream_D_1_1Node_C_2istream_C_2_1.AddCoord( 2 , 454 , 499 )
-LNode_D_1ostream_D_1_1Node_C_2istream_C_2_1.AddCoord( 3 , 903 , 500 )
-LNode_D_1ostream_D_1_1Node_C_2istream_C_2_1.AddCoord( 4 , 903 , 404 )
-
-LNode_D_1ostream_D_1_1Node_B_1istream_B_1_1 = GraphStreamTopologies.StreamLink( ONode_D_1ostream_D_1_1 , INode_B_1istream_B_1_1 )
-LNode_D_1ostream_D_1_1Node_B_1istream_B_1_1.AddCoord( 1 , 229 , 163 )
-LNode_D_1ostream_D_1_1Node_B_1istream_B_1_1.AddCoord( 2 , 229 , 282 )
-LNode_D_1ostream_D_1_1Node_B_1istream_B_1_1.AddCoord( 3 , 902 , 282 )
-LNode_D_1ostream_D_1_1Node_B_1istream_B_1_1.AddCoord( 4 , 903 , 404 )
-
-# Input datas
-INode_B_2istream_B_2_1.Input( 1 )
-
-# Output Ports of the graph
-
-GraphStreamTopologies.Run()
-GraphStreamTopologies.DoneW()
-GraphStreamTopologies.State()
-
-subgraphs = GraphStreamTopologies.SubGraphsNumber()
-i = 1
-while i <= subgraphs :
- nodes = GraphStreamTopologies.SubGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
-
-substreamgraphs = GraphStreamTopologies.SubStreamGraphsNumber()
-i = 1
-while i <= substreamgraphs :
- nodes = GraphStreamTopologies.SubStreamGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubStreamGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
-
-GraphStreamTopologies.Export( '/tmp/GraphStreamTopologies.xml' )
-
-GraphStreamTopologies = StreamGraph( '/tmp/GraphStreamTopologies.xml' )
-
-GraphStreamTopologies.PrintPorts()
-
-GraphStreamTopologies.Run()
-GraphStreamTopologies.DoneW()
-GraphStreamTopologies.State()
-
-subgraphs = GraphStreamTopologies.SubGraphsNumber()
-i = 1
-while i <= subgraphs :
- nodes = GraphStreamTopologies.SubGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
-
-substreamgraphs = GraphStreamTopologies.SubStreamGraphsNumber()
-i = 1
-while i <= substreamgraphs :
- nodes = GraphStreamTopologies.SubStreamGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubStreamGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphStreamTopology
-#
-from SuperV import *
-# Graph creation
-GraphStreamTopology = StreamGraph( 'GraphStreamTopology' )
-GraphStreamTopology.SetStreamParams( 300 , SUPERV.WithoutTrace , 0 )
-GraphStreamTopology.SetName( 'GraphStreamTopology' )
-GraphStreamTopology.SetAuthor( 'JR' )
-GraphStreamTopology.SetComment( 'Test of SubStreamGraphs of a StreamGraph' )
-GraphStreamTopology.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-# Creation of InLine Nodes
-PyNode_A_1 = []
-PyNode_A_1.append( 'def Node_A_1() : ' )
-PyNode_A_1.append( ' return 1 ' )
-Node_A_1 = GraphStreamTopology.INode( 'Node_A_1' , PyNode_A_1 )
-Node_A_1.SetName( 'Node_A_1' )
-Node_A_1.SetAuthor( '' )
-Node_A_1.SetComment( 'Python function' )
-Node_A_1.Coords( 32 , 65 )
-INode_A_1Gate = Node_A_1.GetInPort( 'Gate' )
-ONode_A_1a_1 = Node_A_1.OutPort( 'a_1' , 'long' )
-ONode_A_1Gate = Node_A_1.GetOutPort( 'Gate' )
-INode_A_1istream_A_1_1 = Node_A_1.InStreamPort( 'istream_A_1_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-INode_A_1istream_A_1_1.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-INode_A_1istream_A_1_2 = Node_A_1.InStreamPort( 'istream_A_1_2' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-INode_A_1istream_A_1_2.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-INode_A_1istream_A_1_3 = Node_A_1.InStreamPort( 'istream_A_1_3' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-INode_A_1istream_A_1_3.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-
-PyNode_A_2 = []
-PyNode_A_2.append( 'def Node_A_2() : ' )
-PyNode_A_2.append( ' return 1 ' )
-Node_A_2 = GraphStreamTopology.INode( 'Node_A_2' , PyNode_A_2 )
-Node_A_2.SetName( 'Node_A_2' )
-Node_A_2.SetAuthor( '' )
-Node_A_2.SetComment( 'Python function' )
-Node_A_2.Coords( 31 , 336 )
-INode_A_2Gate = Node_A_2.GetInPort( 'Gate' )
-ONode_A_2a_2 = Node_A_2.OutPort( 'a_2' , 'long' )
-ONode_A_2Gate = Node_A_2.GetOutPort( 'Gate' )
-INode_A_2istream_A_2_1 = Node_A_2.InStreamPort( 'istream_A_2_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-INode_A_2istream_A_2_1.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-ONode_A_2ostream_A_2_1 = Node_A_2.OutStreamPort( 'ostream_A_2_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-ONode_A_2ostream_A_2_1.SetNumberOfValues( 0 )
-
-PyNode_B_1 = []
-PyNode_B_1.append( 'def Node_B_1( n ) : ' )
-PyNode_B_1.append( ' return n ' )
-Node_B_1 = GraphStreamTopology.INode( 'Node_B_1' , PyNode_B_1 )
-Node_B_1.SetName( 'Node_B_1' )
-Node_B_1.SetAuthor( '' )
-Node_B_1.SetComment( 'Python function' )
-Node_B_1.Coords( 254 , 64 )
-INode_B_1b_1 = Node_B_1.InPort( 'b_1' , 'long' )
-INode_B_1Gate = Node_B_1.GetInPort( 'Gate' )
-ONode_B_1b_1 = Node_B_1.OutPort( 'b_1' , 'long' )
-ONode_B_1Gate = Node_B_1.GetOutPort( 'Gate' )
-INode_B_1istream_B_1_1 = Node_B_1.InStreamPort( 'istream_B_1_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-INode_B_1istream_B_1_1.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-
-PyNode_B_2 = []
-PyNode_B_2.append( 'def Node_B_2( n ) : ' )
-PyNode_B_2.append( ' return n ' )
-Node_B_2 = GraphStreamTopology.INode( 'Node_B_2' , PyNode_B_2 )
-Node_B_2.SetName( 'Node_B_2' )
-Node_B_2.SetAuthor( '' )
-Node_B_2.SetComment( 'Python function' )
-Node_B_2.Coords( 255 , 336 )
-INode_B_2b_2 = Node_B_2.InPort( 'b_2' , 'long' )
-INode_B_2Gate = Node_B_2.GetInPort( 'Gate' )
-ONode_B_2b_2 = Node_B_2.OutPort( 'b_2' , 'long' )
-ONode_B_2Gate = Node_B_2.GetOutPort( 'Gate' )
-INode_B_2istream_B_2_1 = Node_B_2.InStreamPort( 'istream_B_2_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-INode_B_2istream_B_2_1.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-ONode_B_2ostream_B_2_1 = Node_B_2.OutStreamPort( 'ostream_B_2_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-ONode_B_2ostream_B_2_1.SetNumberOfValues( 0 )
-ONode_B_2ostream_B_2_2 = Node_B_2.OutStreamPort( 'ostream_B_2_2' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-ONode_B_2ostream_B_2_2.SetNumberOfValues( 0 )
-
-PyNode_C_1 = []
-PyNode_C_1.append( 'def Node_C_1( n ) : ' )
-PyNode_C_1.append( ' return ' )
-Node_C_1 = GraphStreamTopology.INode( 'Node_C_1' , PyNode_C_1 )
-Node_C_1.SetName( 'Node_C_1' )
-Node_C_1.SetAuthor( '' )
-Node_C_1.SetComment( 'Python function' )
-Node_C_1.Coords( 478 , 63 )
-INode_C_1c_1 = Node_C_1.InPort( 'c_1' , 'long' )
-INode_C_1Gate = Node_C_1.GetInPort( 'Gate' )
-ONode_C_1Gate = Node_C_1.GetOutPort( 'Gate' )
-ONode_C_1ostream_C_1_1 = Node_C_1.OutStreamPort( 'ostream_C_1_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-ONode_C_1ostream_C_1_1.SetNumberOfValues( 0 )
-
-PyNode_C_2 = []
-PyNode_C_2.append( 'def Node_C_2( n ) : ' )
-PyNode_C_2.append( ' return n ' )
-Node_C_2 = GraphStreamTopology.INode( 'Node_C_2' , PyNode_C_2 )
-Node_C_2.SetName( 'Node_C_2' )
-Node_C_2.SetAuthor( '' )
-Node_C_2.SetComment( 'Python function' )
-Node_C_2.Coords( 477 , 337 )
-INode_C_2c_2 = Node_C_2.InPort( 'c_2' , 'long' )
-INode_C_2Gate = Node_C_2.GetInPort( 'Gate' )
-ONode_C_2c_2 = Node_C_2.OutPort( 'c_2' , 'long' )
-ONode_C_2Gate = Node_C_2.GetOutPort( 'Gate' )
-INode_C_2istream_C_2_1 = Node_C_2.InStreamPort( 'istream_C_2_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-INode_C_2istream_C_2_1.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-
-PyNode_D_1 = []
-PyNode_D_1.append( 'def Node_D_1( n ) : ' )
-PyNode_D_1.append( ' return ' )
-Node_D_1 = GraphStreamTopology.INode( 'Node_D_1' , PyNode_D_1 )
-Node_D_1.SetName( 'Node_D_1' )
-Node_D_1.SetAuthor( '' )
-Node_D_1.SetComment( 'Python function' )
-Node_D_1.Coords( 702 , 336 )
-INode_D_1d_1 = Node_D_1.InPort( 'd_1' , 'long' )
-INode_D_1Gate = Node_D_1.GetInPort( 'Gate' )
-ONode_D_1Gate = Node_D_1.GetOutPort( 'Gate' )
-ONode_D_1ostream_D_1_1 = Node_D_1.OutStreamPort( 'ostream_D_1_1' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-ONode_D_1ostream_D_1_1.SetNumberOfValues( 0 )
-
-# Creation of Links
-LNode_A_1a_1Node_B_1b_1 = GraphStreamTopology.Link( ONode_A_1a_1 , INode_B_1b_1 )
-
-LNode_A_2a_2Node_B_2b_2 = GraphStreamTopology.Link( ONode_A_2a_2 , INode_B_2b_2 )
-
-LNode_A_2ostream_A_2_1Node_A_1istream_A_1_1 = GraphStreamTopology.StreamLink( ONode_A_2ostream_A_2_1 , INode_A_1istream_A_1_1 )
-LNode_A_2ostream_A_2_1Node_A_1istream_A_1_1.AddCoord( 1 , 14 , 162 )
-LNode_A_2ostream_A_2_1Node_A_1istream_A_1_1.AddCoord( 2 , 13 , 37 )
-LNode_A_2ostream_A_2_1Node_A_1istream_A_1_1.AddCoord( 3 , 211 , 36 )
-LNode_A_2ostream_A_2_1Node_A_1istream_A_1_1.AddCoord( 4 , 210 , 435 )
-
-LNode_B_1b_1Node_C_1c_1 = GraphStreamTopology.Link( ONode_B_1b_1 , INode_C_1c_1 )
-
-LNode_B_2b_2Node_C_2c_2 = GraphStreamTopology.Link( ONode_B_2b_2 , INode_C_2c_2 )
-
-LNode_B_2ostream_B_2_1Node_A_1istream_A_1_2 = GraphStreamTopology.StreamLink( ONode_B_2ostream_B_2_1 , INode_A_1istream_A_1_2 )
-LNode_B_2ostream_B_2_1Node_A_1istream_A_1_2.AddCoord( 1 , 8 , 195 )
-LNode_B_2ostream_B_2_1Node_A_1istream_A_1_2.AddCoord( 2 , 7 , 324 )
-LNode_B_2ostream_B_2_1Node_A_1istream_A_1_2.AddCoord( 3 , 443 , 323 )
-LNode_B_2ostream_B_2_1Node_A_1istream_A_1_2.AddCoord( 4 , 442 , 434 )
-
-LNode_B_2ostream_B_2_2Node_A_2istream_A_2_1 = GraphStreamTopology.StreamLink( ONode_B_2ostream_B_2_2 , INode_A_2istream_A_2_1 )
-LNode_B_2ostream_B_2_2Node_A_2istream_A_2_1.AddCoord( 1 , 16 , 433 )
-LNode_B_2ostream_B_2_2Node_A_2istream_A_2_1.AddCoord( 2 , 15 , 583 )
-LNode_B_2ostream_B_2_2Node_A_2istream_A_2_1.AddCoord( 3 , 434 , 584 )
-LNode_B_2ostream_B_2_2Node_A_2istream_A_2_1.AddCoord( 4 , 434 , 467 )
-
-LNode_C_1ostream_C_1_1Node_A_1istream_A_1_3 = GraphStreamTopology.StreamLink( ONode_C_1ostream_C_1_1 , INode_A_1istream_A_1_3 )
-LNode_C_1ostream_C_1_1Node_A_1istream_A_1_3.AddCoord( 1 , 21 , 226 )
-LNode_C_1ostream_C_1_1Node_A_1istream_A_1_3.AddCoord( 2 , 20 , 296 )
-LNode_C_1ostream_C_1_1Node_A_1istream_A_1_3.AddCoord( 3 , 663 , 295 )
-LNode_C_1ostream_C_1_1Node_A_1istream_A_1_3.AddCoord( 4 , 662 , 161 )
-
-LNode_C_2c_2Node_D_1d_1 = GraphStreamTopology.Link( ONode_C_2c_2 , INode_D_1d_1 )
-
-LNode_D_1ostream_D_1_1Node_B_2istream_B_2_1 = GraphStreamTopology.StreamLink( ONode_D_1ostream_D_1_1 , INode_B_2istream_B_2_1 )
-LNode_D_1ostream_D_1_1Node_B_2istream_B_2_1.AddCoord( 1 , 232 , 433 )
-LNode_D_1ostream_D_1_1Node_B_2istream_B_2_1.AddCoord( 2 , 231 , 553 )
-LNode_D_1ostream_D_1_1Node_B_2istream_B_2_1.AddCoord( 3 , 903 , 553 )
-LNode_D_1ostream_D_1_1Node_B_2istream_B_2_1.AddCoord( 4 , 902 , 434 )
-
-LNode_D_1ostream_D_1_1Node_C_2istream_C_2_1 = GraphStreamTopology.StreamLink( ONode_D_1ostream_D_1_1 , INode_C_2istream_C_2_1 )
-LNode_D_1ostream_D_1_1Node_C_2istream_C_2_1.AddCoord( 1 , 461 , 434 )
-LNode_D_1ostream_D_1_1Node_C_2istream_C_2_1.AddCoord( 2 , 461 , 524 )
-LNode_D_1ostream_D_1_1Node_C_2istream_C_2_1.AddCoord( 3 , 889 , 525 )
-LNode_D_1ostream_D_1_1Node_C_2istream_C_2_1.AddCoord( 4 , 888 , 434 )
-
-LNode_D_1ostream_D_1_1Node_B_1istream_B_1_1 = GraphStreamTopology.StreamLink( ONode_D_1ostream_D_1_1 , INode_B_1istream_B_1_1 )
-LNode_D_1ostream_D_1_1Node_B_1istream_B_1_1.AddCoord( 1 , 236 , 162 )
-LNode_D_1ostream_D_1_1Node_B_1istream_B_1_1.AddCoord( 2 , 236 , 249 )
-LNode_D_1ostream_D_1_1Node_B_1istream_B_1_1.AddCoord( 3 , 887 , 249 )
-LNode_D_1ostream_D_1_1Node_B_1istream_B_1_1.AddCoord( 4 , 888 , 432 )
-
-# Output Ports of the graph
-
-
-
-
-GraphStreamTopology.Run()
-GraphStreamTopology.DoneW()
-print GraphStreamTopology.State()
-
-GraphStreamTopology.PrintPorts()
-
-subgraphs = GraphStreamTopology.SubGraphsNumber()
-i = 1
-while i <= subgraphs :
- nodes = GraphStreamTopology.SubGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
-
-substreamgraphs = GraphStreamTopology.SubStreamGraphsNumber()
-i = 1
-while i <= substreamgraphs :
- nodes = GraphStreamTopology.SubStreamGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubStreamGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
-
-
-GraphStreamTopology.Export( '/tmp/GraphStreamTopology.xml' )
-
-GraphStreamTopology = StreamGraph( '/tmp/GraphStreamTopology.xml' )
-
-GraphStreamTopology.PrintPorts()
-
-GraphStreamTopology.Run()
-GraphStreamTopology.DoneW()
-GraphStreamTopology.State()
-
-subgraphs = GraphStreamTopology.SubGraphsNumber()
-i = 1
-while i <= subgraphs :
- nodes = GraphStreamTopology.SubGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
-
-substreamgraphs = GraphStreamTopology.SubStreamGraphsNumber()
-i = 1
-while i <= substreamgraphs :
- nodes = GraphStreamTopology.SubStreamGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubStreamGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphStreams
-#
-from SuperV import *
-# Graph creation
-GraphStreams = StreamGraph( 'GraphStreams' )
-GraphStreams.SetStreamParams( 1000 , SUPERV.SummaryTrace , 1.5 )
-GraphStreams.SetName( 'GraphStreams' )
-GraphStreams.SetAuthor( 'JR' )
-GraphStreams.SetComment( 'Graph with DataStreamPorts CEA/EDF : Calcium' )
-GraphStreams.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-Add = GraphStreams.FNode( 'DataStreamFactory' , 'DataStreamFactory' , 'Add' )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetContainer( 'FactoryServer' )
-Add.SetComment( 'Add from DataStreamFactory' )
-Add.Coords( 255 , 171 )
-IAddx = Add.GetInPort( 'x' )
-IAddy = Add.GetInPort( 'y' )
-IAddGate = Add.GetInPort( 'Gate' )
-OAddz = Add.GetOutPort( 'z' )
-OAddGate = Add.GetOutPort( 'Gate' )
-IAddistream = Add.GetInStreamPort( 'istream' )
-IAddistream.SetParams( SUPERV.SCHENULL , SUPERV.INTERNULL , SUPERV.EXTRANULL )
-OAddostream = Add.GetOutStreamPort( 'ostream' )
-OAddostream.SetNumberOfValues( 0 )
-OAddOStream = Add.GetOutStreamPort( 'OStream' )
-OAddOStream.SetNumberOfValues( 10 )
-
-Sub = GraphStreams.FNode( 'DataStreamFactory' , 'DataStreamFactory' , 'Sub' )
-Sub.SetName( 'Sub' )
-Sub.SetAuthor( '' )
-Sub.SetContainer( 'FactoryServer' )
-Sub.SetComment( 'Sub from DataStreamFactory' )
-Sub.Coords( 519 , 48 )
-ISubx = Sub.GetInPort( 'x' )
-ISuby = Sub.GetInPort( 'y' )
-ISubGate = Sub.GetInPort( 'Gate' )
-OSubz = Sub.GetOutPort( 'z' )
-OSubGate = Sub.GetOutPort( 'Gate' )
-ISubistream = Sub.GetInStreamPort( 'istream' )
-ISubistream.SetParams( SUPERV.SCHENULL , SUPERV.INTERNULL , SUPERV.EXTRANULL )
-ISubIstream = Sub.GetInStreamPort( 'Istream' )
-ISubIstream.SetParams( SUPERV.SCHENULL , SUPERV.INTERNULL , SUPERV.EXTRANULL )
-
-Mul = GraphStreams.FNode( 'DataStreamFactory' , 'DataStreamFactory' , 'Mul' )
-Mul.SetName( 'Mul' )
-Mul.SetAuthor( '' )
-Mul.SetContainer( 'FactoryServer' )
-Mul.SetComment( 'Mul from DataStreamFactory' )
-Mul.Coords( 724 , 142 )
-IMulx = Mul.GetInPort( 'x' )
-IMuly = Mul.GetInPort( 'y' )
-IMulGate = Mul.GetInPort( 'Gate' )
-OMulz = Mul.GetOutPort( 'z' )
-OMulGate = Mul.GetOutPort( 'Gate' )
-
-Div = GraphStreams.FNode( 'DataStreamFactory' , 'DataStreamFactory' , 'Div' )
-Div.SetName( 'Div' )
-Div.SetAuthor( '' )
-Div.SetContainer( 'FactoryServer' )
-Div.SetComment( 'Div from DataStreamFactory' )
-Div.Coords( 935 , 48 )
-IDivx = Div.GetInPort( 'x' )
-IDivy = Div.GetInPort( 'y' )
-IDivGate = Div.GetInPort( 'Gate' )
-ODivz = Div.GetOutPort( 'z' )
-ODivGate = Div.GetOutPort( 'Gate' )
-ODivostream = Div.GetOutStreamPort( 'ostream' )
-ODivostream.SetNumberOfValues( 0 )
-
-Add_1 = GraphStreams.FNode( 'DataStreamFactory' , 'DataStreamFactory' , 'Add' )
-Add_1.SetName( 'Add_1' )
-Add_1.SetAuthor( '' )
-Add_1.SetContainer( 'localhost/FactoryServer' )
-Add_1.SetComment( 'Add from DataStreamFactory' )
-Add_1.Coords( 252 , 499 )
-IAdd_1x = Add_1.GetInPort( 'x' )
-IAdd_1y = Add_1.GetInPort( 'y' )
-IAdd_1Gate = Add_1.GetInPort( 'Gate' )
-OAdd_1z = Add_1.GetOutPort( 'z' )
-OAdd_1Gate = Add_1.GetOutPort( 'Gate' )
-IAdd_1istream = Add_1.GetInStreamPort( 'istream' )
-IAdd_1istream.SetParams( SUPERV.SCHENULL , SUPERV.INTERNULL , SUPERV.EXTRANULL )
-OAdd_1ostream = Add_1.GetOutStreamPort( 'ostream' )
-OAdd_1ostream.SetNumberOfValues( 0 )
-OAdd_1OStream = Add_1.GetOutStreamPort( 'OStream' )
-OAdd_1OStream.SetNumberOfValues( 0 )
-
-Sub_1 = GraphStreams.FNode( 'DataStreamFactory' , 'DataStreamFactory' , 'Sub' )
-Sub_1.SetName( 'Sub_1' )
-Sub_1.SetAuthor( '' )
-Sub_1.SetContainer( 'localhost/FactoryServer' )
-Sub_1.SetComment( 'Sub from DataStreamFactory' )
-Sub_1.Coords( 516 , 385 )
-ISub_1x = Sub_1.GetInPort( 'x' )
-ISub_1y = Sub_1.GetInPort( 'y' )
-ISub_1Gate = Sub_1.GetInPort( 'Gate' )
-OSub_1z = Sub_1.GetOutPort( 'z' )
-OSub_1Gate = Sub_1.GetOutPort( 'Gate' )
-ISub_1istream = Sub_1.GetInStreamPort( 'istream' )
-ISub_1istream.SetParams( SUPERV.SCHENULL , SUPERV.INTERNULL , SUPERV.EXTRANULL )
-ISub_1Istream = Sub_1.GetInStreamPort( 'Istream' )
-ISub_1Istream.SetParams( SUPERV.SCHENULL , SUPERV.INTERNULL , SUPERV.EXTRANULL )
-
-Mul_1 = GraphStreams.FNode( 'DataStreamFactory' , 'DataStreamFactory' , 'Mul' )
-Mul_1.SetName( 'Mul_1' )
-Mul_1.SetAuthor( '' )
-Mul_1.SetContainer( 'localhost/FactoryServer' )
-Mul_1.SetComment( 'Mul from DataStreamFactory' )
-Mul_1.Coords( 731 , 487 )
-IMul_1x = Mul_1.GetInPort( 'x' )
-IMul_1y = Mul_1.GetInPort( 'y' )
-IMul_1Gate = Mul_1.GetInPort( 'Gate' )
-OMul_1z = Mul_1.GetOutPort( 'z' )
-OMul_1Gate = Mul_1.GetOutPort( 'Gate' )
-
-Div_1 = GraphStreams.FNode( 'DataStreamFactory' , 'DataStreamFactory' , 'Div' )
-Div_1.SetName( 'Div_1' )
-Div_1.SetAuthor( '' )
-Div_1.SetContainer( 'localhost/FactoryServer' )
-Div_1.SetComment( 'Div from DataStreamFactory' )
-Div_1.Coords( 931 , 385 )
-IDiv_1x = Div_1.GetInPort( 'x' )
-IDiv_1y = Div_1.GetInPort( 'y' )
-IDiv_1Gate = Div_1.GetInPort( 'Gate' )
-ODiv_1z = Div_1.GetOutPort( 'z' )
-ODiv_1Gate = Div_1.GetOutPort( 'Gate' )
-ODiv_1ostream = Div_1.GetOutStreamPort( 'ostream' )
-ODiv_1ostream.SetNumberOfValues( 0 )
-
-# Creation of Loop Nodes
-PyLoop = []
-PyLoop.append( 'import time ' )
-PyLoop.append( 'def Init(Index,Min,Max,Incr,Z_Div,Z_Div_1,y_Add,x_Sub) : ' )
-PyLoop.append( ' if Min <= Max : ' )
-PyLoop.append( ' Index = Min ' )
-PyLoop.append( ' else : ' )
-PyLoop.append( ' Index = Max ' )
-PyLoop.append( ' time.sleep( 1 ) ' )
-PyLoop.append( ' return Index,Min,Max,Incr,Z_Div,Z_Div_1,y_Add,x_Sub ' )
-PyMoreLoop = []
-PyMoreLoop.append( 'import time ' )
-PyMoreLoop.append( 'def More(Index,Min,Max,Incr,Z_Div,Z_Div_1,y_Add,x_Sub) : ' )
-PyMoreLoop.append( ' if Index < Max : ' )
-PyMoreLoop.append( ' DoLoop = 1 ' )
-PyMoreLoop.append( ' else : ' )
-PyMoreLoop.append( ' DoLoop = 0 ' )
-PyMoreLoop.append( ' time.sleep( 1 ) ' )
-PyMoreLoop.append( ' return DoLoop,Index,Min,Max,Incr,Z_Div,Z_Div_1,y_Add,x_Sub ' )
-PyNextLoop = []
-PyNextLoop.append( 'import time ' )
-PyNextLoop.append( 'def Next(Index,Min,Max,Incr,Z_Div,Z_Div_1,y_Add,x_Sub) : ' )
-PyNextLoop.append( ' Index = Index + Incr ' )
-PyNextLoop.append( ' time.sleep( 1 ) ' )
-PyNextLoop.append( ' return Index,Min,Max,Incr,Z_Div,Z_Div_1,y_Add,x_Sub ' )
-Loop,EndLoop = GraphStreams.LNode( 'Init' , PyLoop , 'More' , PyMoreLoop , 'Next' , PyNextLoop )
-EndLoop.SetName( 'EndLoop' )
-EndLoop.SetAuthor( '' )
-EndLoop.SetComment( '' )
-EndLoop.Coords( 1158 , 393 )
-PyEndLoop = []
-EndLoop.SetPyFunction( 'EndInit' , PyEndLoop )
-ILoopInitLoop = Loop.GetInPort( 'DoLoop' )
-ILoopIndex = Loop.InPort( 'Index' , 'long' )
-ILoopMin = Loop.InPort( 'Min' , 'long' )
-ILoopMax = Loop.InPort( 'Max' , 'long' )
-ILoopIncr = Loop.InPort( 'Incr' , 'long' )
-ILoopz_Div = Loop.InPort( 'z_Div' , 'double' )
-ILoopz_Div_1 = Loop.InPort( 'z_Div_1' , 'double' )
-ILoopy_Add = Loop.InPort( 'y_Add' , 'double' )
-ILoopx_Sub = Loop.InPort( 'x_Sub' , 'double' )
-ILoopGate = Loop.GetInPort( 'Gate' )
-OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
-OLoopIndex = Loop.GetOutPort( 'Index' )
-OLoopMin = Loop.GetOutPort( 'Min' )
-OLoopMax = Loop.GetOutPort( 'Max' )
-OLoopIncr = Loop.GetOutPort( 'Incr' )
-OLoopz_Div = Loop.GetOutPort( 'z_Div' )
-OLoopz_Div_1 = Loop.GetOutPort( 'z_Div_1' )
-OLoopy_Add = Loop.GetOutPort( 'y_Add' )
-OLoopx_Sub = Loop.GetOutPort( 'x_Sub' )
-IEndLoopDoLoop = EndLoop.GetInPort( 'DoLoop' )
-IEndLoopIndex = EndLoop.GetInPort( 'Index' )
-IEndLoopMin = EndLoop.GetInPort( 'Min' )
-IEndLoopMax = EndLoop.GetInPort( 'Max' )
-IEndLoopIncr = EndLoop.GetInPort( 'Incr' )
-IEndLoopz_Div = EndLoop.GetInPort( 'z_Div' )
-IEndLoopz_Div_1 = EndLoop.GetInPort( 'z_Div_1' )
-IEndLoopy_Add = EndLoop.GetInPort( 'y_Add' )
-IEndLoopx_Sub = EndLoop.GetInPort( 'x_Sub' )
-IEndLoopGate = EndLoop.GetInPort( 'Gate' )
-OEndLoopDoLoop = EndLoop.GetOutPort( 'DoLoop' )
-OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
-OEndLoopMin = EndLoop.GetOutPort( 'Min' )
-OEndLoopMax = EndLoop.GetOutPort( 'Max' )
-OEndLoopIncr = EndLoop.GetOutPort( 'Incr' )
-OEndLoopz_Div = EndLoop.GetOutPort( 'z_Div' )
-OEndLoopz_Div_1 = EndLoop.GetOutPort( 'z_Div_1' )
-OEndLoopy_Add = EndLoop.GetOutPort( 'y_Add' )
-OEndLoopx_Sub = EndLoop.GetOutPort( 'x_Sub' )
-Loop.SetName( 'Loop' )
-Loop.SetAuthor( '' )
-Loop.SetComment( '' )
-Loop.Coords( 5 , 391 )
-
-# Creation of Links
-LAddzSuby = GraphStreams.Link( OAddz , ISuby )
-LAddzSuby.AddCoord( 1 , 448 , 143 )
-LAddzSuby.AddCoord( 2 , 449 , 237 )
-
-LAddzMuly = GraphStreams.Link( OAddz , IMuly )
-LAddzMuly.AddCoord( 1 , 708 , 237 )
-LAddzMuly.AddCoord( 2 , 708 , 270 )
-LAddzMuly.AddCoord( 3 , 449 , 270 )
-LAddzMuly.AddCoord( 4 , 448 , 238 )
-
-LAddostreamSubistream = GraphStreams.StreamLink( OAddostream , ISubistream )
-LAddostreamSubistream.AddCoord( 1 , 474 , 175 )
-LAddostreamSubistream.AddCoord( 2 , 474 , 297 )
-
-LAddOStreamSubIstream = GraphStreams.StreamLink( OAddOStream , ISubIstream )
-LAddOStreamSubIstream.AddCoord( 1 , 497 , 207 )
-LAddOStreamSubIstream.AddCoord( 2 , 498 , 328 )
-
-LSubzMulx = GraphStreams.Link( OSubz , IMulx )
-LSubzMulx.AddCoord( 1 , 706 , 207 )
-LSubzMulx.AddCoord( 2 , 706 , 114 )
-
-LSubzDivx = GraphStreams.Link( OSubz , IDivx )
-
-LMulzDivy = GraphStreams.Link( OMulz , IDivy )
-LMulzDivy.AddCoord( 1 , 912 , 143 )
-LMulzDivy.AddCoord( 2 , 911 , 208 )
-
-LDivzEndLoopz_Div = GraphStreams.Link( ODivz , IEndLoopz_Div )
-LDivzEndLoopz_Div.AddCoord( 1 , 1147 , 537 )
-LDivzEndLoopz_Div.AddCoord( 2 , 1148 , 113 )
-
-LDivostreamAdd_1istream = GraphStreams.StreamLink( ODivostream , IAdd_1istream )
-LDivostreamAdd_1istream.AddCoord( 1 , 233 , 626 )
-LDivostreamAdd_1istream.AddCoord( 2 , 232 , 763 )
-LDivostreamAdd_1istream.AddCoord( 3 , 1126 , 763 )
-LDivostreamAdd_1istream.AddCoord( 4 , 1125 , 175 )
-
-LAdd_1zSub_1y = GraphStreams.Link( OAdd_1z , ISub_1y )
-LAdd_1zSub_1y.AddCoord( 1 , 445 , 478 )
-LAdd_1zSub_1y.AddCoord( 2 , 444 , 566 )
-
-LAdd_1zMul_1y = GraphStreams.Link( OAdd_1z , IMul_1y )
-LAdd_1zMul_1y.AddCoord( 1 , 703 , 582 )
-LAdd_1zMul_1y.AddCoord( 2 , 703 , 677 )
-LAdd_1zMul_1y.AddCoord( 3 , 445 , 678 )
-LAdd_1zMul_1y.AddCoord( 4 , 444 , 567 )
-
-LAdd_1ostreamSub_1istream = GraphStreams.StreamLink( OAdd_1ostream , ISub_1istream )
-LAdd_1ostreamSub_1istream.AddCoord( 1 , 473 , 511 )
-LAdd_1ostreamSub_1istream.AddCoord( 2 , 473 , 627 )
-
-LAdd_1OStreamSub_1Istream = GraphStreams.StreamLink( OAdd_1OStream , ISub_1Istream )
-LAdd_1OStreamSub_1Istream.AddCoord( 1 , 498 , 543 )
-LAdd_1OStreamSub_1Istream.AddCoord( 2 , 497 , 658 )
-
-LSub_1zMul_1x = GraphStreams.Link( OSub_1z , IMul_1x )
-LSub_1zMul_1x.AddCoord( 1 , 708 , 552 )
-LSub_1zMul_1x.AddCoord( 2 , 707 , 450 )
-
-LSub_1zDiv_1x = GraphStreams.Link( OSub_1z , IDiv_1x )
-
-LMul_1zDiv_1y = GraphStreams.Link( OMul_1z , IDiv_1y )
-LMul_1zDiv_1y.AddCoord( 1 , 913 , 479 )
-LMul_1zDiv_1y.AddCoord( 2 , 913 , 551 )
-
-LDiv_1zEndLoopz_Div_1 = GraphStreams.Link( ODiv_1z , IEndLoopz_Div_1 )
-LDiv_1zEndLoopz_Div_1.AddCoord( 1 , 1138 , 567 )
-LDiv_1zEndLoopz_Div_1.AddCoord( 2 , 1138 , 449 )
-
-LDiv_1ostreamAddistream = GraphStreams.StreamLink( ODiv_1ostream , IAddistream )
-LDiv_1ostreamAddistream.AddCoord( 1 , 229 , 297 )
-LDiv_1ostreamAddistream.AddCoord( 2 , 229 , 426 )
-LDiv_1ostreamAddistream.AddCoord( 3 , 475 , 425 )
-LDiv_1ostreamAddistream.AddCoord( 4 , 475 , 352 )
-LDiv_1ostreamAddistream.AddCoord( 5 , 1110 , 352 )
-LDiv_1ostreamAddistream.AddCoord( 6 , 1111 , 512 )
-
-LLoopIndexEndLoopIndex = GraphStreams.Link( OLoopIndex , IEndLoopIndex )
-
-LLoopIndexAddx = GraphStreams.Link( OLoopIndex , IAddx )
-LLoopIndexAddx.AddCoord( 1 , 201 , 236 )
-LLoopIndexAddx.AddCoord( 2 , 202 , 420 )
-
-LLoopIndexAdd_1x = GraphStreams.Link( OLoopIndex , IAdd_1x )
-LLoopIndexAdd_1x.AddCoord( 1 , 201 , 562 )
-LLoopIndexAdd_1x.AddCoord( 2 , 202 , 422 )
-
-LLoopMinEndLoopMin = GraphStreams.Link( OLoopMin , IEndLoopMin )
-
-LLoopMaxEndLoopMax = GraphStreams.Link( OLoopMax , IEndLoopMax )
-
-LLoopIncrEndLoopIncr = GraphStreams.Link( OLoopIncr , IEndLoopIncr )
-
-LLoopy_AddEndLoopy_Add = GraphStreams.Link( OLoopy_Add , IEndLoopy_Add )
-
-LLoopy_AddAddy = GraphStreams.Link( OLoopy_Add , IAddy )
-LLoopy_AddAddy.AddCoord( 1 , 183 , 266 )
-LLoopy_AddAddy.AddCoord( 2 , 182 , 593 )
-
-LLoopy_AddAdd_1y = GraphStreams.Link( OLoopy_Add , IAdd_1y )
-
-LLoopx_SubEndLoopx_Sub = GraphStreams.Link( OLoopx_Sub , IEndLoopx_Sub )
-
-LLoopx_SubSubx = GraphStreams.Link( OLoopx_Sub , ISubx )
-LLoopx_SubSubx.AddCoord( 1 , 167 , 113 )
-LLoopx_SubSubx.AddCoord( 2 , 167 , 625 )
-
-LLoopx_SubSub_1x = GraphStreams.Link( OLoopx_Sub , ISub_1x )
-LLoopx_SubSub_1x.AddCoord( 1 , 167 , 450 )
-LLoopx_SubSub_1x.AddCoord( 2 , 168 , 624 )
-
-# Input datas
-ILoopIndex.Input( 0 )
-ILoopMin.Input( 1 )
-ILoopMax.Input( 10 )
-ILoopIncr.Input( 1 )
-ILoopz_Div.Input( 0 )
-ILoopz_Div_1.Input( 0 )
-ILoopy_Add.Input( 4.5 )
-ILoopx_Sub.Input( 1.5 )
-
-# Output Ports of the graph
-#OLoopz_Div = Loop.GetOutPort( 'z_Div' )
-#OLoopz_Div_1 = Loop.GetOutPort( 'z_Div_1' )
-#OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
-#OEndLoopMin = EndLoop.GetOutPort( 'Min' )
-#OEndLoopMax = EndLoop.GetOutPort( 'Max' )
-#OEndLoopIncr = EndLoop.GetOutPort( 'Incr' )
-#OEndLoopz_Div = EndLoop.GetOutPort( 'z_Div' )
-#OEndLoopz_Div_1 = EndLoop.GetOutPort( 'z_Div_1' )
-#OEndLoopy_Add = EndLoop.GetOutPort( 'y_Add' )
-#OEndLoopx_Sub = EndLoop.GetOutPort( 'x_Sub' )
-
-
-GraphStreams.Run()
-GraphStreams.DoneW()
-GraphStreams.State()
-
-GraphStreams.PrintPorts()
-
-subgraphs = GraphStreams.SubGraphsNumber()
-i = 1
-while i <= subgraphs :
- nodes = GraphStreams.SubGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
-
-substreamgraphs = GraphStreams.SubStreamGraphsNumber()
-i = 1
-while i <= substreamgraphs :
- nodes = GraphStreams.SubStreamGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubStreamGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
-
-GraphStreams.Export('/tmp/GraphStreams.xml')
-
-GraphStreams = StreamGraph( '/tmp/GraphStreams.xml' )
-GraphStreams.Run()
-GraphStreams.DoneW()
-GraphStreams.PrintPorts()
-print GraphStreams.State()
-
-GraphStreams.IsExecutable()
-
-subgraphs = GraphStreams.SubGraphsNumber()
-i = 1
-while i <= subgraphs :
- nodes = GraphStreams.SubGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
-
-substreamgraphs = GraphStreams.SubStreamGraphsNumber()
-i = 1
-while i <= substreamgraphs :
- nodes = GraphStreams.SubStreamGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubStreamGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-from SuperV import *
-
-FlowGraph = Graph( 'FlowGraph' )
-Add = FlowGraph.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
-
-Sub = FlowGraph.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
-Addz = Add.GetOutStreamPort( 'z' )
-if Addz != None :
- print "Error : GetOutStreamPort of a FlowPort in a FlowGraph"
-else :
- print 'None : Ok'
-
-Addz = Add.Port( 'z' )
-try :
- Suby = FlowGraph.StreamLink( Addz , Sub.Port( 'y' ) )
- print "Error : creation of a StreamLink in a FlowGraph"
-except :
- print "Ok"
-
-links = FlowGraph.StreamLinks()
-if len(links) != 0 :
- print "Error : StreamLinks in a FlowGraph"
-
-ports = FlowGraph.StreamPorts()
-if len( ports ) != 0 :
- print "Error : StreamPorts in a FlowGraph"
-
-links = Add.StreamLinks()
-if len(links) != 0 :
- print "Error : StreamLinks in a FlowNode"
-
-ports = Add.StreamPorts()
-if len( ports ) != 0 :
- print "Error : StreamPorts in a FlowNode"
-
-try :
- FlowGraph.SetStreamParams( 100 , SUPERV.WithoutTrace , 10. )
-except :
- print "No SetStreamParams Ok"
-
-try :
- Timeout,DataStreamTrace,DeltaTime = FlowGraph.StreamParams()
-except :
- print "No StreamParams Ok"
-
-
-
-
-from SuperV import *
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphStreams.xml'
-GraphStreams = StreamGraph( anXmlFile )
-
-GraphStreams.PrintPorts()
-GraphStreams.PrintLinks()
-
-exec GraphStreams.ListNodes()
-Add.PrintPorts()
-Add.PrintLinks()
-
-exec Loop.ListPorts()
-ILoopIndex.Print()
-OLoopIndex.Print()
-exec EndLoop.ListPorts()
-IEndLoopGate.Print()
-OEndLoopx_Sub.Print()
-exec Add.ListPorts()
-IAddx.Print()
-IAddistream.Print()
-OAddOStream.Print()
-exec Sub.ListPorts()
-exec Mul.ListPorts()
-exec Div.ListPorts()
-exec Add_1.ListPorts()
-exec Sub_1.ListPorts()
-exec Mul_1.ListPorts()
-exec Div_1.ListPorts()
-exec Add.ListLinks()
-LLoopIndexAddx.Print()
-LAddzMuly.Print()
-LDiv_1ostreamAddistream.Print()
-LAddOStreamSubIstream.Print()
-
-
-GraphStreams.IsExecutable()
-
-GraphStreams.Run()
-GraphStreams.DoneW()
-GraphStreams.PrintPorts()
-
-
-
-subgraphs = GraphStreams.SubGraphsNumber()
-i = 1
-while i <= subgraphs :
- nodes = GraphStreams.SubGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
-
-substreamgraphs = GraphStreams.SubStreamGraphsNumber()
-i = 1
-while i <= substreamgraphs :
- nodes = GraphStreams.SubStreamGraphsNodes( i )
- j = 0
- while j < len(nodes) :
- print 'SubStreamGraph',i,nodes[j].Name()
- j = j + 1
- i = i + 1
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSub
-#
-from SuperV import *
-
-# Graph creation of GraphSub
-def DefGraphSub() :
- GraphSub = Graph( 'GraphSub' )
- GraphSub.SetName( 'GraphSub' )
- GraphSub.SetAuthor( '' )
- GraphSub.SetComment( '' )
- GraphSub.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Sub = GraphSub.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'localhost/FactoryServer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 55 , 71 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- # Input Ports of the graph
- #ISubx = Sub.GetInPort( 'x' )
- #ISuby = Sub.GetInPort( 'y' )
-
- # Output Ports of the graph
- #OSubz = Sub.GetOutPort( 'z' )
- return GraphSub
-
-
-GraphSub = DefGraphSub()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitch
-#
-from SuperV import *
-
-# 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( 35 )
-
- # 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()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitch1
-#
-from SuperV import *
-
-# 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( 408 , 34 )
- 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( 862 , 156 )
- 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' )
- OInitLoopGate = InitLoop.GetOutPort( 'Gate' )
- 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( 640 , 155 )
- 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 )
-
- LInitLoopIndexSwitcha = GraphSwitch1.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphSwitch1.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphSwitch1.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphSwitch1.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchaIsOdda = GraphSwitch1.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 375 , 105 )
- LSwitchaIsOdda.AddCoord( 2 , 375 , 201 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitch1.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- 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' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- return GraphSwitch1
-
-
-GraphSwitch1 = DefGraphSwitch1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitch_1_1
-#
-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 )
-
- # 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 )
- 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' )
-
- 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 )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 397 , 279 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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_1_1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 775 , 169 )
- 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( ' 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( 583 , 169 )
- PyEndOfSwitch = []
- EndOfSwitch.SetPyFunction( 'EndSwitch_1' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 195 , 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_1_1.Link( OIsOdda , IEndOfSwitcha )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitch_1_1.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitch_1_1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitch_1_1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LIsEvenaEndOfSwitcha = GraphSwitch_1_1.Link( OIsEvena , IEndOfSwitcha )
-
- LSwitchOddIsOddGate = GraphSwitch_1_1.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenIsEvenGate = GraphSwitch_1_1.Link( OSwitchEven , IIsEvenGate )
-
- LSwitchaIsOdda = GraphSwitch_1_1.Link( OSwitcha , IIsOdda )
-
- LSwitchaIsEvena = GraphSwitch_1_1.Link( OSwitcha , IIsEvena )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitch_1_1.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitch_1_1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- return GraphSwitch_1_1
-
-
-GraphSwitch_1_1 = DefGraphSwitch_1_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchBranchGates
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchBranchGates
-def DefGraphSwitchBranchGates() :
- GraphSwitchBranchGates = Graph( 'GraphSwitchBranchGates' )
- GraphSwitchBranchGates.SetName( 'GraphSwitchBranchGates' )
- GraphSwitchBranchGates.SetAuthor( 'JR' )
- GraphSwitchBranchGates.SetComment( '' )
- GraphSwitchBranchGates.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 = GraphSwitchBranchGates.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( ' Index = Max ' )
- PyInitLoop.append( ' return Index,Min,Max ' )
- PyMoreInitLoop = []
- PyMoreInitLoop.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoop.append( ' if Index >= Min : ' )
- 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 = GraphSwitchBranchGates.LNode( 'InitLoop' , PyInitLoop , 'MoreLoop' , PyMoreInitLoop , 'NextLoop' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 777 , 170 )
- 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 <= 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- 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 ' )
- Switch,EndOfSwitch = GraphSwitchBranchGates.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 589 , 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( 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 = GraphSwitchBranchGates.Link( OIsOdda , IEndOfSwitcha )
- LIsOddaEndOfSwitcha.AddCoord( 1 , 571 , 201 )
- LIsOddaEndOfSwitcha.AddCoord( 2 , 571 , 136 )
-
- LInitLoopIndexSwitcha = GraphSwitchBranchGates.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphSwitchBranchGates.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphSwitchBranchGates.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphSwitchBranchGates.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenEndOfSwitchDefault = GraphSwitchBranchGates.Link( OSwitchEven , IEndOfSwitchDefault )
-
- LSwitchaIsOdda = GraphSwitchBranchGates.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 375 , 136 )
- LSwitchaIsOdda.AddCoord( 2 , 375 , 201 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchBranchGates.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopIndex = GraphSwitchBranchGates.Link( OEndOfSwitcha , IEndOfInitLoopIndex )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( -5 )
- IInitLoopMax.Input( 23 )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- return GraphSwitchBranchGates
-
-
-GraphSwitchBranchGates = DefGraphSwitchBranchGates()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchBranchGates1
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchBranchGates1
-def DefGraphSwitchBranchGates1() :
- GraphSwitchBranchGates1 = Graph( 'GraphSwitchBranchGates1' )
- GraphSwitchBranchGates1.SetName( 'GraphSwitchBranchGates1' )
- GraphSwitchBranchGates1.SetAuthor( 'JR' )
- GraphSwitchBranchGates1.SetComment( '' )
- GraphSwitchBranchGates1.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 = GraphSwitchBranchGates1.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( ' Index = Max ' )
- PyInitLoop.append( ' return Index,Min,Max ' )
- PyMoreInitLoop = []
- PyMoreInitLoop.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoop.append( ' if Index >= Min : ' )
- 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 = GraphSwitchBranchGates1.LNode( 'InitLoop' , PyInitLoop , 'MoreLoop' , PyMoreInitLoop , 'NextLoop' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 777 , 170 )
- 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 <= 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- 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 ' )
- Switch,EndOfSwitch = GraphSwitchBranchGates1.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 589 , 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( 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 = GraphSwitchBranchGates1.Link( OIsOdda , IEndOfSwitcha )
- LIsOddaEndOfSwitcha.AddCoord( 1 , 571 , 201 )
- LIsOddaEndOfSwitcha.AddCoord( 2 , 571 , 136 )
-
- LIsOddGateEndOfSwitchDefault = GraphSwitchBranchGates1.Link( OIsOddGate , IEndOfSwitchDefault )
-
- LInitLoopIndexSwitcha = GraphSwitchBranchGates1.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphSwitchBranchGates1.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphSwitchBranchGates1.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphSwitchBranchGates1.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenEndOfSwitchDefault = GraphSwitchBranchGates1.Link( OSwitchEven , IEndOfSwitchDefault )
-
- LSwitchaIsOdda = GraphSwitchBranchGates1.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 375 , 136 )
- LSwitchaIsOdda.AddCoord( 2 , 375 , 201 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchBranchGates1.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopIndex = GraphSwitchBranchGates1.Link( OEndOfSwitcha , IEndOfInitLoopIndex )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( -5 )
- IInitLoopMax.Input( 23 )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- return GraphSwitchBranchGates1
-
-
-GraphSwitchBranchGates1 = DefGraphSwitchBranchGates1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchBugAborted
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchBugAborted
-def DefGraphSwitchBugAborted() :
- GraphSwitchBugAborted = Graph( 'GraphSwitchBugAborted' )
- GraphSwitchBugAborted.SetName( 'GraphSwitchBugAborted' )
- GraphSwitchBugAborted.SetAuthor( 'JR' )
- GraphSwitchBugAborted.SetComment( '' )
- GraphSwitchBugAborted.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 = GraphSwitchBugAborted.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 = GraphSwitchBugAborted.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 772 , 132 )
- 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,a ' )
- Switch,EndOfSwitch = GraphSwitchBugAborted.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 581 , 132 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Even,k) : ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchEven = EndOfSwitch.InPort( 'Even' , 'long' )
- IEndOfSwitchk = EndOfSwitch.InPort( 'k' , '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' )
- OSwitchn = Switch.OutPort( 'n' , 'int' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitcha = GraphSwitchBugAborted.Link( OIsOdda , IEndOfSwitcha )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchBugAborted.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchBugAborted.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchBugAborted.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchBugAborted.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchaIsOdda = GraphSwitchBugAborted.Link( OSwitcha , IIsOdda )
-
- LSwitchnEndOfSwitchk = GraphSwitchBugAborted.Link( OSwitchn , IEndOfSwitchk )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchBugAborted.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( 0 )
- IInitLoopSwitchMax.Input( 20 )
-
- # Input Ports of the graph
- #IEndOfSwitchEven = EndOfSwitch.GetInPort( 'Even' )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- return GraphSwitchBugAborted
-
-
-GraphSwitchBugAborted = DefGraphSwitchBugAborted()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchBugDefault
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchBugDefault
-def DefGraphSwitchBugDefault() :
- GraphSwitchBugDefault = Graph( 'GraphSwitchBugDefault' )
- GraphSwitchBugDefault.SetName( 'GraphSwitchBugDefault' )
- GraphSwitchBugDefault.SetAuthor( 'JR' )
- GraphSwitchBugDefault.SetComment( '' )
- GraphSwitchBugDefault.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 = GraphSwitchBugDefault.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( ' Index = Min ' )
- 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 = GraphSwitchBugDefault.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 772 , 132 )
- 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,a ' )
- Switch,EndOfSwitch = GraphSwitchBugDefault.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 581 , 132 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Even,k) : ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchEven = EndOfSwitch.InPort( 'Even' , 'long' )
- IEndOfSwitchk = EndOfSwitch.InPort( 'k' , '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' )
- OSwitchn = Switch.OutPort( 'n' , 'int' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitcha = GraphSwitchBugDefault.Link( OIsOdda , IEndOfSwitcha )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchBugDefault.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchBugDefault.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchBugDefault.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchBugDefault.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchaIsOdda = GraphSwitchBugDefault.Link( OSwitcha , IIsOdda )
-
- LSwitchnEndOfSwitchk = GraphSwitchBugDefault.Link( OSwitchn , IEndOfSwitchk )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchBugDefault.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchBugDefault.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( 1 )
- IInitLoopSwitchMax.Input( 20 )
-
- # Input Ports of the graph
- #IEndOfSwitchEven = EndOfSwitch.GetInPort( 'Even' )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- return GraphSwitchBugDefault
-
-
-GraphSwitchBugDefault = DefGraphSwitchBugDefault()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCheck
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchCheck
-def DefGraphSwitchCheck() :
- GraphSwitchCheck = Graph( 'GraphSwitchCheck' )
- GraphSwitchCheck.SetName( 'GraphSwitchCheck' )
- GraphSwitchCheck.SetAuthor( 'JR' )
- GraphSwitchCheck.SetComment( '' )
- GraphSwitchCheck.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 = GraphSwitchCheck.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 415 , 7 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- 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 = GraphSwitchCheck.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 421 , 438 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyPrintOdd = []
- PyPrintOdd.append( 'from time import * ' )
- PyPrintOdd.append( 'def Print(a,Branch) : ' )
- PyPrintOdd.append( ' print "Print ",a,Branch ' )
- PyPrintOdd.append( ' sleep(1) ' )
- PyPrintOdd.append( ' return Branch ' )
- PrintOdd = GraphSwitchCheck.INode( 'Print' , PyPrintOdd )
- PrintOdd.SetName( 'PrintOdd' )
- PrintOdd.SetAuthor( '' )
- PrintOdd.SetComment( 'Compute Node' )
- PrintOdd.Coords( 415 , 130 )
- IPrintOdda = PrintOdd.InPort( 'a' , 'long' )
- IPrintOddBranch = PrintOdd.InPort( 'Branch' , 'string' )
- IPrintOddGate = PrintOdd.GetInPort( 'Gate' )
- OPrintOddBranch = PrintOdd.OutPort( 'Branch' , 'string' )
- OPrintOddGate = PrintOdd.GetOutPort( 'Gate' )
-
- PyPrintEven = []
- PyPrintEven.append( 'from time import * ' )
- PyPrintEven.append( 'def Print_1(a,Branch) : ' )
- PyPrintEven.append( ' print "Print ",a,Branch ' )
- PyPrintEven.append( ' sleep(1) ' )
- PyPrintEven.append( ' return Branch ' )
- PrintEven = GraphSwitchCheck.INode( 'Print_1' , PyPrintEven )
- PrintEven.SetName( 'PrintEven' )
- PrintEven.SetAuthor( '' )
- PrintEven.SetComment( 'Compute Node' )
- PrintEven.Coords( 423 , 289 )
- IPrintEvena = PrintEven.InPort( 'a' , 'long' )
- IPrintEvenBranch = PrintEven.InPort( 'Branch' , 'string' )
- IPrintEvenGate = PrintEven.GetInPort( 'Gate' )
- OPrintEvenBranch = PrintEven.OutPort( 'Branch' , 'string' )
- OPrintEvenGate = PrintEven.GetOutPort( 'Gate' )
-
- PyEmptyNode = []
- PyEmptyNode.append( 'from time import * ' )
- PyEmptyNode.append( 'def EmptyNode(a,Branch) : ' )
- PyEmptyNode.append( ' sleep(1) ' )
- PyEmptyNode.append( ' return a,Branch ' )
- EmptyNode = GraphSwitchCheck.INode( 'EmptyNode' , PyEmptyNode )
- EmptyNode.SetName( 'EmptyNode' )
- EmptyNode.SetAuthor( '' )
- EmptyNode.SetComment( 'Compute Node' )
- EmptyNode.Coords( 652 , 110 )
- IEmptyNodea = EmptyNode.InPort( 'a' , 'long' )
- IEmptyNodeBranch = EmptyNode.InPort( 'Branch' , 'string' )
- IEmptyNodeGate = EmptyNode.GetInPort( 'Gate' )
- OEmptyNodea = EmptyNode.OutPort( 'a' , 'long' )
- OEmptyNodeBranch = EmptyNode.OutPort( 'Branch' , 'string' )
- OEmptyNodeGate = EmptyNode.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'from time import * ' )
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' sleep(1) ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchCheck.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1074 , 194 )
- PyEndOfInitLoopSwitch = []
- PyEndOfInitLoopSwitch.append( 'from time import * ' )
- PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ' )
- PyEndOfInitLoopSwitch.append( ' sleep(1) ' )
- PyEndOfInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , 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( ' sleep(1) ' )
- PySwitch.append( ' Branch = "Negative or null" ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = "Even" ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = "Odd" ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchCheck.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 882 , 194 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'from time import * ' )
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
- PyEndOfSwitch.append( ' sleep(1) ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
- 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 , 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' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEmptyNodea = GraphSwitchCheck.Link( OIsOdda , IEmptyNodea )
- LIsOddaEmptyNodea.AddCoord( 1 , 646 , 78 )
-
- LIsEvenaEndOfSwitcha = GraphSwitchCheck.Link( OIsEvena , IEndOfSwitcha )
-
- LPrintOddBranchEmptyNodeBranch = GraphSwitchCheck.Link( OPrintOddBranch , IEmptyNodeBranch )
-
- LPrintEvenBranchEndOfSwitchBranch = GraphSwitchCheck.Link( OPrintEvenBranch , IEndOfSwitchBranch )
-
- LEmptyNodeaEndOfSwitcha = GraphSwitchCheck.Link( OEmptyNodea , IEndOfSwitcha )
-
- LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheck.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCheck.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheck.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheck.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCheck.Link( OSwitchOdd , IIsOddGate )
- LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
- LSwitchOddIsOddGate.AddCoord( 2 , 401 , 160 )
-
- LSwitchOddPrintOddGate = GraphSwitchCheck.Link( OSwitchOdd , IPrintOddGate )
- LSwitchOddPrintOddGate.AddCoord( 1 , 401 , 245 )
- LSwitchOddPrintOddGate.AddCoord( 2 , 401 , 159 )
-
- LSwitchEvenIsEvenGate = GraphSwitchCheck.Link( OSwitchEven , IIsEvenGate )
- LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
- LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 182 )
-
- LSwitchEvenPrintEvenGate = GraphSwitchCheck.Link( OSwitchEven , IPrintEvenGate )
- LSwitchEvenPrintEvenGate.AddCoord( 1 , 392 , 403 )
- LSwitchEvenPrintEvenGate.AddCoord( 2 , 392 , 181 )
-
- LSwitchaIsOdda = GraphSwitchCheck.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
- LSwitchaIsOdda.AddCoord( 2 , 382 , 199 )
-
- LSwitchaIsEvena = GraphSwitchCheck.Link( OSwitcha , IIsEvena )
- LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
- LSwitchaIsEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaPrintOdda = GraphSwitchCheck.Link( OSwitcha , IPrintOdda )
-
- LSwitchaPrintEvena = GraphSwitchCheck.Link( OSwitcha , IPrintEvena )
- LSwitchaPrintEvena.AddCoord( 1 , 381 , 361 )
- LSwitchaPrintEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchBranchPrintOddBranch = GraphSwitchCheck.Link( OSwitchBranch , IPrintOddBranch )
-
- LSwitchBranchPrintEvenBranch = GraphSwitchCheck.Link( OSwitchBranch , IPrintEvenBranch )
- LSwitchBranchPrintEvenBranch.AddCoord( 1 , 369 , 381 )
- LSwitchBranchPrintEvenBranch.AddCoord( 2 , 369 , 219 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheck.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheck.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- #OSwitchdefault = Switch.GetOutPort( 'default' )
- return GraphSwitchCheck
-
-
-GraphSwitchCheck = DefGraphSwitchCheck()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCheckBranch
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchCheckBranch
-def DefGraphSwitchCheckBranch() :
- GraphSwitchCheckBranch = Graph( 'GraphSwitchCheckBranch' )
- GraphSwitchCheckBranch.SetName( 'GraphSwitchCheckBranch' )
- GraphSwitchCheckBranch.SetAuthor( 'JR' )
- GraphSwitchCheckBranch.SetComment( 'Switch with two SwitchBranches, One NotSwitchBranch and the DefaultBranch' )
- GraphSwitchCheckBranch.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 = GraphSwitchCheckBranch.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 415 , 7 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- 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 = GraphSwitchCheckBranch.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 421 , 438 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyBranchNode = []
- PyBranchNode.append( 'from time import * ' )
- PyBranchNode.append( 'def Print_1(Branch) : ' )
- PyBranchNode.append( ' print "Print ",Branch ' )
- PyBranchNode.append( ' sleep(1) ' )
- PyBranchNode.append( ' return Branch ' )
- BranchNode = GraphSwitchCheckBranch.INode( 'Print_1' , PyBranchNode )
- BranchNode.SetName( 'BranchNode' )
- BranchNode.SetAuthor( '' )
- BranchNode.SetComment( 'Compute Node' )
- BranchNode.Coords( 604 , 149 )
- IBranchNodeBranch = BranchNode.InPort( 'Branch' , 'string' )
- IBranchNodeGate = BranchNode.GetInPort( 'Gate' )
- OBranchNodeBranch = BranchNode.OutPort( 'Branch' , 'string' )
- OBranchNodeGate = BranchNode.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'from time import * ' )
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' sleep(1) ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchCheckBranch.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1074 , 194 )
- PyEndOfInitLoopSwitch = []
- PyEndOfInitLoopSwitch.append( 'from time import * ' )
- PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ' )
- PyEndOfInitLoopSwitch.append( ' sleep(1) ' )
- PyEndOfInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , 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( ' sleep(1) ' )
- PySwitch.append( ' Branch = "Negative or null" ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = "Even" ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = "Odd" ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchCheckBranch.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 882 , 194 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'from time import * ' )
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
- PyEndOfSwitch.append( ' sleep(1) ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
- 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 , 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' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitcha = GraphSwitchCheckBranch.Link( OIsOdda , IEndOfSwitcha )
-
- LIsEvenaEndOfSwitcha = GraphSwitchCheckBranch.Link( OIsEvena , IEndOfSwitcha )
-
- LBranchNodeBranchEndOfSwitchBranch = GraphSwitchCheckBranch.Link( OBranchNodeBranch , IEndOfSwitchBranch )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCheckBranch.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckBranch.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckBranch.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCheckBranch.Link( OSwitchOdd , IIsOddGate )
- LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
- LSwitchOddIsOddGate.AddCoord( 2 , 401 , 160 )
-
- LSwitchEvenIsEvenGate = GraphSwitchCheckBranch.Link( OSwitchEven , IIsEvenGate )
- LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
- LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 182 )
-
- LSwitchaIsOdda = GraphSwitchCheckBranch.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
- LSwitchaIsOdda.AddCoord( 2 , 382 , 199 )
-
- LSwitchaIsEvena = GraphSwitchCheckBranch.Link( OSwitcha , IIsEvena )
- LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
- LSwitchaIsEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchBranchBranchNodeBranch = GraphSwitchCheckBranch.Link( OSwitchBranch , IBranchNodeBranch )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckBranch.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckBranch.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- #OSwitchdefault = Switch.GetOutPort( 'default' )
- return GraphSwitchCheckBranch
-
-
-GraphSwitchCheckBranch = DefGraphSwitchCheckBranch()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCheckBranch1_1
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchCheckBranch1_1
-def DefGraphSwitchCheckBranch1_1() :
- GraphSwitchCheckBranch1_1 = Graph( 'GraphSwitchCheckBranch1_1' )
- GraphSwitchCheckBranch1_1.SetName( 'GraphSwitchCheckBranch1_1' )
- GraphSwitchCheckBranch1_1.SetAuthor( 'JR' )
- GraphSwitchCheckBranch1_1.SetComment( 'Switch with two SwitchBranches, One NotSwitchBranch and the DefaultBranch' )
- GraphSwitchCheckBranch1_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # 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 = GraphSwitchCheckBranch1_1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 415 , 7 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- 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 = GraphSwitchCheckBranch1_1.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 421 , 438 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyBranchNode = []
- PyBranchNode.append( 'from time import * ' )
- PyBranchNode.append( 'def Print_1(Branch) : ' )
- PyBranchNode.append( ' print "Print ",Branch ' )
- PyBranchNode.append( ' sleep(1) ' )
- PyBranchNode.append( ' return Branch ' )
- BranchNode = GraphSwitchCheckBranch1_1.INode( 'Print_1' , PyBranchNode )
- BranchNode.SetName( 'BranchNode' )
- BranchNode.SetAuthor( '' )
- BranchNode.SetComment( 'Compute Node' )
- BranchNode.Coords( 529 , 177 )
- IBranchNodeBranch = BranchNode.InPort( 'Branch' , 'string' )
- IBranchNodeGate = BranchNode.GetInPort( 'Gate' )
- OBranchNodeBranch = BranchNode.OutPort( 'Branch' , 'string' )
- OBranchNodeGate = BranchNode.GetOutPort( 'Gate' )
-
- Pydefault = []
- Pydefault.append( 'from time import * ' )
- Pydefault.append( 'def default(a) : ' )
- Pydefault.append( ' sleep(1) ' )
- Pydefault.append( ' return a ' )
- default = GraphSwitchCheckBranch1_1.INode( 'default' , Pydefault )
- default.SetName( 'default' )
- default.SetAuthor( '' )
- default.SetComment( 'Compute Node' )
- default.Coords( 428 , 308 )
- Idefaulta = default.InPort( 'a' , 'long' )
- IdefaultGate = default.GetInPort( 'Gate' )
- Odefaulta = default.OutPort( 'a' , 'long' )
- OdefaultGate = default.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'from time import * ' )
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' sleep(1) ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchCheckBranch1_1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1073 , 216 )
- PyEndOfInitLoopSwitch = []
- PyEndOfInitLoopSwitch.append( 'from time import * ' )
- PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ' )
- PyEndOfInitLoopSwitch.append( ' sleep(1) ' )
- PyEndOfInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , 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 , 157 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' Branch = "Negative or null" ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = "Even" ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = "Odd" ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchCheckBranch1_1.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 880 , 216 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'from time import * ' )
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
- PyEndOfSwitch.append( ' sleep(1) ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
- 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 , 157 )
- ISwitcha = Switch.InPort( 'a' , 'long' )
- ISwitchGate = Switch.GetInPort( 'Gate' )
- OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
- OSwitchEven = Switch.OutPort( 'Even' , 'int' )
- OSwitcha = Switch.OutPort( 'a' , 'int' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitcha = GraphSwitchCheckBranch1_1.Link( OIsOdda , IEndOfSwitcha )
-
- LIsEvenaEndOfSwitcha = GraphSwitchCheckBranch1_1.Link( OIsEvena , IEndOfSwitcha )
-
- LBranchNodeBranchEndOfSwitchBranch = GraphSwitchCheckBranch1_1.Link( OBranchNodeBranch , IEndOfSwitchBranch )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCheckBranch1_1.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckBranch1_1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckBranch1_1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCheckBranch1_1.Link( OSwitchOdd , IIsOddGate )
- LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
- LSwitchOddIsOddGate.AddCoord( 2 , 401 , 188 )
-
- LSwitchEvenIsEvenGate = GraphSwitchCheckBranch1_1.Link( OSwitchEven , IIsEvenGate )
- LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
- LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 208 )
-
- LSwitchaIsOdda = GraphSwitchCheckBranch1_1.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
- LSwitchaIsOdda.AddCoord( 2 , 382 , 229 )
-
- LSwitchaIsEvena = GraphSwitchCheckBranch1_1.Link( OSwitcha , IIsEvena )
- LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
- LSwitchaIsEvena.AddCoord( 2 , 381 , 229 )
-
- LSwitchadefaulta = GraphSwitchCheckBranch1_1.Link( OSwitcha , Idefaulta )
- LSwitchadefaulta.AddCoord( 1 , 382 , 377 )
- LSwitchadefaulta.AddCoord( 2 , 382 , 228 )
-
- LSwitchBranchBranchNodeBranch = GraphSwitchCheckBranch1_1.Link( OSwitchBranch , IBranchNodeBranch )
-
- LSwitchdefaultdefaultGate = GraphSwitchCheckBranch1_1.Link( OSwitchdefault , IdefaultGate )
- LSwitchdefaultdefaultGate.AddCoord( 1 , 410 , 403 )
- LSwitchdefaultdefaultGate.AddCoord( 2 , 410 , 269 )
- LSwitchdefaultdefaultGate.AddCoord( 3 , 410 , 268 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckBranch1_1.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckBranch1_1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- LdefaultaEndOfSwitcha = GraphSwitchCheckBranch1_1.Link( Odefaulta , IEndOfSwitcha )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- return GraphSwitchCheckBranch1_1
-
-
-GraphSwitchCheckBranch1_1 = DefGraphSwitchCheckBranch1_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCheckBranch1Default
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchCheckBranch1Default
-def DefGraphSwitchCheckBranch1Default() :
- GraphSwitchCheckBranch1Default = Graph( 'GraphSwitchCheckBranch1Default' )
- GraphSwitchCheckBranch1Default.SetName( 'GraphSwitchCheckBranch1Default' )
- GraphSwitchCheckBranch1Default.SetAuthor( 'JR' )
- GraphSwitchCheckBranch1Default.SetComment( 'Switch with two SwitchBranches, One NotSwitchBranch and the DefaultBranch' )
- GraphSwitchCheckBranch1Default.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 = GraphSwitchCheckBranch1Default.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 415 , 7 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- 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 = GraphSwitchCheckBranch1Default.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 421 , 438 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyBranchNode = []
- PyBranchNode.append( 'from time import * ' )
- PyBranchNode.append( 'def Print_1(Branch) : ' )
- PyBranchNode.append( ' print "Print ",Branch ' )
- PyBranchNode.append( ' sleep(1) ' )
- PyBranchNode.append( ' return Branch ' )
- BranchNode = GraphSwitchCheckBranch1Default.INode( 'Print_1' , PyBranchNode )
- BranchNode.SetName( 'BranchNode' )
- BranchNode.SetAuthor( '' )
- BranchNode.SetComment( 'Compute Node' )
- BranchNode.Coords( 529 , 177 )
- IBranchNodeBranch = BranchNode.InPort( 'Branch' , 'string' )
- IBranchNodeGate = BranchNode.GetInPort( 'Gate' )
- OBranchNodeBranch = BranchNode.OutPort( 'Branch' , 'string' )
- OBranchNodeGate = BranchNode.GetOutPort( 'Gate' )
-
- Pydefault = []
- Pydefault.append( 'from time import * ' )
- Pydefault.append( 'def default(a) : ' )
- Pydefault.append( ' sleep(1) ' )
- Pydefault.append( ' return a ' )
- default = GraphSwitchCheckBranch1Default.INode( 'default' , Pydefault )
- default.SetName( 'default' )
- default.SetAuthor( '' )
- default.SetComment( 'Compute Node' )
- default.Coords( 428 , 308 )
- Idefaulta = default.InPort( 'a' , 'long' )
- IdefaultGate = default.GetInPort( 'Gate' )
- Odefaulta = default.OutPort( 'a' , 'long' )
- OdefaultGate = default.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'from time import * ' )
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' sleep(1) ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchCheckBranch1Default.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1073 , 216 )
- PyEndOfInitLoopSwitch = []
- PyEndOfInitLoopSwitch.append( 'from time import * ' )
- PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ' )
- PyEndOfInitLoopSwitch.append( ' sleep(1) ' )
- PyEndOfInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , 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 , 157 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' Branch = "Negative or null" ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' return 0,0,a,Branch,0 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = "Even" ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = "Odd" ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchCheckBranch1Default.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 880 , 216 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'from time import * ' )
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
- PyEndOfSwitch.append( ' sleep(1) ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
- 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 , 157 )
- ISwitcha = Switch.InPort( 'a' , 'long' )
- ISwitchGate = Switch.GetInPort( 'Gate' )
- OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
- OSwitchEven = Switch.OutPort( 'Even' , 'int' )
- OSwitcha = Switch.OutPort( 'a' , 'int' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitcha = GraphSwitchCheckBranch1Default.Link( OIsOdda , IEndOfSwitcha )
-
- LIsEvenaEndOfSwitcha = GraphSwitchCheckBranch1Default.Link( OIsEvena , IEndOfSwitcha )
-
- LBranchNodeBranchEndOfSwitchBranch = GraphSwitchCheckBranch1Default.Link( OBranchNodeBranch , IEndOfSwitchBranch )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCheckBranch1Default.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckBranch1Default.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckBranch1Default.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCheckBranch1Default.Link( OSwitchOdd , IIsOddGate )
- LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
- LSwitchOddIsOddGate.AddCoord( 2 , 401 , 188 )
-
- LSwitchEvenIsEvenGate = GraphSwitchCheckBranch1Default.Link( OSwitchEven , IIsEvenGate )
- LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
- LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 208 )
-
- LSwitchaIsOdda = GraphSwitchCheckBranch1Default.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
- LSwitchaIsOdda.AddCoord( 2 , 382 , 229 )
-
- LSwitchaIsEvena = GraphSwitchCheckBranch1Default.Link( OSwitcha , IIsEvena )
- LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
- LSwitchaIsEvena.AddCoord( 2 , 381 , 229 )
-
- LSwitchadefaulta = GraphSwitchCheckBranch1Default.Link( OSwitcha , Idefaulta )
- LSwitchadefaulta.AddCoord( 1 , 382 , 377 )
- LSwitchadefaulta.AddCoord( 2 , 382 , 228 )
-
- LSwitchBranchBranchNodeBranch = GraphSwitchCheckBranch1Default.Link( OSwitchBranch , IBranchNodeBranch )
-
- LSwitchdefaultdefaultGate = GraphSwitchCheckBranch1Default.Link( OSwitchdefault , IdefaultGate )
- LSwitchdefaultdefaultGate.AddCoord( 1 , 410 , 403 )
- LSwitchdefaultdefaultGate.AddCoord( 2 , 410 , 269 )
- LSwitchdefaultdefaultGate.AddCoord( 3 , 410 , 268 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckBranch1Default.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckBranch1Default.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- LdefaultaEndOfSwitcha = GraphSwitchCheckBranch1Default.Link( Odefaulta , IEndOfSwitcha )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- return GraphSwitchCheckBranch1Default
-
-
-GraphSwitchCheckBranch1Default = DefGraphSwitchCheckBranch1Default()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCheckBranch1NoDefault
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchCheckBranch1NoDefault
-def DefGraphSwitchCheckBranch1NoDefault() :
- GraphSwitchCheckBranch1NoDefault = Graph( 'GraphSwitchCheckBranch1NoDefault' )
- GraphSwitchCheckBranch1NoDefault.SetName( 'GraphSwitchCheckBranch1NoDefault' )
- GraphSwitchCheckBranch1NoDefault.SetAuthor( 'JR' )
- GraphSwitchCheckBranch1NoDefault.SetComment( 'Switch with two SwitchBranches, One NotSwitchBranch and the DefaultBranch' )
- GraphSwitchCheckBranch1NoDefault.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 = GraphSwitchCheckBranch1NoDefault.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 415 , 7 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- 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 = GraphSwitchCheckBranch1NoDefault.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 421 , 438 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyBranchNode = []
- PyBranchNode.append( 'from time import * ' )
- PyBranchNode.append( 'def Print_1(Branch) : ' )
- PyBranchNode.append( ' print "Print ",Branch ' )
- PyBranchNode.append( ' sleep(1) ' )
- PyBranchNode.append( ' return Branch ' )
- BranchNode = GraphSwitchCheckBranch1NoDefault.INode( 'Print_1' , PyBranchNode )
- BranchNode.SetName( 'BranchNode' )
- BranchNode.SetAuthor( '' )
- BranchNode.SetComment( 'Compute Node' )
- BranchNode.Coords( 529 , 177 )
- IBranchNodeBranch = BranchNode.InPort( 'Branch' , 'string' )
- IBranchNodeGate = BranchNode.GetInPort( 'Gate' )
- OBranchNodeBranch = BranchNode.OutPort( 'Branch' , 'string' )
- OBranchNodeGate = BranchNode.GetOutPort( 'Gate' )
-
- Pydefault = []
- Pydefault.append( 'from time import * ' )
- Pydefault.append( 'def default(a) : ' )
- Pydefault.append( ' sleep(1) ' )
- Pydefault.append( ' return a ' )
- default = GraphSwitchCheckBranch1NoDefault.INode( 'default' , Pydefault )
- default.SetName( 'default' )
- default.SetAuthor( '' )
- default.SetComment( 'Compute Node' )
- default.Coords( 428 , 308 )
- Idefaulta = default.InPort( 'a' , 'long' )
- IdefaultGate = default.GetInPort( 'Gate' )
- Odefaulta = default.OutPort( 'a' , 'long' )
- OdefaultGate = default.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'from time import * ' )
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' sleep(1) ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchCheckBranch1NoDefault.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1073 , 216 )
- PyEndOfInitLoopSwitch = []
- PyEndOfInitLoopSwitch.append( 'from time import * ' )
- PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ' )
- PyEndOfInitLoopSwitch.append( ' sleep(1) ' )
- PyEndOfInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , 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 , 157 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' Branch = "Negative or null" ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = "Even" ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = "Odd" ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchCheckBranch1NoDefault.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 880 , 216 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'from time import * ' )
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
- PyEndOfSwitch.append( ' sleep(1) ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
- 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 , 157 )
- ISwitcha = Switch.InPort( 'a' , 'long' )
- ISwitchGate = Switch.GetInPort( 'Gate' )
- OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
- OSwitchEven = Switch.OutPort( 'Even' , 'int' )
- OSwitcha = Switch.OutPort( 'a' , 'int' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitcha = GraphSwitchCheckBranch1NoDefault.Link( OIsOdda , IEndOfSwitcha )
-
- LIsEvenaEndOfSwitcha = GraphSwitchCheckBranch1NoDefault.Link( OIsEvena , IEndOfSwitcha )
-
- LBranchNodeBranchEndOfSwitchBranch = GraphSwitchCheckBranch1NoDefault.Link( OBranchNodeBranch , IEndOfSwitchBranch )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCheckBranch1NoDefault.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckBranch1NoDefault.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckBranch1NoDefault.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCheckBranch1NoDefault.Link( OSwitchOdd , IIsOddGate )
- LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
- LSwitchOddIsOddGate.AddCoord( 2 , 401 , 188 )
-
- LSwitchEvenIsEvenGate = GraphSwitchCheckBranch1NoDefault.Link( OSwitchEven , IIsEvenGate )
- LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
- LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 208 )
-
- LSwitchaIsOdda = GraphSwitchCheckBranch1NoDefault.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
- LSwitchaIsOdda.AddCoord( 2 , 382 , 229 )
-
- LSwitchaIsEvena = GraphSwitchCheckBranch1NoDefault.Link( OSwitcha , IIsEvena )
- LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
- LSwitchaIsEvena.AddCoord( 2 , 381 , 229 )
-
- LSwitchadefaulta = GraphSwitchCheckBranch1NoDefault.Link( OSwitcha , Idefaulta )
- LSwitchadefaulta.AddCoord( 1 , 382 , 377 )
- LSwitchadefaulta.AddCoord( 2 , 382 , 228 )
-
- LSwitchBranchBranchNodeBranch = GraphSwitchCheckBranch1NoDefault.Link( OSwitchBranch , IBranchNodeBranch )
-
- LSwitchdefaultdefaultGate = GraphSwitchCheckBranch1NoDefault.Link( OSwitchdefault , IdefaultGate )
- LSwitchdefaultdefaultGate.AddCoord( 1 , 410 , 403 )
- LSwitchdefaultdefaultGate.AddCoord( 2 , 410 , 269 )
- LSwitchdefaultdefaultGate.AddCoord( 3 , 410 , 268 )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckBranch1NoDefault.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- LdefaultaEndOfSwitcha = GraphSwitchCheckBranch1NoDefault.Link( Odefaulta , IEndOfSwitcha )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- return GraphSwitchCheckBranch1NoDefault
-
-
-GraphSwitchCheckBranch1NoDefault = DefGraphSwitchCheckBranch1NoDefault()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCheckBranch2NOTValid
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchCheckBranch2NOTValid
-def DefGraphSwitchCheckBranch2NOTValid() :
- GraphSwitchCheckBranch2NOTValid = Graph( 'GraphSwitchCheckBranch2NOTValid' )
- GraphSwitchCheckBranch2NOTValid.SetName( 'GraphSwitchCheckBranch2NOTValid' )
- GraphSwitchCheckBranch2NOTValid.SetAuthor( 'JR' )
- GraphSwitchCheckBranch2NOTValid.SetComment( 'Switch with two SwitchBranches, One NotSwitchBranch and the DefaultBranch
-Shared Node between Branches' )
- GraphSwitchCheckBranch2NOTValid.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(aBranch) : ' )
- PyIsOdd.append( ' print a,"IsOdd (GraphSwitch)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphSwitchCheckBranch2NOTValid.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 649 , 6 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddBranch = IsOdd.InPort( 'Branch' , 'string' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven(aBranch) : ' )
- PyIsEven.append( ' print a,"IsEven (GraphSwitch)" ' )
- PyIsEven.append( ' sleep( 1 ) ' )
- PyIsEven.append( ' return a ' )
- IsEven = GraphSwitchCheckBranch2NOTValid.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 657 , 451 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenBranch = IsEven.InPort( 'Branch' , 'string' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyBranchNode = []
- PyBranchNode.append( 'from time import * ' )
- PyBranchNode.append( 'def Print_1(Branch) : ' )
- PyBranchNode.append( ' print "Print ",Branch ' )
- PyBranchNode.append( ' sleep(1) ' )
- PyBranchNode.append( ' return Branch ' )
- BranchNode = GraphSwitchCheckBranch2NOTValid.INode( 'Print_1' , PyBranchNode )
- BranchNode.SetName( 'BranchNode' )
- BranchNode.SetAuthor( '' )
- BranchNode.SetComment( 'Compute Node' )
- BranchNode.Coords( 429 , 177 )
- IBranchNodeBranch = BranchNode.InPort( 'Branch' , 'string' )
- IBranchNodeGate = BranchNode.GetInPort( 'Gate' )
- OBranchNodeBranch = BranchNode.OutPort( 'Branch' , 'string' )
- OBranchNodeGate = BranchNode.GetOutPort( 'Gate' )
-
- Pydefault = []
- Pydefault.append( 'from time import * ' )
- Pydefault.append( 'def default(a,Branch) : ' )
- Pydefault.append( ' sleep(1) ' )
- Pydefault.append( ' return a ' )
- default = GraphSwitchCheckBranch2NOTValid.INode( 'default' , Pydefault )
- default.SetName( 'default' )
- default.SetAuthor( '' )
- default.SetComment( 'Compute Node' )
- default.Coords( 655 , 306 )
- Idefaulta = default.InPort( 'a' , 'long' )
- IdefaultBranch = default.InPort( 'Branch' , 'string' )
- IdefaultGate = default.GetInPort( 'Gate' )
- Odefaulta = default.OutPort( 'a' , 'long' )
- OdefaultGate = default.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'from time import * ' )
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' sleep(1) ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchCheckBranch2NOTValid.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1073 , 216 )
- PyEndOfInitLoopSwitch = []
- PyEndOfInitLoopSwitch.append( 'from time import * ' )
- PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ' )
- PyEndOfInitLoopSwitch.append( ' sleep(1) ' )
- PyEndOfInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , 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 , 157 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' Branch = "Negative or null" ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = "Even" ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = "Odd" ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchCheckBranch2NOTValid.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 880 , 216 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'from time import * ' )
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
- PyEndOfSwitch.append( ' sleep(1) ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
- 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 , 157 )
- ISwitcha = Switch.InPort( 'a' , 'long' )
- ISwitchGate = Switch.GetInPort( 'Gate' )
- OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
- OSwitchEven = Switch.OutPort( 'Even' , 'int' )
- OSwitcha = Switch.OutPort( 'a' , 'int' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitcha = GraphSwitchCheckBranch2NOTValid.Link( OIsOdda , IEndOfSwitcha )
-
- LIsEvenaEndOfSwitcha = GraphSwitchCheckBranch2NOTValid.Link( OIsEvena , IEndOfSwitcha )
-
- LBranchNodeBranchEndOfSwitchBranch = GraphSwitchCheckBranch2NOTValid.Link( OBranchNodeBranch , IEndOfSwitchBranch )
-
- LBranchNodeBranchIsOddBranch = GraphSwitchCheckBranch2NOTValid.Link( OBranchNodeBranch , IIsOddBranch )
-
- LBranchNodeBranchdefaultBranch = GraphSwitchCheckBranch2NOTValid.Link( OBranchNodeBranch , IdefaultBranch )
-
- LBranchNodeBranchIsEvenBranch = GraphSwitchCheckBranch2NOTValid.Link( OBranchNodeBranch , IIsEvenBranch )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCheckBranch2NOTValid.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckBranch2NOTValid.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckBranch2NOTValid.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCheckBranch2NOTValid.Link( OSwitchOdd , IIsOddGate )
- LSwitchOddIsOddGate.AddCoord( 1 , 400 , 121 )
- LSwitchOddIsOddGate.AddCoord( 2 , 401 , 188 )
-
- LSwitchEvenIsEvenGate = GraphSwitchCheckBranch2NOTValid.Link( OSwitchEven , IIsEvenGate )
- LSwitchEvenIsEvenGate.AddCoord( 1 , 391 , 568 )
- LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 208 )
-
- LSwitchadefaulta = GraphSwitchCheckBranch2NOTValid.Link( OSwitcha , Idefaulta )
-
- LSwitchaIsEvena = GraphSwitchCheckBranch2NOTValid.Link( OSwitcha , IIsEvena )
-
- LSwitchaIsOdda = GraphSwitchCheckBranch2NOTValid.Link( OSwitcha , IIsOdda )
-
- LSwitchBranchBranchNodeBranch = GraphSwitchCheckBranch2NOTValid.Link( OSwitchBranch , IBranchNodeBranch )
-
- LSwitchdefaultdefaultGate = GraphSwitchCheckBranch2NOTValid.Link( OSwitchdefault , IdefaultGate )
- LSwitchdefaultdefaultGate.AddCoord( 1 , 410 , 422 )
- LSwitchdefaultdefaultGate.AddCoord( 2 , 410 , 269 )
- LSwitchdefaultdefaultGate.AddCoord( 3 , 410 , 268 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckBranch2NOTValid.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckBranch2NOTValid.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- LdefaultaEndOfSwitcha = GraphSwitchCheckBranch2NOTValid.Link( Odefaulta , IEndOfSwitcha )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- return GraphSwitchCheckBranch2NOTValid
-
-
-GraphSwitchCheckBranch2NOTValid = DefGraphSwitchCheckBranch2NOTValid()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCheckDefault_1
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchCheckDefault_1
-def DefGraphSwitchCheckDefault_1() :
- GraphSwitchCheckDefault_1 = Graph( 'GraphSwitchCheckDefault_1' )
- GraphSwitchCheckDefault_1.SetName( 'GraphSwitchCheckDefault_1' )
- GraphSwitchCheckDefault_1.SetAuthor( 'JR' )
- GraphSwitchCheckDefault_1.SetComment( '' )
- GraphSwitchCheckDefault_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # 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 = GraphSwitchCheckDefault_1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 415 , 7 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- 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 = GraphSwitchCheckDefault_1.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 421 , 438 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyPrintOdd = []
- PyPrintOdd.append( 'from time import * ' )
- PyPrintOdd.append( 'def Print(a,Branch) : ' )
- PyPrintOdd.append( ' print "Print ",a,Branch ' )
- PyPrintOdd.append( ' sleep(1) ' )
- PyPrintOdd.append( ' return Branch ' )
- PrintOdd = GraphSwitchCheckDefault_1.INode( 'Print' , PyPrintOdd )
- PrintOdd.SetName( 'PrintOdd' )
- PrintOdd.SetAuthor( '' )
- PrintOdd.SetComment( 'Compute Node' )
- PrintOdd.Coords( 415 , 130 )
- IPrintOdda = PrintOdd.InPort( 'a' , 'long' )
- IPrintOddBranch = PrintOdd.InPort( 'Branch' , 'string' )
- IPrintOddGate = PrintOdd.GetInPort( 'Gate' )
- OPrintOddBranch = PrintOdd.OutPort( 'Branch' , 'string' )
- OPrintOddGate = PrintOdd.GetOutPort( 'Gate' )
-
- PyPrintEven = []
- PyPrintEven.append( 'from time import * ' )
- PyPrintEven.append( 'def Print_1(a,Branch) : ' )
- PyPrintEven.append( ' print "Print ",a,Branch ' )
- PyPrintEven.append( ' sleep(1) ' )
- PyPrintEven.append( ' return Branch ' )
- PrintEven = GraphSwitchCheckDefault_1.INode( 'Print_1' , PyPrintEven )
- PrintEven.SetName( 'PrintEven' )
- PrintEven.SetAuthor( '' )
- PrintEven.SetComment( 'Compute Node' )
- PrintEven.Coords( 423 , 289 )
- IPrintEvena = PrintEven.InPort( 'a' , 'long' )
- IPrintEvenBranch = PrintEven.InPort( 'Branch' , 'string' )
- IPrintEvenGate = PrintEven.GetInPort( 'Gate' )
- OPrintEvenBranch = PrintEven.OutPort( 'Branch' , 'string' )
- OPrintEvenGate = PrintEven.GetOutPort( 'Gate' )
-
- PyEmptyNode = []
- PyEmptyNode.append( 'from time import * ' )
- PyEmptyNode.append( 'def EmptyNode(a,Branch) : ' )
- PyEmptyNode.append( ' sleep(1) ' )
- PyEmptyNode.append( ' return a,Branch ' )
- EmptyNode = GraphSwitchCheckDefault_1.INode( 'EmptyNode' , PyEmptyNode )
- EmptyNode.SetName( 'EmptyNode' )
- EmptyNode.SetAuthor( '' )
- EmptyNode.SetComment( 'Compute Node' )
- EmptyNode.Coords( 652 , 110 )
- IEmptyNodea = EmptyNode.InPort( 'a' , 'long' )
- IEmptyNodeBranch = EmptyNode.InPort( 'Branch' , 'string' )
- IEmptyNodeGate = EmptyNode.GetInPort( 'Gate' )
- OEmptyNodea = EmptyNode.OutPort( 'a' , 'long' )
- OEmptyNodeBranch = EmptyNode.OutPort( 'Branch' , 'string' )
- OEmptyNodeGate = EmptyNode.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'from time import * ' )
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' sleep(1) ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchCheckDefault_1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1074 , 194 )
- PyEndOfInitLoopSwitch = []
- PyEndOfInitLoopSwitch.append( 'from time import * ' )
- PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ' )
- PyEndOfInitLoopSwitch.append( ' sleep(1) ' )
- PyEndOfInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , 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( ' sleep(1) ' )
- PySwitch.append( ' Branch = "Negative or null" ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = "Even" ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = "Odd" ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchCheckDefault_1.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 882 , 194 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'from time import * ' )
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
- PyEndOfSwitch.append( ' sleep(1) ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 190 , 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' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEmptyNodea = GraphSwitchCheckDefault_1.Link( OIsOdda , IEmptyNodea )
- LIsOddaEmptyNodea.AddCoord( 1 , 646 , 78 )
-
- LIsEvenaEndOfSwitcha = GraphSwitchCheckDefault_1.Link( OIsEvena , IEndOfSwitcha )
-
- LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckDefault_1.Link( OPrintOddBranch , IEmptyNodeBranch )
-
- LPrintEvenBranchEndOfSwitchBranch = GraphSwitchCheckDefault_1.Link( OPrintEvenBranch , IEndOfSwitchBranch )
-
- LEmptyNodeaEndOfSwitcha = GraphSwitchCheckDefault_1.Link( OEmptyNodea , IEndOfSwitcha )
-
- LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckDefault_1.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCheckDefault_1.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckDefault_1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckDefault_1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCheckDefault_1.Link( OSwitchOdd , IIsOddGate )
- LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
- LSwitchOddIsOddGate.AddCoord( 2 , 401 , 160 )
-
- LSwitchOddPrintOddGate = GraphSwitchCheckDefault_1.Link( OSwitchOdd , IPrintOddGate )
- LSwitchOddPrintOddGate.AddCoord( 1 , 401 , 245 )
- LSwitchOddPrintOddGate.AddCoord( 2 , 401 , 159 )
-
- LSwitchEvenIsEvenGate = GraphSwitchCheckDefault_1.Link( OSwitchEven , IIsEvenGate )
- LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
- LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 182 )
-
- LSwitchEvenPrintEvenGate = GraphSwitchCheckDefault_1.Link( OSwitchEven , IPrintEvenGate )
- LSwitchEvenPrintEvenGate.AddCoord( 1 , 392 , 403 )
- LSwitchEvenPrintEvenGate.AddCoord( 2 , 392 , 181 )
-
- LSwitchaIsOdda = GraphSwitchCheckDefault_1.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
- LSwitchaIsOdda.AddCoord( 2 , 382 , 199 )
-
- LSwitchaIsEvena = GraphSwitchCheckDefault_1.Link( OSwitcha , IIsEvena )
- LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
- LSwitchaIsEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaPrintOdda = GraphSwitchCheckDefault_1.Link( OSwitcha , IPrintOdda )
-
- LSwitchaPrintEvena = GraphSwitchCheckDefault_1.Link( OSwitcha , IPrintEvena )
- LSwitchaPrintEvena.AddCoord( 1 , 381 , 361 )
- LSwitchaPrintEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchBranchPrintOddBranch = GraphSwitchCheckDefault_1.Link( OSwitchBranch , IPrintOddBranch )
-
- LSwitchBranchPrintEvenBranch = GraphSwitchCheckDefault_1.Link( OSwitchBranch , IPrintEvenBranch )
- LSwitchBranchPrintEvenBranch.AddCoord( 1 , 369 , 381 )
- LSwitchBranchPrintEvenBranch.AddCoord( 2 , 369 , 219 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckDefault_1.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault_1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- #OSwitchdefault = Switch.GetOutPort( 'default' )
- return GraphSwitchCheckDefault_1
-
-
-GraphSwitchCheckDefault_1 = DefGraphSwitchCheckDefault_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCheckDefault1
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchCheckDefault1
-def DefGraphSwitchCheckDefault1() :
- GraphSwitchCheckDefault1 = Graph( 'GraphSwitchCheckDefault1' )
- GraphSwitchCheckDefault1.SetName( 'GraphSwitchCheckDefault1' )
- GraphSwitchCheckDefault1.SetAuthor( 'JR' )
- GraphSwitchCheckDefault1.SetComment( '' )
- GraphSwitchCheckDefault1.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 = GraphSwitchCheckDefault1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 415 , 7 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- 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 = GraphSwitchCheckDefault1.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 421 , 438 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyPrintOdd = []
- PyPrintOdd.append( 'from time import * ' )
- PyPrintOdd.append( 'def Print(a,Branch) : ' )
- PyPrintOdd.append( ' print "Print ",a,Branch ' )
- PyPrintOdd.append( ' sleep(1) ' )
- PyPrintOdd.append( ' return Branch ' )
- PrintOdd = GraphSwitchCheckDefault1.INode( 'Print' , PyPrintOdd )
- PrintOdd.SetName( 'PrintOdd' )
- PrintOdd.SetAuthor( '' )
- PrintOdd.SetComment( 'Compute Node' )
- PrintOdd.Coords( 415 , 130 )
- IPrintOdda = PrintOdd.InPort( 'a' , 'long' )
- IPrintOddBranch = PrintOdd.InPort( 'Branch' , 'string' )
- IPrintOddGate = PrintOdd.GetInPort( 'Gate' )
- OPrintOddBranch = PrintOdd.OutPort( 'Branch' , 'string' )
- OPrintOddGate = PrintOdd.GetOutPort( 'Gate' )
-
- PyPrintEven = []
- PyPrintEven.append( 'from time import * ' )
- PyPrintEven.append( 'def Print_1(a,Branch) : ' )
- PyPrintEven.append( ' print "Print ",a,Branch ' )
- PyPrintEven.append( ' sleep(1) ' )
- PyPrintEven.append( ' return Branch ' )
- PrintEven = GraphSwitchCheckDefault1.INode( 'Print_1' , PyPrintEven )
- PrintEven.SetName( 'PrintEven' )
- PrintEven.SetAuthor( '' )
- PrintEven.SetComment( 'Compute Node' )
- PrintEven.Coords( 423 , 289 )
- IPrintEvena = PrintEven.InPort( 'a' , 'long' )
- IPrintEvenBranch = PrintEven.InPort( 'Branch' , 'string' )
- IPrintEvenGate = PrintEven.GetInPort( 'Gate' )
- OPrintEvenBranch = PrintEven.OutPort( 'Branch' , 'string' )
- OPrintEvenGate = PrintEven.GetOutPort( 'Gate' )
-
- PyEmptyNode = []
- PyEmptyNode.append( 'from time import * ' )
- PyEmptyNode.append( 'def EmptyNode(a,Branch) : ' )
- PyEmptyNode.append( ' sleep(1) ' )
- PyEmptyNode.append( ' return a,Branch ' )
- EmptyNode = GraphSwitchCheckDefault1.INode( 'EmptyNode' , PyEmptyNode )
- EmptyNode.SetName( 'EmptyNode' )
- EmptyNode.SetAuthor( '' )
- EmptyNode.SetComment( 'Compute Node' )
- EmptyNode.Coords( 652 , 110 )
- IEmptyNodea = EmptyNode.InPort( 'a' , 'long' )
- IEmptyNodeBranch = EmptyNode.InPort( 'Branch' , 'string' )
- IEmptyNodeGate = EmptyNode.GetInPort( 'Gate' )
- OEmptyNodea = EmptyNode.OutPort( 'a' , 'long' )
- OEmptyNodeBranch = EmptyNode.OutPort( 'Branch' , 'string' )
- OEmptyNodeGate = EmptyNode.GetOutPort( 'Gate' )
-
- PyDefault = []
- PyDefault.append( 'from time import * ' )
- PyDefault.append( 'def Default(a,Branch) : ' )
- PyDefault.append( ' sleep(1) ' )
- PyDefault.append( ' return a,Branch ' )
- Default = GraphSwitchCheckDefault1.INode( 'Default' , PyDefault )
- Default.SetName( 'Default' )
- Default.SetAuthor( '' )
- Default.SetComment( 'Compute Node' )
- Default.Coords( 421 , 592 )
- IDefaulta = Default.InPort( 'a' , 'long' )
- IDefaultBranch = Default.InPort( 'Branch' , 'string' )
- IDefaultGate = Default.GetInPort( 'Gate' )
- ODefaulta = Default.OutPort( 'a' , 'long' )
- ODefaultBranch = Default.OutPort( 'Branch' , 'string' )
- ODefaultGate = Default.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'from time import * ' )
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' sleep(1) ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchCheckDefault1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1074 , 194 )
- PyEndOfInitLoopSwitch = []
- PyEndOfInitLoopSwitch.append( 'from time import * ' )
- PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ' )
- PyEndOfInitLoopSwitch.append( ' sleep(1) ' )
- PyEndOfInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , 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( ' sleep(1) ' )
- PySwitch.append( ' Branch = "Negative or null" ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = "Even" ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = "Odd" ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchCheckDefault1.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 882 , 194 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'from time import * ' )
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
- PyEndOfSwitch.append( ' sleep(1) ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 190 , 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' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEmptyNodea = GraphSwitchCheckDefault1.Link( OIsOdda , IEmptyNodea )
- LIsOddaEmptyNodea.AddCoord( 1 , 646 , 78 )
-
- LIsEvenaEndOfSwitcha = GraphSwitchCheckDefault1.Link( OIsEvena , IEndOfSwitcha )
-
- LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckDefault1.Link( OPrintOddBranch , IEmptyNodeBranch )
-
- LPrintEvenBranchEndOfSwitchBranch = GraphSwitchCheckDefault1.Link( OPrintEvenBranch , IEndOfSwitchBranch )
-
- LEmptyNodeaEndOfSwitcha = GraphSwitchCheckDefault1.Link( OEmptyNodea , IEndOfSwitcha )
-
- LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckDefault1.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
-
- LDefaultaEndOfSwitcha = GraphSwitchCheckDefault1.Link( ODefaulta , IEndOfSwitcha )
-
- LDefaultBranchEndOfSwitchBranch = GraphSwitchCheckDefault1.Link( ODefaultBranch , IEndOfSwitchBranch )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCheckDefault1.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckDefault1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckDefault1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCheckDefault1.Link( OSwitchOdd , IIsOddGate )
- LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
- LSwitchOddIsOddGate.AddCoord( 2 , 401 , 160 )
-
- LSwitchOddPrintOddGate = GraphSwitchCheckDefault1.Link( OSwitchOdd , IPrintOddGate )
- LSwitchOddPrintOddGate.AddCoord( 1 , 401 , 245 )
- LSwitchOddPrintOddGate.AddCoord( 2 , 401 , 159 )
-
- LSwitchEvenIsEvenGate = GraphSwitchCheckDefault1.Link( OSwitchEven , IIsEvenGate )
- LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
- LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 182 )
-
- LSwitchEvenPrintEvenGate = GraphSwitchCheckDefault1.Link( OSwitchEven , IPrintEvenGate )
- LSwitchEvenPrintEvenGate.AddCoord( 1 , 392 , 403 )
- LSwitchEvenPrintEvenGate.AddCoord( 2 , 392 , 181 )
-
- LSwitchaIsOdda = GraphSwitchCheckDefault1.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
- LSwitchaIsOdda.AddCoord( 2 , 382 , 199 )
-
- LSwitchaIsEvena = GraphSwitchCheckDefault1.Link( OSwitcha , IIsEvena )
- LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
- LSwitchaIsEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaPrintOdda = GraphSwitchCheckDefault1.Link( OSwitcha , IPrintOdda )
-
- LSwitchaPrintEvena = GraphSwitchCheckDefault1.Link( OSwitcha , IPrintEvena )
- LSwitchaPrintEvena.AddCoord( 1 , 381 , 361 )
- LSwitchaPrintEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaDefaulta = GraphSwitchCheckDefault1.Link( OSwitcha , IDefaulta )
- LSwitchaDefaulta.AddCoord( 1 , 382 , 663 )
- LSwitchaDefaulta.AddCoord( 2 , 382 , 199 )
-
- LSwitchBranchPrintOddBranch = GraphSwitchCheckDefault1.Link( OSwitchBranch , IPrintOddBranch )
-
- LSwitchBranchPrintEvenBranch = GraphSwitchCheckDefault1.Link( OSwitchBranch , IPrintEvenBranch )
- LSwitchBranchPrintEvenBranch.AddCoord( 1 , 369 , 381 )
- LSwitchBranchPrintEvenBranch.AddCoord( 2 , 369 , 219 )
-
- LSwitchBranchDefaultBranch = GraphSwitchCheckDefault1.Link( OSwitchBranch , IDefaultBranch )
- LSwitchBranchDefaultBranch.AddCoord( 1 , 370 , 683 )
- LSwitchBranchDefaultBranch.AddCoord( 2 , 370 , 220 )
-
- LSwitchdefaultDefaultGate = GraphSwitchCheckDefault1.Link( OSwitchdefault , IDefaultGate )
- LSwitchdefaultDefaultGate.AddCoord( 1 , 363 , 707 )
- LSwitchdefaultDefaultGate.AddCoord( 2 , 362 , 239 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckDefault1.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- return GraphSwitchCheckDefault1
-
-
-GraphSwitchCheckDefault1 = DefGraphSwitchCheckDefault1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCheckDefault11NOTValid
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchCheckDefault11NOTValid
-def DefGraphSwitchCheckDefault11NOTValid() :
- GraphSwitchCheckDefault11NOTValid = Graph( 'GraphSwitchCheckDefault11NOTValid' )
- GraphSwitchCheckDefault11NOTValid.SetName( 'GraphSwitchCheckDefault11NOTValid' )
- GraphSwitchCheckDefault11NOTValid.SetAuthor( 'JR' )
- GraphSwitchCheckDefault11NOTValid.SetComment( '' )
- GraphSwitchCheckDefault11NOTValid.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 = GraphSwitchCheckDefault11NOTValid.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 415 , 7 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- 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 = GraphSwitchCheckDefault11NOTValid.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 421 , 438 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyPrintOdd = []
- PyPrintOdd.append( 'from time import * ' )
- PyPrintOdd.append( 'def Print(a,Branch) : ' )
- PyPrintOdd.append( ' print "Print ",a,Branch ' )
- PyPrintOdd.append( ' sleep(1) ' )
- PyPrintOdd.append( ' return Branch ' )
- PrintOdd = GraphSwitchCheckDefault11NOTValid.INode( 'Print' , PyPrintOdd )
- PrintOdd.SetName( 'PrintOdd' )
- PrintOdd.SetAuthor( '' )
- PrintOdd.SetComment( 'Compute Node' )
- PrintOdd.Coords( 415 , 130 )
- IPrintOdda = PrintOdd.InPort( 'a' , 'long' )
- IPrintOddBranch = PrintOdd.InPort( 'Branch' , 'string' )
- IPrintOddGate = PrintOdd.GetInPort( 'Gate' )
- OPrintOddBranch = PrintOdd.OutPort( 'Branch' , 'string' )
- OPrintOddGate = PrintOdd.GetOutPort( 'Gate' )
-
- PyPrintEven = []
- PyPrintEven.append( 'from time import * ' )
- PyPrintEven.append( 'def Print_1(a,Branch) : ' )
- PyPrintEven.append( ' print "Print ",a,Branch ' )
- PyPrintEven.append( ' sleep(1) ' )
- PyPrintEven.append( ' return Branch ' )
- PrintEven = GraphSwitchCheckDefault11NOTValid.INode( 'Print_1' , PyPrintEven )
- PrintEven.SetName( 'PrintEven' )
- PrintEven.SetAuthor( '' )
- PrintEven.SetComment( 'Compute Node' )
- PrintEven.Coords( 423 , 289 )
- IPrintEvena = PrintEven.InPort( 'a' , 'long' )
- IPrintEvenBranch = PrintEven.InPort( 'Branch' , 'string' )
- IPrintEvenGate = PrintEven.GetInPort( 'Gate' )
- OPrintEvenBranch = PrintEven.OutPort( 'Branch' , 'string' )
- OPrintEvenGate = PrintEven.GetOutPort( 'Gate' )
-
- PyEmptyNode = []
- PyEmptyNode.append( 'from time import * ' )
- PyEmptyNode.append( 'def EmptyNode(a,Branch) : ' )
- PyEmptyNode.append( ' sleep(1) ' )
- PyEmptyNode.append( ' return a,Branch ' )
- EmptyNode = GraphSwitchCheckDefault11NOTValid.INode( 'EmptyNode' , PyEmptyNode )
- EmptyNode.SetName( 'EmptyNode' )
- EmptyNode.SetAuthor( '' )
- EmptyNode.SetComment( 'Compute Node' )
- EmptyNode.Coords( 652 , 110 )
- IEmptyNodea = EmptyNode.InPort( 'a' , 'long' )
- IEmptyNodeBranch = EmptyNode.InPort( 'Branch' , 'string' )
- IEmptyNodeGate = EmptyNode.GetInPort( 'Gate' )
- OEmptyNodea = EmptyNode.OutPort( 'a' , 'long' )
- OEmptyNodeBranch = EmptyNode.OutPort( 'Branch' , 'string' )
- OEmptyNodeGate = EmptyNode.GetOutPort( 'Gate' )
-
- PyDefault = []
- PyDefault.append( 'from time import * ' )
- PyDefault.append( 'def Default(a,Branch) : ' )
- PyDefault.append( ' sleep(1) ' )
- PyDefault.append( ' return a,Branch ' )
- Default = GraphSwitchCheckDefault11NOTValid.INode( 'Default' , PyDefault )
- Default.SetName( 'Default' )
- Default.SetAuthor( '' )
- Default.SetComment( 'Compute Node' )
- Default.Coords( 421 , 592 )
- IDefaulta = Default.InPort( 'a' , 'long' )
- IDefaultBranch = Default.InPort( 'Branch' , 'string' )
- IDefaultGate = Default.GetInPort( 'Gate' )
- ODefaulta = Default.OutPort( 'a' , 'long' )
- ODefaultBranch = Default.OutPort( 'Branch' , 'string' )
- ODefaultGate = Default.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'from time import * ' )
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' sleep(1) ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchCheckDefault11NOTValid.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1074 , 194 )
- PyEndOfInitLoopSwitch = []
- PyEndOfInitLoopSwitch.append( 'from time import * ' )
- PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ' )
- PyEndOfInitLoopSwitch.append( ' sleep(1) ' )
- PyEndOfInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , 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( ' sleep(1) ' )
- PySwitch.append( ' Branch = "Negative or null" ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = "Even" ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = "Odd" ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchCheckDefault11NOTValid.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 882 , 194 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'from time import * ' )
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
- PyEndOfSwitch.append( ' sleep(1) ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 190 , 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' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEmptyNodea = GraphSwitchCheckDefault11NOTValid.Link( OIsOdda , IEmptyNodea )
- LIsOddaEmptyNodea.AddCoord( 1 , 646 , 78 )
-
- LIsEvenaEndOfSwitcha = GraphSwitchCheckDefault11NOTValid.Link( OIsEvena , IEndOfSwitcha )
-
- LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckDefault11NOTValid.Link( OPrintOddBranch , IEmptyNodeBranch )
-
- LPrintEvenBranchEndOfSwitchBranch = GraphSwitchCheckDefault11NOTValid.Link( OPrintEvenBranch , IEndOfSwitchBranch )
-
- LEmptyNodeaEndOfSwitcha = GraphSwitchCheckDefault11NOTValid.Link( OEmptyNodea , IEndOfSwitcha )
-
- LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckDefault11NOTValid.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
-
- LDefaultBranchEndOfSwitchBranch = GraphSwitchCheckDefault11NOTValid.Link( ODefaultBranch , IEndOfSwitchBranch )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCheckDefault11NOTValid.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckDefault11NOTValid.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckDefault11NOTValid.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCheckDefault11NOTValid.Link( OSwitchOdd , IIsOddGate )
- LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
- LSwitchOddIsOddGate.AddCoord( 2 , 401 , 160 )
-
- LSwitchOddPrintOddGate = GraphSwitchCheckDefault11NOTValid.Link( OSwitchOdd , IPrintOddGate )
- LSwitchOddPrintOddGate.AddCoord( 1 , 401 , 245 )
- LSwitchOddPrintOddGate.AddCoord( 2 , 401 , 159 )
-
- LSwitchEvenIsEvenGate = GraphSwitchCheckDefault11NOTValid.Link( OSwitchEven , IIsEvenGate )
- LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
- LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 182 )
-
- LSwitchEvenPrintEvenGate = GraphSwitchCheckDefault11NOTValid.Link( OSwitchEven , IPrintEvenGate )
- LSwitchEvenPrintEvenGate.AddCoord( 1 , 392 , 403 )
- LSwitchEvenPrintEvenGate.AddCoord( 2 , 392 , 181 )
-
- LSwitchaIsOdda = GraphSwitchCheckDefault11NOTValid.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
- LSwitchaIsOdda.AddCoord( 2 , 382 , 199 )
-
- LSwitchaIsEvena = GraphSwitchCheckDefault11NOTValid.Link( OSwitcha , IIsEvena )
- LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
- LSwitchaIsEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaPrintOdda = GraphSwitchCheckDefault11NOTValid.Link( OSwitcha , IPrintOdda )
-
- LSwitchaPrintEvena = GraphSwitchCheckDefault11NOTValid.Link( OSwitcha , IPrintEvena )
- LSwitchaPrintEvena.AddCoord( 1 , 381 , 361 )
- LSwitchaPrintEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaDefaulta = GraphSwitchCheckDefault11NOTValid.Link( OSwitcha , IDefaulta )
- LSwitchaDefaulta.AddCoord( 1 , 382 , 663 )
- LSwitchaDefaulta.AddCoord( 2 , 382 , 199 )
-
- LSwitchBranchPrintOddBranch = GraphSwitchCheckDefault11NOTValid.Link( OSwitchBranch , IPrintOddBranch )
-
- LSwitchBranchPrintEvenBranch = GraphSwitchCheckDefault11NOTValid.Link( OSwitchBranch , IPrintEvenBranch )
- LSwitchBranchPrintEvenBranch.AddCoord( 1 , 369 , 381 )
- LSwitchBranchPrintEvenBranch.AddCoord( 2 , 369 , 219 )
-
- LSwitchBranchDefaultBranch = GraphSwitchCheckDefault11NOTValid.Link( OSwitchBranch , IDefaultBranch )
- LSwitchBranchDefaultBranch.AddCoord( 1 , 370 , 683 )
- LSwitchBranchDefaultBranch.AddCoord( 2 , 370 , 220 )
-
- LSwitchdefaultDefaultGate = GraphSwitchCheckDefault11NOTValid.Link( OSwitchdefault , IDefaultGate )
- LSwitchdefaultDefaultGate.AddCoord( 1 , 363 , 707 )
- LSwitchdefaultDefaultGate.AddCoord( 2 , 362 , 239 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckDefault11NOTValid.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault11NOTValid.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #ODefaulta = Default.GetOutPort( 'a' )
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- return GraphSwitchCheckDefault11NOTValid
-
-
-GraphSwitchCheckDefault11NOTValid = DefGraphSwitchCheckDefault11NOTValid()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCheckDefault2
-#
-from SuperV import *
-
-# 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
-
- # 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 = GraphSwitchCheckDefault2.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 415 , 7 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- 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 = GraphSwitchCheckDefault2.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 421 , 438 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyPrintOdd = []
- PyPrintOdd.append( 'from time import * ' )
- PyPrintOdd.append( 'def Print(a,Branch) : ' )
- PyPrintOdd.append( ' print "Print ",a,Branch ' )
- PyPrintOdd.append( ' sleep(1) ' )
- PyPrintOdd.append( ' return Branch ' )
- PrintOdd = GraphSwitchCheckDefault2.INode( 'Print' , PyPrintOdd )
- PrintOdd.SetName( 'PrintOdd' )
- PrintOdd.SetAuthor( '' )
- PrintOdd.SetComment( 'Compute Node' )
- PrintOdd.Coords( 415 , 130 )
- IPrintOdda = PrintOdd.InPort( 'a' , 'long' )
- IPrintOddBranch = PrintOdd.InPort( 'Branch' , 'string' )
- IPrintOddGate = PrintOdd.GetInPort( 'Gate' )
- OPrintOddBranch = PrintOdd.OutPort( 'Branch' , 'string' )
- OPrintOddGate = PrintOdd.GetOutPort( 'Gate' )
-
- PyPrintEven = []
- PyPrintEven.append( 'from time import * ' )
- PyPrintEven.append( 'def Print_1(a,Branch) : ' )
- PyPrintEven.append( ' print "Print ",a,Branch ' )
- PyPrintEven.append( ' sleep(1) ' )
- PyPrintEven.append( ' return Branch ' )
- PrintEven = GraphSwitchCheckDefault2.INode( 'Print_1' , PyPrintEven )
- PrintEven.SetName( 'PrintEven' )
- PrintEven.SetAuthor( '' )
- PrintEven.SetComment( 'Compute Node' )
- PrintEven.Coords( 423 , 289 )
- IPrintEvena = PrintEven.InPort( 'a' , 'long' )
- IPrintEvenBranch = PrintEven.InPort( 'Branch' , 'string' )
- IPrintEvenGate = PrintEven.GetInPort( 'Gate' )
- OPrintEvenBranch = PrintEven.OutPort( 'Branch' , 'string' )
- OPrintEvenGate = PrintEven.GetOutPort( 'Gate' )
-
- PyEmptyNode = []
- PyEmptyNode.append( 'from time import * ' )
- PyEmptyNode.append( 'def EmptyNode(a,Branch) : ' )
- PyEmptyNode.append( ' sleep(1) ' )
- PyEmptyNode.append( ' return a,Branch ' )
- EmptyNode = GraphSwitchCheckDefault2.INode( 'EmptyNode' , PyEmptyNode )
- EmptyNode.SetName( 'EmptyNode' )
- EmptyNode.SetAuthor( '' )
- EmptyNode.SetComment( 'Compute Node' )
- EmptyNode.Coords( 652 , 110 )
- IEmptyNodea = EmptyNode.InPort( 'a' , 'long' )
- IEmptyNodeBranch = EmptyNode.InPort( 'Branch' , 'string' )
- IEmptyNodeGate = EmptyNode.GetInPort( 'Gate' )
- OEmptyNodea = EmptyNode.OutPort( 'a' , 'long' )
- OEmptyNodeBranch = EmptyNode.OutPort( 'Branch' , 'string' )
- OEmptyNodeGate = EmptyNode.GetOutPort( 'Gate' )
-
- PyDefault = []
- PyDefault.append( 'from time import * ' )
- PyDefault.append( 'def Default(a,Branch) : ' )
- PyDefault.append( ' sleep(1) ' )
- PyDefault.append( ' return a,Branch ' )
- Default = GraphSwitchCheckDefault2.INode( 'Default' , PyDefault )
- Default.SetName( 'Default' )
- Default.SetAuthor( '' )
- Default.SetComment( 'Compute Node' )
- Default.Coords( 421 , 592 )
- IDefaulta = Default.InPort( 'a' , 'long' )
- IDefaultBranch = Default.InPort( 'Branch' , 'string' )
- IDefaultGate = Default.GetInPort( 'Gate' )
- ODefaulta = Default.OutPort( 'a' , 'long' )
- ODefaultBranch = Default.OutPort( 'Branch' , 'string' )
- ODefaultGate = Default.GetOutPort( 'Gate' )
-
- PyPuta = []
- PyPuta.append( 'from time import * ' )
- PyPuta.append( 'def Puta(a) : ' )
- PyPuta.append( ' sleep(1) ' )
- PyPuta.append( ' return a ' )
- Puta = GraphSwitchCheckDefault2.INode( 'Puta' , PyPuta )
- Puta.SetName( 'Puta' )
- Puta.SetAuthor( '' )
- Puta.SetComment( 'Compute Node' )
- Puta.Coords( 665 , 486 )
- IPutaa = Puta.InPort( 'a' , 'long' )
- IPutaGate = Puta.GetInPort( 'Gate' )
- OPutaa = Puta.OutPort( 'a' , 'long' )
- OPutaGate = Puta.GetOutPort( 'Gate' )
-
- PyPutBranch = []
- PyPutBranch.append( 'from time import * ' )
- PyPutBranch.append( 'def PutBranch(Branch) : ' )
- PyPutBranch.append( ' sleep(1) ' )
- PyPutBranch.append( ' return Branch ' )
- PutBranch = GraphSwitchCheckDefault2.INode( 'PutBranch' , PyPutBranch )
- PutBranch.SetName( 'PutBranch' )
- PutBranch.SetAuthor( '' )
- PutBranch.SetComment( 'Compute Node' )
- PutBranch.Coords( 662 , 613 )
- IPutBranchBranch = PutBranch.InPort( 'Branch' , 'string' )
- IPutBranchGate = PutBranch.GetInPort( 'Gate' )
- OPutBranchBranch = PutBranch.OutPort( 'Branch' , 'string' )
- OPutBranchGate = PutBranch.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'from time import * ' )
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' sleep(1) ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchCheckDefault2.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1074 , 194 )
- PyEndOfInitLoopSwitch = []
- PyEndOfInitLoopSwitch.append( 'from time import * ' )
- PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ' )
- PyEndOfInitLoopSwitch.append( ' sleep(1) ' )
- PyEndOfInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , 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( ' sleep(1) ' )
- PySwitch.append( ' Branch = "Negative or null" ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = "Even" ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = "Odd" ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchCheckDefault2.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 882 , 194 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'from time import * ' )
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
- PyEndOfSwitch.append( ' sleep(1) ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 190 , 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' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEmptyNodea = GraphSwitchCheckDefault2.Link( OIsOdda , IEmptyNodea )
- LIsOddaEmptyNodea.AddCoord( 1 , 646 , 78 )
-
- LIsEvenaEndOfSwitcha = GraphSwitchCheckDefault2.Link( OIsEvena , IEndOfSwitcha )
-
- LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckDefault2.Link( OPrintOddBranch , IEmptyNodeBranch )
-
- LPrintEvenBranchEndOfSwitchBranch = GraphSwitchCheckDefault2.Link( OPrintEvenBranch , IEndOfSwitchBranch )
-
- LEmptyNodeaEndOfSwitcha = GraphSwitchCheckDefault2.Link( OEmptyNodea , IEndOfSwitcha )
-
- LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckDefault2.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
-
- LDefaultaPutaa = GraphSwitchCheckDefault2.Link( ODefaulta , IPutaa )
-
- LDefaultBranchPutBranchBranch = GraphSwitchCheckDefault2.Link( ODefaultBranch , IPutBranchBranch )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCheckDefault2.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckDefault2.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckDefault2.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCheckDefault2.Link( OSwitchOdd , IIsOddGate )
- LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
- LSwitchOddIsOddGate.AddCoord( 2 , 401 , 160 )
-
- LSwitchOddPrintOddGate = GraphSwitchCheckDefault2.Link( OSwitchOdd , IPrintOddGate )
- LSwitchOddPrintOddGate.AddCoord( 1 , 401 , 245 )
- LSwitchOddPrintOddGate.AddCoord( 2 , 401 , 159 )
-
- LSwitchEvenIsEvenGate = GraphSwitchCheckDefault2.Link( OSwitchEven , IIsEvenGate )
- LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
- LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 182 )
-
- LSwitchEvenPrintEvenGate = GraphSwitchCheckDefault2.Link( OSwitchEven , IPrintEvenGate )
- LSwitchEvenPrintEvenGate.AddCoord( 1 , 392 , 403 )
- LSwitchEvenPrintEvenGate.AddCoord( 2 , 392 , 181 )
-
- LSwitchaIsOdda = GraphSwitchCheckDefault2.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
- LSwitchaIsOdda.AddCoord( 2 , 382 , 199 )
-
- LSwitchaIsEvena = GraphSwitchCheckDefault2.Link( OSwitcha , IIsEvena )
- LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
- LSwitchaIsEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaPrintOdda = GraphSwitchCheckDefault2.Link( OSwitcha , IPrintOdda )
-
- LSwitchaPrintEvena = GraphSwitchCheckDefault2.Link( OSwitcha , IPrintEvena )
- LSwitchaPrintEvena.AddCoord( 1 , 381 , 361 )
- LSwitchaPrintEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaDefaulta = GraphSwitchCheckDefault2.Link( OSwitcha , IDefaulta )
- LSwitchaDefaulta.AddCoord( 1 , 382 , 663 )
- LSwitchaDefaulta.AddCoord( 2 , 382 , 199 )
-
- LSwitchBranchPrintOddBranch = GraphSwitchCheckDefault2.Link( OSwitchBranch , IPrintOddBranch )
-
- LSwitchBranchPrintEvenBranch = GraphSwitchCheckDefault2.Link( OSwitchBranch , IPrintEvenBranch )
- LSwitchBranchPrintEvenBranch.AddCoord( 1 , 369 , 381 )
- LSwitchBranchPrintEvenBranch.AddCoord( 2 , 369 , 219 )
-
- LSwitchBranchDefaultBranch = GraphSwitchCheckDefault2.Link( OSwitchBranch , IDefaultBranch )
- LSwitchBranchDefaultBranch.AddCoord( 1 , 370 , 683 )
- LSwitchBranchDefaultBranch.AddCoord( 2 , 370 , 220 )
-
- LSwitchdefaultDefaultGate = GraphSwitchCheckDefault2.Link( OSwitchdefault , IDefaultGate )
- LSwitchdefaultDefaultGate.AddCoord( 1 , 363 , 707 )
- LSwitchdefaultDefaultGate.AddCoord( 2 , 362 , 239 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckDefault2.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault2.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- LPutaaEndOfSwitcha = GraphSwitchCheckDefault2.Link( OPutaa , IEndOfSwitcha )
-
- LPutBranchBranchEndOfSwitchBranch = GraphSwitchCheckDefault2.Link( OPutBranchBranch , IEndOfSwitchBranch )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- return GraphSwitchCheckDefault2
-
-
-GraphSwitchCheckDefault2 = DefGraphSwitchCheckDefault2()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCheckDefault2NOTValid
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchCheckDefault2NOTValid
-def DefGraphSwitchCheckDefault2NOTValid() :
- GraphSwitchCheckDefault2NOTValid = Graph( 'GraphSwitchCheckDefault2NOTValid' )
- GraphSwitchCheckDefault2NOTValid.SetName( 'GraphSwitchCheckDefault2NOTValid' )
- GraphSwitchCheckDefault2NOTValid.SetAuthor( 'JR' )
- GraphSwitchCheckDefault2NOTValid.SetComment( '' )
- GraphSwitchCheckDefault2NOTValid.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 = GraphSwitchCheckDefault2NOTValid.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 415 , 7 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- 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 = GraphSwitchCheckDefault2NOTValid.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 421 , 438 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyPrintOdd = []
- PyPrintOdd.append( 'from time import * ' )
- PyPrintOdd.append( 'def Print(a,Branch) : ' )
- PyPrintOdd.append( ' print "Print ",a,Branch ' )
- PyPrintOdd.append( ' sleep(1) ' )
- PyPrintOdd.append( ' return Branch ' )
- PrintOdd = GraphSwitchCheckDefault2NOTValid.INode( 'Print' , PyPrintOdd )
- PrintOdd.SetName( 'PrintOdd' )
- PrintOdd.SetAuthor( '' )
- PrintOdd.SetComment( 'Compute Node' )
- PrintOdd.Coords( 415 , 130 )
- IPrintOdda = PrintOdd.InPort( 'a' , 'long' )
- IPrintOddBranch = PrintOdd.InPort( 'Branch' , 'string' )
- IPrintOddGate = PrintOdd.GetInPort( 'Gate' )
- OPrintOddBranch = PrintOdd.OutPort( 'Branch' , 'string' )
- OPrintOddGate = PrintOdd.GetOutPort( 'Gate' )
-
- PyPrintEven = []
- PyPrintEven.append( 'from time import * ' )
- PyPrintEven.append( 'def Print_1(a,Branch) : ' )
- PyPrintEven.append( ' print "Print ",a,Branch ' )
- PyPrintEven.append( ' sleep(1) ' )
- PyPrintEven.append( ' return Branch ' )
- PrintEven = GraphSwitchCheckDefault2NOTValid.INode( 'Print_1' , PyPrintEven )
- PrintEven.SetName( 'PrintEven' )
- PrintEven.SetAuthor( '' )
- PrintEven.SetComment( 'Compute Node' )
- PrintEven.Coords( 423 , 289 )
- IPrintEvena = PrintEven.InPort( 'a' , 'long' )
- IPrintEvenBranch = PrintEven.InPort( 'Branch' , 'string' )
- IPrintEvenGate = PrintEven.GetInPort( 'Gate' )
- OPrintEvenBranch = PrintEven.OutPort( 'Branch' , 'string' )
- OPrintEvenGate = PrintEven.GetOutPort( 'Gate' )
-
- PyEmptyNode = []
- PyEmptyNode.append( 'from time import * ' )
- PyEmptyNode.append( 'def EmptyNode(a,Branch) : ' )
- PyEmptyNode.append( ' sleep(1) ' )
- PyEmptyNode.append( ' return a,Branch ' )
- EmptyNode = GraphSwitchCheckDefault2NOTValid.INode( 'EmptyNode' , PyEmptyNode )
- EmptyNode.SetName( 'EmptyNode' )
- EmptyNode.SetAuthor( '' )
- EmptyNode.SetComment( 'Compute Node' )
- EmptyNode.Coords( 652 , 110 )
- IEmptyNodea = EmptyNode.InPort( 'a' , 'long' )
- IEmptyNodeBranch = EmptyNode.InPort( 'Branch' , 'string' )
- IEmptyNodeGate = EmptyNode.GetInPort( 'Gate' )
- OEmptyNodea = EmptyNode.OutPort( 'a' , 'long' )
- OEmptyNodeBranch = EmptyNode.OutPort( 'Branch' , 'string' )
- OEmptyNodeGate = EmptyNode.GetOutPort( 'Gate' )
-
- PyDefault = []
- PyDefault.append( 'from time import * ' )
- PyDefault.append( 'def Default(a,Branch) : ' )
- PyDefault.append( ' sleep(1) ' )
- PyDefault.append( ' return a,Branch ' )
- Default = GraphSwitchCheckDefault2NOTValid.INode( 'Default' , PyDefault )
- Default.SetName( 'Default' )
- Default.SetAuthor( '' )
- Default.SetComment( 'Compute Node' )
- Default.Coords( 421 , 592 )
- IDefaulta = Default.InPort( 'a' , 'long' )
- IDefaultBranch = Default.InPort( 'Branch' , 'string' )
- IDefaultGate = Default.GetInPort( 'Gate' )
- ODefaulta = Default.OutPort( 'a' , 'long' )
- ODefaultBranch = Default.OutPort( 'Branch' , 'string' )
- ODefaultGate = Default.GetOutPort( 'Gate' )
-
- PyPuta = []
- PyPuta.append( 'from time import * ' )
- PyPuta.append( 'def Puta(a) : ' )
- PyPuta.append( ' sleep(1) ' )
- PyPuta.append( ' return a ' )
- Puta = GraphSwitchCheckDefault2NOTValid.INode( 'Puta' , PyPuta )
- Puta.SetName( 'Puta' )
- Puta.SetAuthor( '' )
- Puta.SetComment( 'Compute Node' )
- Puta.Coords( 665 , 486 )
- IPutaa = Puta.InPort( 'a' , 'long' )
- IPutaGate = Puta.GetInPort( 'Gate' )
- OPutaa = Puta.OutPort( 'a' , 'long' )
- OPutaGate = Puta.GetOutPort( 'Gate' )
-
- PyPutBranch = []
- PyPutBranch.append( 'from time import * ' )
- PyPutBranch.append( 'def PutBranch(Branch) : ' )
- PyPutBranch.append( ' sleep(1) ' )
- PyPutBranch.append( ' return Branch ' )
- PutBranch = GraphSwitchCheckDefault2NOTValid.INode( 'PutBranch' , PyPutBranch )
- PutBranch.SetName( 'PutBranch' )
- PutBranch.SetAuthor( '' )
- PutBranch.SetComment( 'Compute Node' )
- PutBranch.Coords( 662 , 613 )
- IPutBranchBranch = PutBranch.InPort( 'Branch' , 'string' )
- IPutBranchGate = PutBranch.GetInPort( 'Gate' )
- OPutBranchBranch = PutBranch.OutPort( 'Branch' , 'string' )
- OPutBranchGate = PutBranch.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'from time import * ' )
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' sleep(1) ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchCheckDefault2NOTValid.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1074 , 194 )
- PyEndOfInitLoopSwitch = []
- PyEndOfInitLoopSwitch.append( 'from time import * ' )
- PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ' )
- PyEndOfInitLoopSwitch.append( ' sleep(1) ' )
- PyEndOfInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , 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( ' sleep(1) ' )
- PySwitch.append( ' Branch = "Negative or null" ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = "Even" ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = "Odd" ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchCheckDefault2NOTValid.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 882 , 194 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'from time import * ' )
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
- PyEndOfSwitch.append( ' sleep(1) ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 190 , 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' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEmptyNodea = GraphSwitchCheckDefault2NOTValid.Link( OIsOdda , IEmptyNodea )
- LIsOddaEmptyNodea.AddCoord( 1 , 646 , 78 )
-
- LIsEvenaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid.Link( OIsEvena , IEndOfSwitcha )
-
- LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckDefault2NOTValid.Link( OPrintOddBranch , IEmptyNodeBranch )
-
- LPrintEvenBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid.Link( OPrintEvenBranch , IEndOfSwitchBranch )
-
- LEmptyNodeaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid.Link( OEmptyNodea , IEndOfSwitcha )
-
- LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
-
- LDefaultaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid.Link( ODefaulta , IEndOfSwitcha )
-
- LDefaultaPutaa = GraphSwitchCheckDefault2NOTValid.Link( ODefaulta , IPutaa )
-
- LDefaultBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid.Link( ODefaultBranch , IEndOfSwitchBranch )
-
- LDefaultBranchPutBranchBranch = GraphSwitchCheckDefault2NOTValid.Link( ODefaultBranch , IPutBranchBranch )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCheckDefault2NOTValid.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckDefault2NOTValid.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckDefault2NOTValid.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCheckDefault2NOTValid.Link( OSwitchOdd , IIsOddGate )
- LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
- LSwitchOddIsOddGate.AddCoord( 2 , 401 , 160 )
-
- LSwitchOddPrintOddGate = GraphSwitchCheckDefault2NOTValid.Link( OSwitchOdd , IPrintOddGate )
- LSwitchOddPrintOddGate.AddCoord( 1 , 401 , 245 )
- LSwitchOddPrintOddGate.AddCoord( 2 , 401 , 159 )
-
- LSwitchEvenIsEvenGate = GraphSwitchCheckDefault2NOTValid.Link( OSwitchEven , IIsEvenGate )
- LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
- LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 182 )
-
- LSwitchEvenPrintEvenGate = GraphSwitchCheckDefault2NOTValid.Link( OSwitchEven , IPrintEvenGate )
- LSwitchEvenPrintEvenGate.AddCoord( 1 , 392 , 403 )
- LSwitchEvenPrintEvenGate.AddCoord( 2 , 392 , 181 )
-
- LSwitchaIsOdda = GraphSwitchCheckDefault2NOTValid.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
- LSwitchaIsOdda.AddCoord( 2 , 382 , 199 )
-
- LSwitchaIsEvena = GraphSwitchCheckDefault2NOTValid.Link( OSwitcha , IIsEvena )
- LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
- LSwitchaIsEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaPrintOdda = GraphSwitchCheckDefault2NOTValid.Link( OSwitcha , IPrintOdda )
-
- LSwitchaPrintEvena = GraphSwitchCheckDefault2NOTValid.Link( OSwitcha , IPrintEvena )
- LSwitchaPrintEvena.AddCoord( 1 , 381 , 361 )
- LSwitchaPrintEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaDefaulta = GraphSwitchCheckDefault2NOTValid.Link( OSwitcha , IDefaulta )
- LSwitchaDefaulta.AddCoord( 1 , 382 , 663 )
- LSwitchaDefaulta.AddCoord( 2 , 382 , 199 )
-
- LSwitchBranchPrintOddBranch = GraphSwitchCheckDefault2NOTValid.Link( OSwitchBranch , IPrintOddBranch )
-
- LSwitchBranchPrintEvenBranch = GraphSwitchCheckDefault2NOTValid.Link( OSwitchBranch , IPrintEvenBranch )
- LSwitchBranchPrintEvenBranch.AddCoord( 1 , 369 , 381 )
- LSwitchBranchPrintEvenBranch.AddCoord( 2 , 369 , 219 )
-
- LSwitchBranchDefaultBranch = GraphSwitchCheckDefault2NOTValid.Link( OSwitchBranch , IDefaultBranch )
- LSwitchBranchDefaultBranch.AddCoord( 1 , 370 , 683 )
- LSwitchBranchDefaultBranch.AddCoord( 2 , 370 , 220 )
-
- LSwitchdefaultDefaultGate = GraphSwitchCheckDefault2NOTValid.Link( OSwitchdefault , IDefaultGate )
- LSwitchdefaultDefaultGate.AddCoord( 1 , 363 , 707 )
- LSwitchdefaultDefaultGate.AddCoord( 2 , 362 , 239 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckDefault2NOTValid.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault2NOTValid.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- LPutaaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid.Link( OPutaa , IEndOfSwitcha )
-
- LPutBranchBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid.Link( OPutBranchBranch , IEndOfSwitchBranch )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- return GraphSwitchCheckDefault2NOTValid
-
-
-GraphSwitchCheckDefault2NOTValid = DefGraphSwitchCheckDefault2NOTValid()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCheckDefault2NOTValid1
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchCheckDefault2NOTValid1
-def DefGraphSwitchCheckDefault2NOTValid1() :
- GraphSwitchCheckDefault2NOTValid1 = Graph( 'GraphSwitchCheckDefault2NOTValid1' )
- GraphSwitchCheckDefault2NOTValid1.SetName( 'GraphSwitchCheckDefault2NOTValid1' )
- GraphSwitchCheckDefault2NOTValid1.SetAuthor( 'JR' )
- GraphSwitchCheckDefault2NOTValid1.SetComment( '' )
- GraphSwitchCheckDefault2NOTValid1.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 = GraphSwitchCheckDefault2NOTValid1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 415 , 7 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- 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 = GraphSwitchCheckDefault2NOTValid1.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 421 , 438 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyPrintOdd = []
- PyPrintOdd.append( 'from time import * ' )
- PyPrintOdd.append( 'def Print(a,Branch) : ' )
- PyPrintOdd.append( ' print "Print ",a,Branch ' )
- PyPrintOdd.append( ' sleep(1) ' )
- PyPrintOdd.append( ' return Branch ' )
- PrintOdd = GraphSwitchCheckDefault2NOTValid1.INode( 'Print' , PyPrintOdd )
- PrintOdd.SetName( 'PrintOdd' )
- PrintOdd.SetAuthor( '' )
- PrintOdd.SetComment( 'Compute Node' )
- PrintOdd.Coords( 415 , 130 )
- IPrintOdda = PrintOdd.InPort( 'a' , 'long' )
- IPrintOddBranch = PrintOdd.InPort( 'Branch' , 'string' )
- IPrintOddGate = PrintOdd.GetInPort( 'Gate' )
- OPrintOddBranch = PrintOdd.OutPort( 'Branch' , 'string' )
- OPrintOddGate = PrintOdd.GetOutPort( 'Gate' )
-
- PyPrintEven = []
- PyPrintEven.append( 'from time import * ' )
- PyPrintEven.append( 'def Print_1(a,Branch) : ' )
- PyPrintEven.append( ' print "Print ",a,Branch ' )
- PyPrintEven.append( ' sleep(1) ' )
- PyPrintEven.append( ' return Branch ' )
- PrintEven = GraphSwitchCheckDefault2NOTValid1.INode( 'Print_1' , PyPrintEven )
- PrintEven.SetName( 'PrintEven' )
- PrintEven.SetAuthor( '' )
- PrintEven.SetComment( 'Compute Node' )
- PrintEven.Coords( 423 , 289 )
- IPrintEvena = PrintEven.InPort( 'a' , 'long' )
- IPrintEvenBranch = PrintEven.InPort( 'Branch' , 'string' )
- IPrintEvenGate = PrintEven.GetInPort( 'Gate' )
- OPrintEvenBranch = PrintEven.OutPort( 'Branch' , 'string' )
- OPrintEvenGate = PrintEven.GetOutPort( 'Gate' )
-
- PyEmptyNode = []
- PyEmptyNode.append( 'from time import * ' )
- PyEmptyNode.append( 'def EmptyNode(a,Branch) : ' )
- PyEmptyNode.append( ' sleep(1) ' )
- PyEmptyNode.append( ' return a,Branch ' )
- EmptyNode = GraphSwitchCheckDefault2NOTValid1.INode( 'EmptyNode' , PyEmptyNode )
- EmptyNode.SetName( 'EmptyNode' )
- EmptyNode.SetAuthor( '' )
- EmptyNode.SetComment( 'Compute Node' )
- EmptyNode.Coords( 652 , 110 )
- IEmptyNodea = EmptyNode.InPort( 'a' , 'long' )
- IEmptyNodeBranch = EmptyNode.InPort( 'Branch' , 'string' )
- IEmptyNodeGate = EmptyNode.GetInPort( 'Gate' )
- OEmptyNodea = EmptyNode.OutPort( 'a' , 'long' )
- OEmptyNodeBranch = EmptyNode.OutPort( 'Branch' , 'string' )
- OEmptyNodeGate = EmptyNode.GetOutPort( 'Gate' )
-
- PyDefault = []
- PyDefault.append( 'from time import * ' )
- PyDefault.append( 'def Default(a,Branch) : ' )
- PyDefault.append( ' sleep(1) ' )
- PyDefault.append( ' return a,Branch ' )
- Default = GraphSwitchCheckDefault2NOTValid1.INode( 'Default' , PyDefault )
- Default.SetName( 'Default' )
- Default.SetAuthor( '' )
- Default.SetComment( 'Compute Node' )
- Default.Coords( 421 , 592 )
- IDefaulta = Default.InPort( 'a' , 'long' )
- IDefaultBranch = Default.InPort( 'Branch' , 'string' )
- IDefaultGate = Default.GetInPort( 'Gate' )
- ODefaulta = Default.OutPort( 'a' , 'long' )
- ODefaultBranch = Default.OutPort( 'Branch' , 'string' )
- ODefaultGate = Default.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'from time import * ' )
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' sleep(1) ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchCheckDefault2NOTValid1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1074 , 194 )
- PyEndOfInitLoopSwitch = []
- PyEndOfInitLoopSwitch.append( 'from time import * ' )
- PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ' )
- PyEndOfInitLoopSwitch.append( ' sleep(1) ' )
- PyEndOfInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , 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( ' sleep(1) ' )
- PySwitch.append( ' Branch = "Negative or null" ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = "Even" ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = "Odd" ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchCheckDefault2NOTValid1.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 882 , 194 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'from time import * ' )
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
- PyEndOfSwitch.append( ' sleep(1) ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 190 , 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' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEmptyNodea = GraphSwitchCheckDefault2NOTValid1.Link( OIsOdda , IEmptyNodea )
- LIsOddaEmptyNodea.AddCoord( 1 , 646 , 78 )
-
- LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckDefault2NOTValid1.Link( OPrintOddBranch , IEmptyNodeBranch )
-
- LEmptyNodeaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid1.Link( OEmptyNodea , IEndOfSwitcha )
-
- LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid1.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
-
- LDefaultGateEmptyNodeGate = GraphSwitchCheckDefault2NOTValid1.Link( ODefaultGate , IEmptyNodeGate )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCheckDefault2NOTValid1.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckDefault2NOTValid1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckDefault2NOTValid1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCheckDefault2NOTValid1.Link( OSwitchOdd , IIsOddGate )
- LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
- LSwitchOddIsOddGate.AddCoord( 2 , 401 , 160 )
-
- LSwitchOddPrintOddGate = GraphSwitchCheckDefault2NOTValid1.Link( OSwitchOdd , IPrintOddGate )
- LSwitchOddPrintOddGate.AddCoord( 1 , 401 , 245 )
- LSwitchOddPrintOddGate.AddCoord( 2 , 401 , 159 )
-
- LSwitchEvenIsEvenGate = GraphSwitchCheckDefault2NOTValid1.Link( OSwitchEven , IIsEvenGate )
- LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
- LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 182 )
-
- LSwitchEvenPrintEvenGate = GraphSwitchCheckDefault2NOTValid1.Link( OSwitchEven , IPrintEvenGate )
- LSwitchEvenPrintEvenGate.AddCoord( 1 , 392 , 403 )
- LSwitchEvenPrintEvenGate.AddCoord( 2 , 392 , 181 )
-
- LSwitchaIsOdda = GraphSwitchCheckDefault2NOTValid1.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
- LSwitchaIsOdda.AddCoord( 2 , 382 , 199 )
-
- LSwitchaIsEvena = GraphSwitchCheckDefault2NOTValid1.Link( OSwitcha , IIsEvena )
- LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
- LSwitchaIsEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaPrintOdda = GraphSwitchCheckDefault2NOTValid1.Link( OSwitcha , IPrintOdda )
-
- LSwitchaPrintEvena = GraphSwitchCheckDefault2NOTValid1.Link( OSwitcha , IPrintEvena )
- LSwitchaPrintEvena.AddCoord( 1 , 381 , 361 )
- LSwitchaPrintEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaDefaulta = GraphSwitchCheckDefault2NOTValid1.Link( OSwitcha , IDefaulta )
- LSwitchaDefaulta.AddCoord( 1 , 382 , 663 )
- LSwitchaDefaulta.AddCoord( 2 , 382 , 199 )
-
- LSwitchBranchPrintOddBranch = GraphSwitchCheckDefault2NOTValid1.Link( OSwitchBranch , IPrintOddBranch )
-
- LSwitchBranchPrintEvenBranch = GraphSwitchCheckDefault2NOTValid1.Link( OSwitchBranch , IPrintEvenBranch )
- LSwitchBranchPrintEvenBranch.AddCoord( 1 , 369 , 381 )
- LSwitchBranchPrintEvenBranch.AddCoord( 2 , 369 , 219 )
-
- LSwitchBranchDefaultBranch = GraphSwitchCheckDefault2NOTValid1.Link( OSwitchBranch , IDefaultBranch )
- LSwitchBranchDefaultBranch.AddCoord( 1 , 370 , 683 )
- LSwitchBranchDefaultBranch.AddCoord( 2 , 370 , 220 )
-
- LSwitchdefaultDefaultGate = GraphSwitchCheckDefault2NOTValid1.Link( OSwitchdefault , IDefaultGate )
- LSwitchdefaultDefaultGate.AddCoord( 1 , 363 , 707 )
- LSwitchdefaultDefaultGate.AddCoord( 2 , 362 , 239 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckDefault2NOTValid1.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault2NOTValid1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OIsEvena = IsEven.GetOutPort( 'a' )
- #OPrintEvenBranch = PrintEven.GetOutPort( 'Branch' )
- #ODefaulta = Default.GetOutPort( 'a' )
- #ODefaultBranch = Default.GetOutPort( 'Branch' )
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- return GraphSwitchCheckDefault2NOTValid1
-
-
-GraphSwitchCheckDefault2NOTValid1 = DefGraphSwitchCheckDefault2NOTValid1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCheckDefault2NOTValid2_1
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchCheckDefault2NOTValid2_1
-def DefGraphSwitchCheckDefault2NOTValid2_1() :
- GraphSwitchCheckDefault2NOTValid2_1 = Graph( 'GraphSwitchCheckDefault2NOTValid2_1' )
- GraphSwitchCheckDefault2NOTValid2_1.SetName( 'GraphSwitchCheckDefault2NOTValid2_1' )
- GraphSwitchCheckDefault2NOTValid2_1.SetAuthor( 'JR' )
- GraphSwitchCheckDefault2NOTValid2_1.SetComment( '' )
- GraphSwitchCheckDefault2NOTValid2_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # 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 = GraphSwitchCheckDefault2NOTValid2_1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 415 , 7 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- 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 = GraphSwitchCheckDefault2NOTValid2_1.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 421 , 438 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyPrintOdd = []
- PyPrintOdd.append( 'from time import * ' )
- PyPrintOdd.append( 'def Print(a,Branch) : ' )
- PyPrintOdd.append( ' print "Print ",a,Branch ' )
- PyPrintOdd.append( ' sleep(1) ' )
- PyPrintOdd.append( ' return Branch ' )
- PrintOdd = GraphSwitchCheckDefault2NOTValid2_1.INode( 'Print' , PyPrintOdd )
- PrintOdd.SetName( 'PrintOdd' )
- PrintOdd.SetAuthor( '' )
- PrintOdd.SetComment( 'Compute Node' )
- PrintOdd.Coords( 415 , 130 )
- IPrintOdda = PrintOdd.InPort( 'a' , 'long' )
- IPrintOddBranch = PrintOdd.InPort( 'Branch' , 'string' )
- IPrintOddGate = PrintOdd.GetInPort( 'Gate' )
- OPrintOddBranch = PrintOdd.OutPort( 'Branch' , 'string' )
- OPrintOddGate = PrintOdd.GetOutPort( 'Gate' )
-
- PyPrintEven = []
- PyPrintEven.append( 'from time import * ' )
- PyPrintEven.append( 'def Print_1(a,Branch) : ' )
- PyPrintEven.append( ' print "Print ",a,Branch ' )
- PyPrintEven.append( ' sleep(1) ' )
- PyPrintEven.append( ' return Branch ' )
- PrintEven = GraphSwitchCheckDefault2NOTValid2_1.INode( 'Print_1' , PyPrintEven )
- PrintEven.SetName( 'PrintEven' )
- PrintEven.SetAuthor( '' )
- PrintEven.SetComment( 'Compute Node' )
- PrintEven.Coords( 423 , 289 )
- IPrintEvena = PrintEven.InPort( 'a' , 'long' )
- IPrintEvenBranch = PrintEven.InPort( 'Branch' , 'string' )
- IPrintEvenGate = PrintEven.GetInPort( 'Gate' )
- OPrintEvenBranch = PrintEven.OutPort( 'Branch' , 'string' )
- OPrintEvenGate = PrintEven.GetOutPort( 'Gate' )
-
- PyEmptyNode = []
- PyEmptyNode.append( 'from time import * ' )
- PyEmptyNode.append( 'def EmptyNode(a,Branch) : ' )
- PyEmptyNode.append( ' sleep(1) ' )
- PyEmptyNode.append( ' return a,Branch ' )
- EmptyNode = GraphSwitchCheckDefault2NOTValid2_1.INode( 'EmptyNode' , PyEmptyNode )
- EmptyNode.SetName( 'EmptyNode' )
- EmptyNode.SetAuthor( '' )
- EmptyNode.SetComment( 'Compute Node' )
- EmptyNode.Coords( 652 , 110 )
- IEmptyNodea = EmptyNode.InPort( 'a' , 'long' )
- IEmptyNodeBranch = EmptyNode.InPort( 'Branch' , 'string' )
- IEmptyNodeGate = EmptyNode.GetInPort( 'Gate' )
- OEmptyNodea = EmptyNode.OutPort( 'a' , 'long' )
- OEmptyNodeBranch = EmptyNode.OutPort( 'Branch' , 'string' )
- OEmptyNodeGate = EmptyNode.GetOutPort( 'Gate' )
-
- PyDefault = []
- PyDefault.append( 'from time import * ' )
- PyDefault.append( 'def Default(a,Branch) : ' )
- PyDefault.append( ' sleep(1) ' )
- PyDefault.append( ' return a,Branch ' )
- Default = GraphSwitchCheckDefault2NOTValid2_1.INode( 'Default' , PyDefault )
- Default.SetName( 'Default' )
- Default.SetAuthor( '' )
- Default.SetComment( 'Compute Node' )
- Default.Coords( 421 , 592 )
- IDefaulta = Default.InPort( 'a' , 'long' )
- IDefaultBranch = Default.InPort( 'Branch' , 'string' )
- IDefaultGate = Default.GetInPort( 'Gate' )
- ODefaulta = Default.OutPort( 'a' , 'long' )
- ODefaultBranch = Default.OutPort( 'Branch' , 'string' )
- ODefaultGate = Default.GetOutPort( 'Gate' )
-
- PyPuta = []
- PyPuta.append( 'from time import * ' )
- PyPuta.append( 'def Puta(a) : ' )
- PyPuta.append( ' sleep(1) ' )
- PyPuta.append( ' return a ' )
- Puta = GraphSwitchCheckDefault2NOTValid2_1.INode( 'Puta' , PyPuta )
- Puta.SetName( 'Puta' )
- Puta.SetAuthor( '' )
- Puta.SetComment( 'Compute Node' )
- Puta.Coords( 653 , 414 )
- IPutaa = Puta.InPort( 'a' , 'long' )
- IPutaGate = Puta.GetInPort( 'Gate' )
- OPutaa = Puta.OutPort( 'a' , 'long' )
- OPutaGate = Puta.GetOutPort( 'Gate' )
-
- PyPutBranch = []
- PyPutBranch.append( 'from time import * ' )
- PyPutBranch.append( 'def PutBranch(Branch) : ' )
- PyPutBranch.append( ' sleep(1) ' )
- PyPutBranch.append( ' return Branch ' )
- PutBranch = GraphSwitchCheckDefault2NOTValid2_1.INode( 'PutBranch' , PyPutBranch )
- PutBranch.SetName( 'PutBranch' )
- PutBranch.SetAuthor( '' )
- PutBranch.SetComment( 'Compute Node' )
- PutBranch.Coords( 662 , 613 )
- IPutBranchBranch = PutBranch.InPort( 'Branch' , 'string' )
- IPutBranchGate = PutBranch.GetInPort( 'Gate' )
- OPutBranchBranch = PutBranch.OutPort( 'Branch' , 'string' )
- OPutBranchGate = PutBranch.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'from time import * ' )
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' sleep(1) ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchCheckDefault2NOTValid2_1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1074 , 194 )
- PyEndOfInitLoopSwitch = []
- PyEndOfInitLoopSwitch.append( 'from time import * ' )
- PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ' )
- PyEndOfInitLoopSwitch.append( ' sleep(1) ' )
- PyEndOfInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , 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( ' sleep(1) ' )
- PySwitch.append( ' Branch = "Negative or null" ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = "Even" ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = "Odd" ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchCheckDefault2NOTValid2_1.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 882 , 194 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'from time import * ' )
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
- PyEndOfSwitch.append( ' sleep(1) ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 190 , 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' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEmptyNodea = GraphSwitchCheckDefault2NOTValid2_1.Link( OIsOdda , IEmptyNodea )
- LIsOddaEmptyNodea.AddCoord( 1 , 646 , 78 )
-
- LIsEvenaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid2_1.Link( OIsEvena , IEndOfSwitcha )
-
- LIsEvenaPutaa = GraphSwitchCheckDefault2NOTValid2_1.Link( OIsEvena , IPutaa )
-
- LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( OPrintOddBranch , IEmptyNodeBranch )
-
- LPrintEvenBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( OPrintEvenBranch , IEndOfSwitchBranch )
-
- LEmptyNodeaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid2_1.Link( OEmptyNodea , IEndOfSwitcha )
-
- LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
-
- LDefaultaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid2_1.Link( ODefaulta , IEndOfSwitcha )
-
- LDefaultBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( ODefaultBranch , IEndOfSwitchBranch )
-
- LDefaultBranchPutBranchBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( ODefaultBranch , IPutBranchBranch )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCheckDefault2NOTValid2_1.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckDefault2NOTValid2_1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckDefault2NOTValid2_1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchOdd , IIsOddGate )
- LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
- LSwitchOddIsOddGate.AddCoord( 2 , 401 , 160 )
-
- LSwitchOddPrintOddGate = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchOdd , IPrintOddGate )
- LSwitchOddPrintOddGate.AddCoord( 1 , 401 , 245 )
- LSwitchOddPrintOddGate.AddCoord( 2 , 401 , 159 )
-
- LSwitchEvenIsEvenGate = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchEven , IIsEvenGate )
- LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
- LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 182 )
-
- LSwitchEvenPrintEvenGate = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchEven , IPrintEvenGate )
- LSwitchEvenPrintEvenGate.AddCoord( 1 , 392 , 403 )
- LSwitchEvenPrintEvenGate.AddCoord( 2 , 392 , 181 )
-
- LSwitchaIsOdda = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
- LSwitchaIsOdda.AddCoord( 2 , 382 , 199 )
-
- LSwitchaIsEvena = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitcha , IIsEvena )
- LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
- LSwitchaIsEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaPrintOdda = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitcha , IPrintOdda )
-
- LSwitchaPrintEvena = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitcha , IPrintEvena )
- LSwitchaPrintEvena.AddCoord( 1 , 381 , 361 )
- LSwitchaPrintEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaDefaulta = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitcha , IDefaulta )
- LSwitchaDefaulta.AddCoord( 1 , 382 , 663 )
- LSwitchaDefaulta.AddCoord( 2 , 382 , 199 )
-
- LSwitchBranchPrintOddBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchBranch , IPrintOddBranch )
-
- LSwitchBranchPrintEvenBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchBranch , IPrintEvenBranch )
- LSwitchBranchPrintEvenBranch.AddCoord( 1 , 369 , 381 )
- LSwitchBranchPrintEvenBranch.AddCoord( 2 , 369 , 219 )
-
- LSwitchBranchDefaultBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchBranch , IDefaultBranch )
- LSwitchBranchDefaultBranch.AddCoord( 1 , 370 , 683 )
- LSwitchBranchDefaultBranch.AddCoord( 2 , 370 , 220 )
-
- LSwitchdefaultDefaultGate = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchdefault , IDefaultGate )
- LSwitchdefaultDefaultGate.AddCoord( 1 , 363 , 707 )
- LSwitchdefaultDefaultGate.AddCoord( 2 , 362 , 239 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault2NOTValid2_1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- LPutaaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid2_1.Link( OPutaa , IEndOfSwitcha )
-
- LPutBranchBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( OPutBranchBranch , IEndOfSwitchBranch )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- return GraphSwitchCheckDefault2NOTValid2_1
-
-
-GraphSwitchCheckDefault2NOTValid2_1 = DefGraphSwitchCheckDefault2NOTValid2_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCheckNoDefault2
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchCheckNoDefault2
-def DefGraphSwitchCheckNoDefault2() :
- GraphSwitchCheckNoDefault2 = Graph( 'GraphSwitchCheckNoDefault2' )
- GraphSwitchCheckNoDefault2.SetName( 'GraphSwitchCheckNoDefault2' )
- GraphSwitchCheckNoDefault2.SetAuthor( 'JR' )
- GraphSwitchCheckNoDefault2.SetComment( '' )
- GraphSwitchCheckNoDefault2.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 = GraphSwitchCheckNoDefault2.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 415 , 7 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- 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 = GraphSwitchCheckNoDefault2.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 421 , 438 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyPrintOdd = []
- PyPrintOdd.append( 'from time import * ' )
- PyPrintOdd.append( 'def Print(a,Branch) : ' )
- PyPrintOdd.append( ' print "Print ",a,Branch ' )
- PyPrintOdd.append( ' sleep(1) ' )
- PyPrintOdd.append( ' return Branch ' )
- PrintOdd = GraphSwitchCheckNoDefault2.INode( 'Print' , PyPrintOdd )
- PrintOdd.SetName( 'PrintOdd' )
- PrintOdd.SetAuthor( '' )
- PrintOdd.SetComment( 'Compute Node' )
- PrintOdd.Coords( 415 , 130 )
- IPrintOdda = PrintOdd.InPort( 'a' , 'long' )
- IPrintOddBranch = PrintOdd.InPort( 'Branch' , 'string' )
- IPrintOddGate = PrintOdd.GetInPort( 'Gate' )
- OPrintOddBranch = PrintOdd.OutPort( 'Branch' , 'string' )
- OPrintOddGate = PrintOdd.GetOutPort( 'Gate' )
-
- PyPrintEven = []
- PyPrintEven.append( 'from time import * ' )
- PyPrintEven.append( 'def Print_1(a,Branch) : ' )
- PyPrintEven.append( ' print "Print ",a,Branch ' )
- PyPrintEven.append( ' sleep(1) ' )
- PyPrintEven.append( ' return Branch ' )
- PrintEven = GraphSwitchCheckNoDefault2.INode( 'Print_1' , PyPrintEven )
- PrintEven.SetName( 'PrintEven' )
- PrintEven.SetAuthor( '' )
- PrintEven.SetComment( 'Compute Node' )
- PrintEven.Coords( 423 , 289 )
- IPrintEvena = PrintEven.InPort( 'a' , 'long' )
- IPrintEvenBranch = PrintEven.InPort( 'Branch' , 'string' )
- IPrintEvenGate = PrintEven.GetInPort( 'Gate' )
- OPrintEvenBranch = PrintEven.OutPort( 'Branch' , 'string' )
- OPrintEvenGate = PrintEven.GetOutPort( 'Gate' )
-
- PyEmptyNode = []
- PyEmptyNode.append( 'from time import * ' )
- PyEmptyNode.append( 'def EmptyNode(a,Branch) : ' )
- PyEmptyNode.append( ' sleep(1) ' )
- PyEmptyNode.append( ' return a,Branch ' )
- EmptyNode = GraphSwitchCheckNoDefault2.INode( 'EmptyNode' , PyEmptyNode )
- EmptyNode.SetName( 'EmptyNode' )
- EmptyNode.SetAuthor( '' )
- EmptyNode.SetComment( 'Compute Node' )
- EmptyNode.Coords( 652 , 110 )
- IEmptyNodea = EmptyNode.InPort( 'a' , 'long' )
- IEmptyNodeBranch = EmptyNode.InPort( 'Branch' , 'string' )
- IEmptyNodeGate = EmptyNode.GetInPort( 'Gate' )
- OEmptyNodea = EmptyNode.OutPort( 'a' , 'long' )
- OEmptyNodeBranch = EmptyNode.OutPort( 'Branch' , 'string' )
- OEmptyNodeGate = EmptyNode.GetOutPort( 'Gate' )
-
- PyDefault = []
- PyDefault.append( 'from time import * ' )
- PyDefault.append( 'def Default(a,Branch) : ' )
- PyDefault.append( ' sleep(1) ' )
- PyDefault.append( ' return a,Branch ' )
- Default = GraphSwitchCheckNoDefault2.INode( 'Default' , PyDefault )
- Default.SetName( 'Default' )
- Default.SetAuthor( '' )
- Default.SetComment( 'Compute Node' )
- Default.Coords( 421 , 592 )
- IDefaulta = Default.InPort( 'a' , 'long' )
- IDefaultBranch = Default.InPort( 'Branch' , 'string' )
- IDefaultGate = Default.GetInPort( 'Gate' )
- ODefaulta = Default.OutPort( 'a' , 'long' )
- ODefaultBranch = Default.OutPort( 'Branch' , 'string' )
- ODefaultGate = Default.GetOutPort( 'Gate' )
-
- PyPuta = []
- PyPuta.append( 'from time import * ' )
- PyPuta.append( 'def Puta(a) : ' )
- PyPuta.append( ' sleep(1) ' )
- PyPuta.append( ' return a ' )
- Puta = GraphSwitchCheckNoDefault2.INode( 'Puta' , PyPuta )
- Puta.SetName( 'Puta' )
- Puta.SetAuthor( '' )
- Puta.SetComment( 'Compute Node' )
- Puta.Coords( 665 , 486 )
- IPutaa = Puta.InPort( 'a' , 'long' )
- IPutaGate = Puta.GetInPort( 'Gate' )
- OPutaa = Puta.OutPort( 'a' , 'long' )
- OPutaGate = Puta.GetOutPort( 'Gate' )
-
- PyPutBranch = []
- PyPutBranch.append( 'from time import * ' )
- PyPutBranch.append( 'def PutBranch(Branch) : ' )
- PyPutBranch.append( ' sleep(1) ' )
- PyPutBranch.append( ' return Branch ' )
- PutBranch = GraphSwitchCheckNoDefault2.INode( 'PutBranch' , PyPutBranch )
- PutBranch.SetName( 'PutBranch' )
- PutBranch.SetAuthor( '' )
- PutBranch.SetComment( 'Compute Node' )
- PutBranch.Coords( 662 , 613 )
- IPutBranchBranch = PutBranch.InPort( 'Branch' , 'string' )
- IPutBranchGate = PutBranch.GetInPort( 'Gate' )
- OPutBranchBranch = PutBranch.OutPort( 'Branch' , 'string' )
- OPutBranchGate = PutBranch.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'from time import * ' )
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' sleep(1) ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchCheckNoDefault2.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1074 , 194 )
- PyEndOfInitLoopSwitch = []
- PyEndOfInitLoopSwitch.append( 'from time import * ' )
- PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) : ' )
- PyEndOfInitLoopSwitch.append( ' sleep(1) ' )
- PyEndOfInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , 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( ' sleep(1) ' )
- PySwitch.append( ' Branch = "Negative or null" ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = "Even" ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = "Odd" ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchCheckNoDefault2.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 882 , 194 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'from time import * ' )
- PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
- PyEndOfSwitch.append( ' sleep(1) ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 190 , 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' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEmptyNodea = GraphSwitchCheckNoDefault2.Link( OIsOdda , IEmptyNodea )
- LIsOddaEmptyNodea.AddCoord( 1 , 646 , 78 )
-
- LIsEvenaEndOfSwitcha = GraphSwitchCheckNoDefault2.Link( OIsEvena , IEndOfSwitcha )
-
- LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckNoDefault2.Link( OPrintOddBranch , IEmptyNodeBranch )
-
- LPrintEvenBranchEndOfSwitchBranch = GraphSwitchCheckNoDefault2.Link( OPrintEvenBranch , IEndOfSwitchBranch )
-
- LEmptyNodeaEndOfSwitcha = GraphSwitchCheckNoDefault2.Link( OEmptyNodea , IEndOfSwitcha )
-
- LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckNoDefault2.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
-
- LDefaultaPutaa = GraphSwitchCheckNoDefault2.Link( ODefaulta , IPutaa )
-
- LDefaultBranchPutBranchBranch = GraphSwitchCheckNoDefault2.Link( ODefaultBranch , IPutBranchBranch )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCheckNoDefault2.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckNoDefault2.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckNoDefault2.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCheckNoDefault2.Link( OSwitchOdd , IIsOddGate )
- LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
- LSwitchOddIsOddGate.AddCoord( 2 , 401 , 160 )
-
- LSwitchOddPrintOddGate = GraphSwitchCheckNoDefault2.Link( OSwitchOdd , IPrintOddGate )
- LSwitchOddPrintOddGate.AddCoord( 1 , 401 , 245 )
- LSwitchOddPrintOddGate.AddCoord( 2 , 401 , 159 )
-
- LSwitchEvenIsEvenGate = GraphSwitchCheckNoDefault2.Link( OSwitchEven , IIsEvenGate )
- LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
- LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 182 )
-
- LSwitchEvenPrintEvenGate = GraphSwitchCheckNoDefault2.Link( OSwitchEven , IPrintEvenGate )
- LSwitchEvenPrintEvenGate.AddCoord( 1 , 392 , 403 )
- LSwitchEvenPrintEvenGate.AddCoord( 2 , 392 , 181 )
-
- LSwitchaIsOdda = GraphSwitchCheckNoDefault2.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
- LSwitchaIsOdda.AddCoord( 2 , 382 , 199 )
-
- LSwitchaIsEvena = GraphSwitchCheckNoDefault2.Link( OSwitcha , IIsEvena )
- LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
- LSwitchaIsEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaPrintOdda = GraphSwitchCheckNoDefault2.Link( OSwitcha , IPrintOdda )
-
- LSwitchaPrintEvena = GraphSwitchCheckNoDefault2.Link( OSwitcha , IPrintEvena )
- LSwitchaPrintEvena.AddCoord( 1 , 381 , 361 )
- LSwitchaPrintEvena.AddCoord( 2 , 382 , 200 )
-
- LSwitchaDefaulta = GraphSwitchCheckNoDefault2.Link( OSwitcha , IDefaulta )
- LSwitchaDefaulta.AddCoord( 1 , 382 , 663 )
- LSwitchaDefaulta.AddCoord( 2 , 382 , 199 )
-
- LSwitchBranchPrintOddBranch = GraphSwitchCheckNoDefault2.Link( OSwitchBranch , IPrintOddBranch )
-
- LSwitchBranchPrintEvenBranch = GraphSwitchCheckNoDefault2.Link( OSwitchBranch , IPrintEvenBranch )
- LSwitchBranchPrintEvenBranch.AddCoord( 1 , 369 , 381 )
- LSwitchBranchPrintEvenBranch.AddCoord( 2 , 369 , 219 )
-
- LSwitchBranchDefaultBranch = GraphSwitchCheckNoDefault2.Link( OSwitchBranch , IDefaultBranch )
- LSwitchBranchDefaultBranch.AddCoord( 1 , 370 , 683 )
- LSwitchBranchDefaultBranch.AddCoord( 2 , 370 , 220 )
-
- LSwitchdefaultDefaultGate = GraphSwitchCheckNoDefault2.Link( OSwitchdefault , IDefaultGate )
- LSwitchdefaultDefaultGate.AddCoord( 1 , 363 , 707 )
- LSwitchdefaultDefaultGate.AddCoord( 2 , 362 , 239 )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckNoDefault2.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- LPutaaEndOfSwitcha = GraphSwitchCheckNoDefault2.Link( OPutaa , IEndOfSwitcha )
-
- LPutBranchBranchEndOfSwitchBranch = GraphSwitchCheckNoDefault2.Link( OPutBranchBranch , IEndOfSwitchBranch )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- return GraphSwitchCheckNoDefault2
-
-
-GraphSwitchCheckNoDefault2 = DefGraphSwitchCheckNoDefault2()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchCrash_1
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchCrash_1
-def DefGraphSwitchCrash_1() :
- GraphSwitchCrash_1 = Graph( 'GraphSwitchCrash_1' )
- GraphSwitchCrash_1.SetName( 'GraphSwitchCrash_1' )
- GraphSwitchCrash_1.SetAuthor( '' )
- GraphSwitchCrash_1.SetComment( '' )
- GraphSwitchCrash_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd(a) : ' )
- PyIsOdd.append( ' print a,"IsOdd (IsOdd)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphSwitchCrash_1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 387 , 58 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsOdd_1 = []
- PyIsOdd_1.append( 'from time import * ' )
- PyIsOdd_1.append( 'def IsOdd(a,Even) : ' )
- PyIsOdd_1.append( ' print a,"IsOdd (IsOdd_1)" ' )
- PyIsOdd_1.append( ' sleep( 1 ) ' )
- PyIsOdd_1.append( ' return a ' )
- IsOdd_1 = GraphSwitchCrash_1.INode( 'IsOdd' , PyIsOdd_1 )
- IsOdd_1.SetName( 'IsOdd_1' )
- IsOdd_1.SetAuthor( '' )
- IsOdd_1.SetComment( 'Python function' )
- IsOdd_1.Coords( 417 , 287 )
- IIsOdd_1a = IsOdd_1.InPort( 'a' , 'long' )
- IIsOdd_1Even = IsOdd_1.InPort( 'Even' , 'boolean' )
- IIsOdd_1Gate = IsOdd_1.GetInPort( 'Gate' )
- OIsOdd_1a = IsOdd_1.OutPort( 'a' , 'long' )
- OIsOdd_1Gate = IsOdd_1.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' if Index <= Max : ' )
- PyMoreInitLoopSwitch.append( ' DoLoop = 1 ' )
- PyMoreInitLoopSwitch.append( ' else : ' )
- PyMoreInitLoopSwitch.append( ' DoLoop = 0 ' )
- PyMoreInitLoopSwitch.append( ' return DoLoop,Index,Min,Max ' )
- PyNextInitLoopSwitch = []
- PyNextInitLoopSwitch.append( 'def NextLoop(Index,Min,Max) : ' )
- PyNextInitLoopSwitch.append( ' Index = Index + 1 ' )
- PyNextInitLoopSwitch.append( ' return Index,Min,Max ' )
- InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitchCrash_1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 766 , 127 )
- PyEndOfInitLoopSwitch = []
- EndOfInitLoopSwitch.SetPyFunction( '' , PyEndOfInitLoopSwitch )
- IInitLoopSwitchDoLoop = InitLoopSwitch.GetInPort( 'DoLoop' )
- IInitLoopSwitchIndex = InitLoopSwitch.InPort( 'Index' , 'long' )
- IInitLoopSwitchMin = InitLoopSwitch.InPort( 'Min' , 'long' )
- IInitLoopSwitchMax = InitLoopSwitch.InPort( 'Max' , 'long' )
- IInitLoopSwitchGate = InitLoopSwitch.GetInPort( 'Gate' )
- OInitLoopSwitchDoLoop = InitLoopSwitch.GetOutPort( 'DoLoop' )
- OInitLoopSwitchIndex = InitLoopSwitch.GetOutPort( 'Index' )
- OInitLoopSwitchMin = InitLoopSwitch.GetOutPort( 'Min' )
- OInitLoopSwitchMax = InitLoopSwitch.GetOutPort( 'Max' )
- IEndOfInitLoopSwitchDoLoop = EndOfInitLoopSwitch.GetInPort( 'DoLoop' )
- IEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetInPort( 'Index' )
- IEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetInPort( 'Min' )
- IEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetInPort( 'Max' )
- IEndOfInitLoopSwitchGate = EndOfInitLoopSwitch.GetInPort( 'Gate' )
- OEndOfInitLoopSwitchDoLoop = EndOfInitLoopSwitch.GetOutPort( 'DoLoop' )
- OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- OEndOfInitLoopSwitchGate = EndOfInitLoopSwitch.GetOutPort( 'Gate' )
- InitLoopSwitch.SetName( 'InitLoopSwitch' )
- InitLoopSwitch.SetAuthor( '' )
- InitLoopSwitch.SetComment( 'Compute Node' )
- InitLoopSwitch.Coords( 10 , 129 )
-
- PyInitLoop = []
- PyInitLoop.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoop.append( ' return Index,Min,Max ' )
- PyMoreInitLoop = []
- PyMoreInitLoop.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoop.append( ' if Index <= Max : ' )
- PyMoreInitLoop.append( ' DoLoop = 1 ' )
- PyMoreInitLoop.append( ' else : ' )
- PyMoreInitLoop.append( ' DoLoop = 0 ' )
- PyMoreInitLoop.append( ' return DoLoop,Index,Min,Max ' )
- PyNextInitLoop = []
- PyNextInitLoop.append( 'def NextLoop(Index,Min,Max) : ' )
- PyNextInitLoop.append( ' Index = Index + 1 ' )
- PyNextInitLoop.append( ' return Index,Min,Max ' )
- InitLoop,EndOfInitLoop = GraphSwitchCrash_1.LNode( 'InitLoop' , PyInitLoop , 'MoreLoop' , PyMoreInitLoop , 'NextLoop' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 783 , 381 )
- PyEndOfInitLoop = []
- EndOfInitLoop.SetPyFunction( '' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- IInitLoopGate = InitLoop.GetInPort( 'Gate' )
- OInitLoopDoLoop = InitLoop.GetOutPort( 'DoLoop' )
- OInitLoopIndex = InitLoop.GetOutPort( 'Index' )
- OInitLoopMin = InitLoop.GetOutPort( 'Min' )
- OInitLoopMax = InitLoop.GetOutPort( 'Max' )
- IEndOfInitLoopDoLoop = EndOfInitLoop.GetInPort( 'DoLoop' )
- IEndOfInitLoopIndex = EndOfInitLoop.GetInPort( 'Index' )
- IEndOfInitLoopMin = EndOfInitLoop.GetInPort( 'Min' )
- IEndOfInitLoopMax = EndOfInitLoop.GetInPort( 'Max' )
- IEndOfInitLoopGate = EndOfInitLoop.GetInPort( 'Gate' )
- OEndOfInitLoopDoLoop = EndOfInitLoop.GetOutPort( 'DoLoop' )
- OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- OEndOfInitLoopGate = EndOfInitLoop.GetOutPort( 'Gate' )
- InitLoop.SetName( 'InitLoop' )
- InitLoop.SetAuthor( '' )
- InitLoop.SetComment( 'Compute Node' )
- InitLoop.Coords( 10 , 388 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) : ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndOfSwitch = GraphSwitchCrash_1.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 587 , 126 )
- PyEndOfSwitch = []
- EndOfSwitch.SetPyFunction( '' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 186 , 130 )
- ISwitcha = Switch.InPort( 'a' , 'long' )
- ISwitchGate = Switch.GetInPort( 'Gate' )
- OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
- OSwitchEven = Switch.OutPort( 'Even' , 'int' )
- OSwitcha = Switch.OutPort( 'a' , 'int' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- PySwitch_1 = []
- PySwitch_1.append( 'from time import * ' )
- PySwitch_1.append( 'def Switch(a) : ' )
- PySwitch_1.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch_1.append( ' sleep(1) ' )
- PySwitch_1.append( ' return a & 1,1-(a&1),a ' )
- Switch_1,EndSwitch = GraphSwitchCrash_1.SNode( 'Switch' , PySwitch_1 )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 605 , 382 )
- PyEndSwitch = []
- EndSwitch.SetPyFunction( '' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch_1.SetName( 'Switch_1' )
- Switch_1.SetAuthor( '' )
- Switch_1.SetComment( 'Compute Node' )
- Switch_1.Coords( 193 , 388 )
- ISwitch_1a = Switch_1.InPort( 'a' , 'long' )
- ISwitch_1Gate = Switch_1.GetInPort( 'Gate' )
- OSwitch_1Odd = Switch_1.OutPort( 'Odd' , 'long' )
- OSwitch_1Even = Switch_1.OutPort( 'Even' , 'int' )
- OSwitch_1a = Switch_1.OutPort( 'a' , 'int' )
- OSwitch_1Default = Switch_1.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitcha = GraphSwitchCrash_1.Link( OIsOdda , IEndOfSwitcha )
- LIsOddaEndOfSwitcha.AddCoord( 1 , 572 , 157 )
- LIsOddaEndOfSwitcha.AddCoord( 2 , 572 , 130 )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchCrash_1.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCrash_1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCrash_1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchCrash_1.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchaIsOdda = GraphSwitchCrash_1.Link( OSwitcha , IIsOdda )
- LSwitchaIsOdda.AddCoord( 1 , 365 , 129 )
- LSwitchaIsOdda.AddCoord( 2 , 365 , 201 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchCrash_1.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCrash_1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- LIsOdd_1aEndSwitcha = GraphSwitchCrash_1.Link( OIsOdd_1a , IEndSwitcha )
- LIsOdd_1aEndSwitcha.AddCoord( 1 , 593 , 411 )
- LIsOdd_1aEndSwitcha.AddCoord( 2 , 593 , 358 )
-
- LInitLoopIndexSwitch_1a = GraphSwitchCrash_1.Link( OInitLoopIndex , ISwitch_1a )
-
- LInitLoopMinEndOfInitLoopMin = GraphSwitchCrash_1.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphSwitchCrash_1.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitch_1OddIsOdd_1Gate = GraphSwitchCrash_1.Link( OSwitch_1Odd , IIsOdd_1Gate )
-
- LSwitch_1EvenIsOdd_1Even = GraphSwitchCrash_1.Link( OSwitch_1Even , IIsOdd_1Even )
-
- LSwitch_1aIsOdd_1a = GraphSwitchCrash_1.Link( OSwitch_1a , IIsOdd_1a )
- LSwitch_1aIsOdd_1a.AddCoord( 1 , 377 , 358 )
- LSwitch_1aIsOdd_1a.AddCoord( 2 , 377 , 460 )
-
- LSwitch_1DefaultEndSwitchDefault = GraphSwitchCrash_1.Link( OSwitch_1Default , IEndSwitchDefault )
-
- LEndSwitchaEndOfInitLoopIndex = GraphSwitchCrash_1.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( 0 )
- IInitLoopSwitchMax.Input( 23 )
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 0 )
- IInitLoopMax.Input( 31 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- return GraphSwitchCrash_1
-
-
-GraphSwitchCrash_1 = DefGraphSwitchCrash_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchErrExec
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchErrExec
-def DefGraphSwitchErrExec() :
- GraphSwitchErrExec = Graph( 'GraphSwitchErrExec' )
- GraphSwitchErrExec.SetName( 'GraphSwitchErrExec' )
- GraphSwitchErrExec.SetAuthor( '' )
- GraphSwitchErrExec.SetComment( '' )
- GraphSwitchErrExec.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 = GraphSwitchErrExec.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' )
-
- 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 = GraphSwitchErrExec.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 397 , 279 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchErrExec.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 )
-
- # 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 < 0 : ' )
- PySwitch.append( ' return 1,1,a ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndOfSwitch = GraphSwitchErrExec.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 580 , 147 )
- PyEndOfSwitch = []
- EndOfSwitch.SetPyFunction( 'EndSwitch_1' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 195 , 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 = GraphSwitchErrExec.Link( OIsOdda , IEndOfSwitcha )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchErrExec.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchErrExec.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchErrExec.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LIsEvenaEndOfSwitcha = GraphSwitchErrExec.Link( OIsEvena , IEndOfSwitcha )
-
- LSwitchOddIsOddGate = GraphSwitchErrExec.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenIsEvenGate = GraphSwitchErrExec.Link( OSwitchEven , IIsEvenGate )
-
- LSwitchaIsOdda = GraphSwitchErrExec.Link( OSwitcha , IIsOdda )
-
- LSwitchaIsEvena = GraphSwitchErrExec.Link( OSwitcha , IIsEvena )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchErrExec.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchErrExec.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- return GraphSwitchErrExec
-
-
-GraphSwitchErrExec = DefGraphSwitchErrExec()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchExecutable
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchExecutable
-def DefGraphSwitchExecutable() :
- GraphSwitchExecutable = Graph( 'GraphSwitchExecutable' )
- GraphSwitchExecutable.SetName( 'GraphSwitchExecutable' )
- GraphSwitchExecutable.SetAuthor( '' )
- GraphSwitchExecutable.SetComment( '' )
- GraphSwitchExecutable.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 = GraphSwitchExecutable.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 = GraphSwitchExecutable.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 772 , 132 )
- 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,a ' )
- Switch,EndOfSwitch = GraphSwitchExecutable.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 581 , 132 )
- PyEndOfSwitch = []
- PyEndOfSwitch.append( 'def EndOfSwitch( a , Even , k ) : ' )
- PyEndOfSwitch.append( ' return a ' )
- EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchEven = EndOfSwitch.InPort( 'Even' , 'long' )
- IEndOfSwitchk = EndOfSwitch.InPort( 'k' , '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' )
- OSwitchi = Switch.OutPort( 'i' , 'long' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitcha = GraphSwitchExecutable.Link( OIsOdda , IEndOfSwitcha )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchExecutable.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchExecutable.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchExecutable.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchExecutable.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchaIsOdda = GraphSwitchExecutable.Link( OSwitcha , IIsOdda )
-
- LSwitchiEndOfSwitchk = GraphSwitchExecutable.Link( OSwitchi , IEndOfSwitchk )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchExecutable.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchExecutable.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( 0 )
- IInitLoopSwitchMax.Input( 35 )
-
- # Input Ports of the graph
- #IEndOfSwitchEven = EndOfSwitch.GetInPort( 'Even' )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- return GraphSwitchExecutable
-
-
-GraphSwitchExecutable = DefGraphSwitchExecutable()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchGates
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchGates
-def DefGraphSwitchGates() :
- GraphSwitchGates = Graph( 'GraphSwitchGates' )
- GraphSwitchGates.SetName( 'GraphSwitchGates' )
- GraphSwitchGates.SetAuthor( 'JR' )
- GraphSwitchGates.SetComment( '' )
- GraphSwitchGates.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd() : ' )
- PyIsOdd.append( ' sleep(1) ' )
- PyIsOdd.append( ' return ' )
- IsOdd = GraphSwitchGates.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Compute Node' )
- IsOdd.Coords( 424 , 116 )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven() : ' )
- PyIsEven.append( ' sleep(1) ' )
- PyIsEven.append( ' return ' )
- IsEven = GraphSwitchGates.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 428 , 345 )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoopGates = []
- PyLoopGates.append( 'def InitLoop(Index,Max,Min) : ' )
- PyLoopGates.append( ' Index = Max ' )
- PyLoopGates.append( ' return Index,Max,Min ' )
- PyMoreLoopGates = []
- PyMoreLoopGates.append( 'from time import * ' )
- PyMoreLoopGates.append( 'def MoreLoop(Index,Max,Min) : ' )
- PyMoreLoopGates.append( ' sleep(1) ' )
- PyMoreLoopGates.append( ' DoLoop = 0 ' )
- PyMoreLoopGates.append( ' if Index >= Min : ' )
- PyMoreLoopGates.append( ' DoLoop = 1 ' )
- PyMoreLoopGates.append( ' return DoLoop,Index,Max,Min ' )
- PyNextLoopGates = []
- PyNextLoopGates.append( 'def NextLoop(Index,Max,Min) : ' )
- PyNextLoopGates.append( ' Index = Index - 1 ' )
- PyNextLoopGates.append( ' return Index,Max,Min ' )
- LoopGates,EndLoopGates = GraphSwitchGates.LNode( 'InitLoop' , PyLoopGates , 'MoreLoop' , PyMoreLoopGates , 'NextLoop' , PyNextLoopGates )
- EndLoopGates.SetName( 'EndLoopGates' )
- EndLoopGates.SetAuthor( '' )
- EndLoopGates.SetComment( 'Compute Node' )
- EndLoopGates.Coords( 875 , 216 )
- PyEndLoopGates = []
- EndLoopGates.SetPyFunction( 'EndLoopGates' , PyEndLoopGates )
- ILoopGatesDoLoop = LoopGates.GetInPort( 'DoLoop' )
- ILoopGatesIndex = LoopGates.InPort( 'Index' , 'long' )
- ILoopGatesMax = LoopGates.InPort( 'Max' , 'long' )
- ILoopGatesMin = LoopGates.InPort( 'Min' , 'long' )
- ILoopGatesGate = LoopGates.GetInPort( 'Gate' )
- OLoopGatesDoLoop = LoopGates.GetOutPort( 'DoLoop' )
- OLoopGatesIndex = LoopGates.GetOutPort( 'Index' )
- OLoopGatesMax = LoopGates.GetOutPort( 'Max' )
- OLoopGatesMin = LoopGates.GetOutPort( 'Min' )
- IEndLoopGatesDoLoop = EndLoopGates.GetInPort( 'DoLoop' )
- IEndLoopGatesIndex = EndLoopGates.GetInPort( 'Index' )
- IEndLoopGatesMax = EndLoopGates.GetInPort( 'Max' )
- IEndLoopGatesMin = EndLoopGates.GetInPort( 'Min' )
- IEndLoopGatesGate = EndLoopGates.GetInPort( 'Gate' )
- OEndLoopGatesDoLoop = EndLoopGates.GetOutPort( 'DoLoop' )
- OEndLoopGatesIndex = EndLoopGates.GetOutPort( 'Index' )
- OEndLoopGatesMax = EndLoopGates.GetOutPort( 'Max' )
- OEndLoopGatesMin = EndLoopGates.GetOutPort( 'Min' )
- OEndLoopGatesGate = EndLoopGates.GetOutPort( 'Gate' )
- LoopGates.SetName( 'LoopGates' )
- LoopGates.SetAuthor( '' )
- LoopGates.SetComment( 'Compute Node' )
- LoopGates.Coords( 13 , 236 )
-
- # Creation of Switch Nodes
- PySwitchGates = []
- PySwitchGates.append( 'def SwitchGates(Index) : ' )
- PySwitchGates.append( ' Odd = 0 ' )
- PySwitchGates.append( ' Even = 0 ' )
- PySwitchGates.append( ' if (Index & 1) == 1 : ' )
- PySwitchGates.append( ' Odd = 1 ' )
- PySwitchGates.append( ' if (Index & 1) == 0 : ' )
- PySwitchGates.append( ' Even = 1 ' )
- PySwitchGates.append( ' return Odd,Even ' )
- SwitchGates,EndSwitchGates = GraphSwitchGates.SNode( 'SwitchGates' , PySwitchGates )
- EndSwitchGates.SetName( 'EndSwitchGates' )
- EndSwitchGates.SetAuthor( '' )
- EndSwitchGates.SetComment( 'Compute Node' )
- EndSwitchGates.Coords( 648 , 276 )
- PyEndSwitchGates = []
- PyEndSwitchGates.append( 'from time import * ' )
- PyEndSwitchGates.append( 'def EndSwitchGates() : ' )
- PyEndSwitchGates.append( ' sleep(1) ' )
- PyEndSwitchGates.append( ' return ' )
- PyEndSwitchGates.append( '' )
- EndSwitchGates.SetPyFunction( 'EndSwitchGates' , PyEndSwitchGates )
- IEndSwitchGatesDefault = EndSwitchGates.GetInPort( 'Default' )
- OEndSwitchGatesGate = EndSwitchGates.GetOutPort( 'Gate' )
- SwitchGates.SetName( 'SwitchGates' )
- SwitchGates.SetAuthor( '' )
- SwitchGates.SetComment( 'Compute Node' )
- SwitchGates.Coords( 204 , 236 )
- ISwitchGatesIndex = SwitchGates.InPort( 'Index' , 'long' )
- ISwitchGatesGate = SwitchGates.GetInPort( 'Gate' )
- OSwitchGatesOdd = SwitchGates.OutPort( 'Odd' , 'long' )
- OSwitchGatesEven = SwitchGates.OutPort( 'Even' , 'long' )
- OSwitchGatesDefault = SwitchGates.GetOutPort( 'Default' )
-
- # Creation of Links
- LLoopGatesIndexEndLoopGatesIndex = GraphSwitchGates.Link( OLoopGatesIndex , IEndLoopGatesIndex )
-
- LLoopGatesIndexSwitchGatesIndex = GraphSwitchGates.Link( OLoopGatesIndex , ISwitchGatesIndex )
-
- LLoopGatesMaxEndLoopGatesMax = GraphSwitchGates.Link( OLoopGatesMax , IEndLoopGatesMax )
-
- LLoopGatesMinEndLoopGatesMin = GraphSwitchGates.Link( OLoopGatesMin , IEndLoopGatesMin )
-
- LSwitchGatesOddIsOddGate = GraphSwitchGates.Link( OSwitchGatesOdd , IIsOddGate )
-
- LSwitchGatesEvenIsEvenGate = GraphSwitchGates.Link( OSwitchGatesEven , IIsEvenGate )
-
- LEndSwitchGatesGateEndLoopGatesGate = GraphSwitchGates.Link( OEndSwitchGatesGate , IEndLoopGatesGate )
-
- LIsOddGateEndSwitchGatesDefault = GraphSwitchGates.Link( OIsOddGate , IEndSwitchGatesDefault )
-
- LIsEvenGateEndSwitchGatesDefault = GraphSwitchGates.Link( OIsEvenGate , IEndSwitchGatesDefault )
-
- # Input datas
- ILoopGatesIndex.Input( 0 )
- ILoopGatesMax.Input( 13 )
- ILoopGatesMin.Input( -7 )
-
- # Output Ports of the graph
- #OEndLoopGatesIndex = EndLoopGates.GetOutPort( 'Index' )
- #OEndLoopGatesMax = EndLoopGates.GetOutPort( 'Max' )
- #OEndLoopGatesMin = EndLoopGates.GetOutPort( 'Min' )
- return GraphSwitchGates
-
-
-GraphSwitchGates = DefGraphSwitchGates()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchGatesDefault
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchGatesDefault
-def DefGraphSwitchGatesDefault() :
- GraphSwitchGatesDefault = Graph( 'GraphSwitchGatesDefault' )
- GraphSwitchGatesDefault.SetName( 'GraphSwitchGatesDefault' )
- GraphSwitchGatesDefault.SetAuthor( 'JR' )
- GraphSwitchGatesDefault.SetComment( '' )
- GraphSwitchGatesDefault.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd() : ' )
- PyIsOdd.append( ' sleep(1) ' )
- PyIsOdd.append( ' return ' )
- IsOdd = GraphSwitchGatesDefault.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Compute Node' )
- IsOdd.Coords( 424 , 116 )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven() : ' )
- PyIsEven.append( ' sleep(1) ' )
- PyIsEven.append( ' return ' )
- IsEven = GraphSwitchGatesDefault.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 428 , 345 )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoopGates = []
- PyLoopGates.append( 'def InitLoop(Index,Max,Min) : ' )
- PyLoopGates.append( ' Index = Max ' )
- PyLoopGates.append( ' return Index,Max,Min ' )
- PyMoreLoopGates = []
- PyMoreLoopGates.append( 'from time import * ' )
- PyMoreLoopGates.append( 'def MoreLoop(Index,Max,Min) : ' )
- PyMoreLoopGates.append( ' sleep(1) ' )
- PyMoreLoopGates.append( ' DoLoop = 0 ' )
- PyMoreLoopGates.append( ' if Index >= Min : ' )
- PyMoreLoopGates.append( ' DoLoop = 1 ' )
- PyMoreLoopGates.append( ' return DoLoop,Index,Max,Min ' )
- PyNextLoopGates = []
- PyNextLoopGates.append( 'def NextLoop(Index,Max,Min) : ' )
- PyNextLoopGates.append( ' Index = Index - 1 ' )
- PyNextLoopGates.append( ' return Index,Max,Min ' )
- LoopGates,EndLoopGates = GraphSwitchGatesDefault.LNode( 'InitLoop' , PyLoopGates , 'MoreLoop' , PyMoreLoopGates , 'NextLoop' , PyNextLoopGates )
- EndLoopGates.SetName( 'EndLoopGates' )
- EndLoopGates.SetAuthor( '' )
- EndLoopGates.SetComment( 'Compute Node' )
- EndLoopGates.Coords( 875 , 216 )
- PyEndLoopGates = []
- EndLoopGates.SetPyFunction( 'EndLoopGates' , PyEndLoopGates )
- ILoopGatesDoLoop = LoopGates.GetInPort( 'DoLoop' )
- ILoopGatesIndex = LoopGates.InPort( 'Index' , 'long' )
- ILoopGatesMax = LoopGates.InPort( 'Max' , 'long' )
- ILoopGatesMin = LoopGates.InPort( 'Min' , 'long' )
- ILoopGatesGate = LoopGates.GetInPort( 'Gate' )
- OLoopGatesDoLoop = LoopGates.GetOutPort( 'DoLoop' )
- OLoopGatesIndex = LoopGates.GetOutPort( 'Index' )
- OLoopGatesMax = LoopGates.GetOutPort( 'Max' )
- OLoopGatesMin = LoopGates.GetOutPort( 'Min' )
- IEndLoopGatesDoLoop = EndLoopGates.GetInPort( 'DoLoop' )
- IEndLoopGatesIndex = EndLoopGates.GetInPort( 'Index' )
- IEndLoopGatesMax = EndLoopGates.GetInPort( 'Max' )
- IEndLoopGatesMin = EndLoopGates.GetInPort( 'Min' )
- IEndLoopGatesGate = EndLoopGates.GetInPort( 'Gate' )
- OEndLoopGatesDoLoop = EndLoopGates.GetOutPort( 'DoLoop' )
- OEndLoopGatesIndex = EndLoopGates.GetOutPort( 'Index' )
- OEndLoopGatesMax = EndLoopGates.GetOutPort( 'Max' )
- OEndLoopGatesMin = EndLoopGates.GetOutPort( 'Min' )
- OEndLoopGatesGate = EndLoopGates.GetOutPort( 'Gate' )
- LoopGates.SetName( 'LoopGates' )
- LoopGates.SetAuthor( '' )
- LoopGates.SetComment( 'Compute Node' )
- LoopGates.Coords( 13 , 236 )
-
- # Creation of Switch Nodes
- PySwitchGates = []
- PySwitchGates.append( 'def SwitchGates(Index) : ' )
- PySwitchGates.append( ' Odd = 0 ' )
- PySwitchGates.append( ' Even = 0 ' )
- PySwitchGates.append( ' if Index > 0 : ' )
- PySwitchGates.append( ' if (Index & 1) == 1 : ' )
- PySwitchGates.append( ' Odd = 1 ' )
- PySwitchGates.append( ' if (Index & 1) == 0 : ' )
- PySwitchGates.append( ' Even = 1 ' )
- PySwitchGates.append( ' return Odd,Even ' )
- SwitchGates,EndSwitchGates = GraphSwitchGatesDefault.SNode( 'SwitchGates' , PySwitchGates )
- EndSwitchGates.SetName( 'EndSwitchGates' )
- EndSwitchGates.SetAuthor( '' )
- EndSwitchGates.SetComment( 'Compute Node' )
- EndSwitchGates.Coords( 648 , 276 )
- PyEndSwitchGates = []
- PyEndSwitchGates.append( 'from time import * ' )
- PyEndSwitchGates.append( 'def EndSwitchGates() : ' )
- PyEndSwitchGates.append( ' sleep(1) ' )
- PyEndSwitchGates.append( ' return ' )
- PyEndSwitchGates.append( '' )
- EndSwitchGates.SetPyFunction( 'EndSwitchGates' , PyEndSwitchGates )
- IEndSwitchGatesDefault = EndSwitchGates.GetInPort( 'Default' )
- OEndSwitchGatesGate = EndSwitchGates.GetOutPort( 'Gate' )
- SwitchGates.SetName( 'SwitchGates' )
- SwitchGates.SetAuthor( '' )
- SwitchGates.SetComment( 'Compute Node' )
- SwitchGates.Coords( 204 , 236 )
- ISwitchGatesIndex = SwitchGates.InPort( 'Index' , 'long' )
- ISwitchGatesGate = SwitchGates.GetInPort( 'Gate' )
- OSwitchGatesOdd = SwitchGates.OutPort( 'Odd' , 'long' )
- OSwitchGatesEven = SwitchGates.OutPort( 'Even' , 'long' )
- OSwitchGatesDefault = SwitchGates.GetOutPort( 'Default' )
-
- # Creation of Links
- LLoopGatesIndexEndLoopGatesIndex = GraphSwitchGatesDefault.Link( OLoopGatesIndex , IEndLoopGatesIndex )
-
- LLoopGatesIndexSwitchGatesIndex = GraphSwitchGatesDefault.Link( OLoopGatesIndex , ISwitchGatesIndex )
-
- LLoopGatesMaxEndLoopGatesMax = GraphSwitchGatesDefault.Link( OLoopGatesMax , IEndLoopGatesMax )
-
- LLoopGatesMinEndLoopGatesMin = GraphSwitchGatesDefault.Link( OLoopGatesMin , IEndLoopGatesMin )
-
- LSwitchGatesOddIsOddGate = GraphSwitchGatesDefault.Link( OSwitchGatesOdd , IIsOddGate )
-
- LSwitchGatesEvenIsEvenGate = GraphSwitchGatesDefault.Link( OSwitchGatesEven , IIsEvenGate )
-
- LSwitchGatesDefaultEndSwitchGatesDefault = GraphSwitchGatesDefault.Link( OSwitchGatesDefault , IEndSwitchGatesDefault )
-
- LEndSwitchGatesGateEndLoopGatesGate = GraphSwitchGatesDefault.Link( OEndSwitchGatesGate , IEndLoopGatesGate )
-
- LIsOddGateEndSwitchGatesDefault = GraphSwitchGatesDefault.Link( OIsOddGate , IEndSwitchGatesDefault )
-
- LIsEvenGateEndSwitchGatesDefault = GraphSwitchGatesDefault.Link( OIsEvenGate , IEndSwitchGatesDefault )
-
- # Input datas
- ILoopGatesIndex.Input( 0 )
- ILoopGatesMax.Input( 13 )
- ILoopGatesMin.Input( -7 )
-
- # Output Ports of the graph
- #OEndLoopGatesIndex = EndLoopGates.GetOutPort( 'Index' )
- #OEndLoopGatesMax = EndLoopGates.GetOutPort( 'Max' )
- #OEndLoopGatesMin = EndLoopGates.GetOutPort( 'Min' )
- return GraphSwitchGatesDefault
-
-
-GraphSwitchGatesDefault = DefGraphSwitchGatesDefault()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchGatesNoDefaultAborted
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchGatesNoDefaultAborted
-def DefGraphSwitchGatesNoDefaultAborted() :
- GraphSwitchGatesNoDefaultAborted = Graph( 'GraphSwitchGatesNoDefaultAborted' )
- GraphSwitchGatesNoDefaultAborted.SetName( 'GraphSwitchGatesNoDefaultAborted' )
- GraphSwitchGatesNoDefaultAborted.SetAuthor( 'JR' )
- GraphSwitchGatesNoDefaultAborted.SetComment( '' )
- GraphSwitchGatesNoDefaultAborted.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd() : ' )
- PyIsOdd.append( ' sleep(1) ' )
- PyIsOdd.append( ' return ' )
- IsOdd = GraphSwitchGatesNoDefaultAborted.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Compute Node' )
- IsOdd.Coords( 424 , 116 )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven() : ' )
- PyIsEven.append( ' sleep(1) ' )
- PyIsEven.append( ' return ' )
- IsEven = GraphSwitchGatesNoDefaultAborted.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 428 , 345 )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoopGates = []
- PyLoopGates.append( 'def InitLoop(Index,Max,Min) : ' )
- PyLoopGates.append( ' Index = Max ' )
- PyLoopGates.append( ' return Index,Max,Min ' )
- PyMoreLoopGates = []
- PyMoreLoopGates.append( 'from time import * ' )
- PyMoreLoopGates.append( 'def MoreLoop(Index,Max,Min) : ' )
- PyMoreLoopGates.append( ' sleep(1) ' )
- PyMoreLoopGates.append( ' DoLoop = 0 ' )
- PyMoreLoopGates.append( ' if Index >= Min : ' )
- PyMoreLoopGates.append( ' DoLoop = 1 ' )
- PyMoreLoopGates.append( ' return DoLoop,Index,Max,Min ' )
- PyNextLoopGates = []
- PyNextLoopGates.append( 'def NextLoop(Index,Max,Min) : ' )
- PyNextLoopGates.append( ' Index = Index - 1 ' )
- PyNextLoopGates.append( ' return Index,Max,Min ' )
- LoopGates,EndLoopGates = GraphSwitchGatesNoDefaultAborted.LNode( 'InitLoop' , PyLoopGates , 'MoreLoop' , PyMoreLoopGates , 'NextLoop' , PyNextLoopGates )
- EndLoopGates.SetName( 'EndLoopGates' )
- EndLoopGates.SetAuthor( '' )
- EndLoopGates.SetComment( 'Compute Node' )
- EndLoopGates.Coords( 875 , 216 )
- PyEndLoopGates = []
- EndLoopGates.SetPyFunction( 'EndLoopGates' , PyEndLoopGates )
- ILoopGatesDoLoop = LoopGates.GetInPort( 'DoLoop' )
- ILoopGatesIndex = LoopGates.InPort( 'Index' , 'long' )
- ILoopGatesMax = LoopGates.InPort( 'Max' , 'long' )
- ILoopGatesMin = LoopGates.InPort( 'Min' , 'long' )
- ILoopGatesGate = LoopGates.GetInPort( 'Gate' )
- OLoopGatesDoLoop = LoopGates.GetOutPort( 'DoLoop' )
- OLoopGatesIndex = LoopGates.GetOutPort( 'Index' )
- OLoopGatesMax = LoopGates.GetOutPort( 'Max' )
- OLoopGatesMin = LoopGates.GetOutPort( 'Min' )
- IEndLoopGatesDoLoop = EndLoopGates.GetInPort( 'DoLoop' )
- IEndLoopGatesIndex = EndLoopGates.GetInPort( 'Index' )
- IEndLoopGatesMax = EndLoopGates.GetInPort( 'Max' )
- IEndLoopGatesMin = EndLoopGates.GetInPort( 'Min' )
- IEndLoopGatesGate = EndLoopGates.GetInPort( 'Gate' )
- OEndLoopGatesDoLoop = EndLoopGates.GetOutPort( 'DoLoop' )
- OEndLoopGatesIndex = EndLoopGates.GetOutPort( 'Index' )
- OEndLoopGatesMax = EndLoopGates.GetOutPort( 'Max' )
- OEndLoopGatesMin = EndLoopGates.GetOutPort( 'Min' )
- OEndLoopGatesGate = EndLoopGates.GetOutPort( 'Gate' )
- LoopGates.SetName( 'LoopGates' )
- LoopGates.SetAuthor( '' )
- LoopGates.SetComment( 'Compute Node' )
- LoopGates.Coords( 13 , 236 )
-
- # Creation of Switch Nodes
- PySwitchGates = []
- PySwitchGates.append( 'def SwitchGates(Index) : ' )
- PySwitchGates.append( ' Odd = 0 ' )
- PySwitchGates.append( ' Even = 0 ' )
- PySwitchGates.append( ' if Index > 0 : ' )
- PySwitchGates.append( ' if (Index & 1) == 1 : ' )
- PySwitchGates.append( ' Odd = 1 ' )
- PySwitchGates.append( ' if (Index & 1) == 0 : ' )
- PySwitchGates.append( ' Even = 1 ' )
- PySwitchGates.append( ' return Odd,Even ' )
- SwitchGates,EndSwitchGates = GraphSwitchGatesNoDefaultAborted.SNode( 'SwitchGates' , PySwitchGates )
- EndSwitchGates.SetName( 'EndSwitchGates' )
- EndSwitchGates.SetAuthor( '' )
- EndSwitchGates.SetComment( 'Compute Node' )
- EndSwitchGates.Coords( 648 , 276 )
- PyEndSwitchGates = []
- PyEndSwitchGates.append( 'from time import * ' )
- PyEndSwitchGates.append( 'def EndSwitchGates() : ' )
- PyEndSwitchGates.append( ' sleep(1) ' )
- PyEndSwitchGates.append( ' return ' )
- PyEndSwitchGates.append( '' )
- EndSwitchGates.SetPyFunction( 'EndSwitchGates' , PyEndSwitchGates )
- IEndSwitchGatesDefault = EndSwitchGates.GetInPort( 'Default' )
- OEndSwitchGatesGate = EndSwitchGates.GetOutPort( 'Gate' )
- SwitchGates.SetName( 'SwitchGates' )
- SwitchGates.SetAuthor( '' )
- SwitchGates.SetComment( 'Compute Node' )
- SwitchGates.Coords( 204 , 236 )
- ISwitchGatesIndex = SwitchGates.InPort( 'Index' , 'long' )
- ISwitchGatesGate = SwitchGates.GetInPort( 'Gate' )
- OSwitchGatesOdd = SwitchGates.OutPort( 'Odd' , 'long' )
- OSwitchGatesEven = SwitchGates.OutPort( 'Even' , 'long' )
- OSwitchGatesDefault = SwitchGates.GetOutPort( 'Default' )
-
- # Creation of Links
- LLoopGatesIndexEndLoopGatesIndex = GraphSwitchGatesNoDefaultAborted.Link( OLoopGatesIndex , IEndLoopGatesIndex )
-
- LLoopGatesIndexSwitchGatesIndex = GraphSwitchGatesNoDefaultAborted.Link( OLoopGatesIndex , ISwitchGatesIndex )
-
- LLoopGatesMaxEndLoopGatesMax = GraphSwitchGatesNoDefaultAborted.Link( OLoopGatesMax , IEndLoopGatesMax )
-
- LLoopGatesMinEndLoopGatesMin = GraphSwitchGatesNoDefaultAborted.Link( OLoopGatesMin , IEndLoopGatesMin )
-
- LSwitchGatesOddIsOddGate = GraphSwitchGatesNoDefaultAborted.Link( OSwitchGatesOdd , IIsOddGate )
-
- LSwitchGatesEvenIsEvenGate = GraphSwitchGatesNoDefaultAborted.Link( OSwitchGatesEven , IIsEvenGate )
-
- LEndSwitchGatesGateEndLoopGatesGate = GraphSwitchGatesNoDefaultAborted.Link( OEndSwitchGatesGate , IEndLoopGatesGate )
-
- LIsOddGateEndSwitchGatesDefault = GraphSwitchGatesNoDefaultAborted.Link( OIsOddGate , IEndSwitchGatesDefault )
-
- LIsEvenGateEndSwitchGatesDefault = GraphSwitchGatesNoDefaultAborted.Link( OIsEvenGate , IEndSwitchGatesDefault )
-
- # Input datas
- ILoopGatesIndex.Input( 0 )
- ILoopGatesMax.Input( 13 )
- ILoopGatesMin.Input( -7 )
-
- # Output Ports of the graph
- #OEndLoopGatesIndex = EndLoopGates.GetOutPort( 'Index' )
- #OEndLoopGatesMax = EndLoopGates.GetOutPort( 'Max' )
- #OEndLoopGatesMin = EndLoopGates.GetOutPort( 'Min' )
- return GraphSwitchGatesNoDefaultAborted
-
-
-GraphSwitchGatesNoDefaultAborted = DefGraphSwitchGatesNoDefaultAborted()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchGatesdefaultBranch
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchGatesdefaultBranch
-def DefGraphSwitchGatesdefaultBranch() :
- GraphSwitchGatesdefaultBranch = Graph( 'GraphSwitchGatesdefaultBranch' )
- GraphSwitchGatesdefaultBranch.SetName( 'GraphSwitchGatesdefaultBranch' )
- GraphSwitchGatesdefaultBranch.SetAuthor( 'JR' )
- GraphSwitchGatesdefaultBranch.SetComment( '' )
- GraphSwitchGatesdefaultBranch.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd() : ' )
- PyIsOdd.append( ' sleep(1) ' )
- PyIsOdd.append( ' return ' )
- IsOdd = GraphSwitchGatesdefaultBranch.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Compute Node' )
- IsOdd.Coords( 424 , 116 )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven() : ' )
- PyIsEven.append( ' sleep(1) ' )
- PyIsEven.append( ' return ' )
- IsEven = GraphSwitchGatesdefaultBranch.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 428 , 345 )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PydefaultNode = []
- PydefaultNode.append( 'from time import * ' )
- PydefaultNode.append( 'def defaultNode() : ' )
- PydefaultNode.append( ' sleep(1) ' )
- PydefaultNode.append( ' return ' )
- defaultNode = GraphSwitchGatesdefaultBranch.INode( 'defaultNode' , PydefaultNode )
- defaultNode.SetName( 'defaultNode' )
- defaultNode.SetAuthor( '' )
- defaultNode.SetComment( 'Compute Node' )
- defaultNode.Coords( 425 , 232 )
- IdefaultNodeGate = defaultNode.GetInPort( 'Gate' )
- OdefaultNodeGate = defaultNode.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoopGates = []
- PyLoopGates.append( 'def InitLoop(Index,Max,Min) : ' )
- PyLoopGates.append( ' Index = Max ' )
- PyLoopGates.append( ' return Index,Max,Min ' )
- PyMoreLoopGates = []
- PyMoreLoopGates.append( 'from time import * ' )
- PyMoreLoopGates.append( 'def MoreLoop(Index,Max,Min) : ' )
- PyMoreLoopGates.append( ' sleep(1) ' )
- PyMoreLoopGates.append( ' DoLoop = 0 ' )
- PyMoreLoopGates.append( ' if Index >= Min : ' )
- PyMoreLoopGates.append( ' DoLoop = 1 ' )
- PyMoreLoopGates.append( ' return DoLoop,Index,Max,Min ' )
- PyNextLoopGates = []
- PyNextLoopGates.append( 'def NextLoop(Index,Max,Min) : ' )
- PyNextLoopGates.append( ' Index = Index - 1 ' )
- PyNextLoopGates.append( ' return Index,Max,Min ' )
- LoopGates,EndLoopGates = GraphSwitchGatesdefaultBranch.LNode( 'InitLoop' , PyLoopGates , 'MoreLoop' , PyMoreLoopGates , 'NextLoop' , PyNextLoopGates )
- EndLoopGates.SetName( 'EndLoopGates' )
- EndLoopGates.SetAuthor( '' )
- EndLoopGates.SetComment( 'Compute Node' )
- EndLoopGates.Coords( 875 , 216 )
- PyEndLoopGates = []
- EndLoopGates.SetPyFunction( 'EndLoopGates' , PyEndLoopGates )
- ILoopGatesDoLoop = LoopGates.GetInPort( 'DoLoop' )
- ILoopGatesIndex = LoopGates.InPort( 'Index' , 'long' )
- ILoopGatesMax = LoopGates.InPort( 'Max' , 'long' )
- ILoopGatesMin = LoopGates.InPort( 'Min' , 'long' )
- ILoopGatesGate = LoopGates.GetInPort( 'Gate' )
- OLoopGatesDoLoop = LoopGates.GetOutPort( 'DoLoop' )
- OLoopGatesIndex = LoopGates.GetOutPort( 'Index' )
- OLoopGatesMax = LoopGates.GetOutPort( 'Max' )
- OLoopGatesMin = LoopGates.GetOutPort( 'Min' )
- IEndLoopGatesDoLoop = EndLoopGates.GetInPort( 'DoLoop' )
- IEndLoopGatesIndex = EndLoopGates.GetInPort( 'Index' )
- IEndLoopGatesMax = EndLoopGates.GetInPort( 'Max' )
- IEndLoopGatesMin = EndLoopGates.GetInPort( 'Min' )
- IEndLoopGatesGate = EndLoopGates.GetInPort( 'Gate' )
- OEndLoopGatesDoLoop = EndLoopGates.GetOutPort( 'DoLoop' )
- OEndLoopGatesIndex = EndLoopGates.GetOutPort( 'Index' )
- OEndLoopGatesMax = EndLoopGates.GetOutPort( 'Max' )
- OEndLoopGatesMin = EndLoopGates.GetOutPort( 'Min' )
- OEndLoopGatesGate = EndLoopGates.GetOutPort( 'Gate' )
- LoopGates.SetName( 'LoopGates' )
- LoopGates.SetAuthor( '' )
- LoopGates.SetComment( 'Compute Node' )
- LoopGates.Coords( 13 , 236 )
-
- # Creation of Switch Nodes
- PySwitchGates = []
- PySwitchGates.append( 'def SwitchGates(Index) : ' )
- PySwitchGates.append( ' Odd = 0 ' )
- PySwitchGates.append( ' Even = 0 ' )
- PySwitchGates.append( ' default = 0 ' )
- PySwitchGates.append( ' if Index > 0 : ' )
- PySwitchGates.append( ' if (Index & 1) == 1 : ' )
- PySwitchGates.append( ' Odd = 1 ' )
- PySwitchGates.append( ' if (Index & 1) == 0 : ' )
- PySwitchGates.append( ' Even = 1 ' )
- PySwitchGates.append( ' else : ' )
- PySwitchGates.append( ' default = 1 ' )
- PySwitchGates.append( ' return Odd,Even,default ' )
- SwitchGates,EndSwitchGates = GraphSwitchGatesdefaultBranch.SNode( 'SwitchGates' , PySwitchGates )
- EndSwitchGates.SetName( 'EndSwitchGates' )
- EndSwitchGates.SetAuthor( '' )
- EndSwitchGates.SetComment( 'Compute Node' )
- EndSwitchGates.Coords( 647 , 272 )
- PyEndSwitchGates = []
- PyEndSwitchGates.append( 'from time import * ' )
- PyEndSwitchGates.append( 'def EndSwitchGates() : ' )
- PyEndSwitchGates.append( ' sleep(1) ' )
- PyEndSwitchGates.append( ' return ' )
- PyEndSwitchGates.append( '' )
- EndSwitchGates.SetPyFunction( 'EndSwitchGates' , PyEndSwitchGates )
- IEndSwitchGatesDefault = EndSwitchGates.GetInPort( 'Default' )
- OEndSwitchGatesGate = EndSwitchGates.GetOutPort( 'Gate' )
- SwitchGates.SetName( 'SwitchGates' )
- SwitchGates.SetAuthor( '' )
- SwitchGates.SetComment( 'Compute Node' )
- SwitchGates.Coords( 204 , 236 )
- ISwitchGatesIndex = SwitchGates.InPort( 'Index' , 'long' )
- ISwitchGatesGate = SwitchGates.GetInPort( 'Gate' )
- OSwitchGatesOdd = SwitchGates.OutPort( 'Odd' , 'long' )
- OSwitchGatesEven = SwitchGates.OutPort( 'Even' , 'long' )
- OSwitchGatesdefault = SwitchGates.OutPort( 'default' , 'long' )
- OSwitchGatesDefault = SwitchGates.GetOutPort( 'Default' )
-
- # Creation of Links
- LLoopGatesIndexEndLoopGatesIndex = GraphSwitchGatesdefaultBranch.Link( OLoopGatesIndex , IEndLoopGatesIndex )
-
- LLoopGatesIndexSwitchGatesIndex = GraphSwitchGatesdefaultBranch.Link( OLoopGatesIndex , ISwitchGatesIndex )
-
- LLoopGatesMaxEndLoopGatesMax = GraphSwitchGatesdefaultBranch.Link( OLoopGatesMax , IEndLoopGatesMax )
-
- LLoopGatesMinEndLoopGatesMin = GraphSwitchGatesdefaultBranch.Link( OLoopGatesMin , IEndLoopGatesMin )
-
- LSwitchGatesOddIsOddGate = GraphSwitchGatesdefaultBranch.Link( OSwitchGatesOdd , IIsOddGate )
-
- LSwitchGatesEvenIsEvenGate = GraphSwitchGatesdefaultBranch.Link( OSwitchGatesEven , IIsEvenGate )
-
- LSwitchGatesdefaultdefaultNodeGate = GraphSwitchGatesdefaultBranch.Link( OSwitchGatesdefault , IdefaultNodeGate )
-
- LEndSwitchGatesGateEndLoopGatesGate = GraphSwitchGatesdefaultBranch.Link( OEndSwitchGatesGate , IEndLoopGatesGate )
-
- LIsOddGateEndSwitchGatesDefault = GraphSwitchGatesdefaultBranch.Link( OIsOddGate , IEndSwitchGatesDefault )
-
- LIsEvenGateEndSwitchGatesDefault = GraphSwitchGatesdefaultBranch.Link( OIsEvenGate , IEndSwitchGatesDefault )
-
- LdefaultNodeGateEndSwitchGatesDefault = GraphSwitchGatesdefaultBranch.Link( OdefaultNodeGate , IEndSwitchGatesDefault )
-
- # Input datas
- ILoopGatesIndex.Input( 0 )
- ILoopGatesMax.Input( 13 )
- ILoopGatesMin.Input( -7 )
-
- # Output Ports of the graph
- #OEndLoopGatesIndex = EndLoopGates.GetOutPort( 'Index' )
- #OEndLoopGatesMax = EndLoopGates.GetOutPort( 'Max' )
- #OEndLoopGatesMin = EndLoopGates.GetOutPort( 'Min' )
- return GraphSwitchGatesdefaultBranch
-
-
-GraphSwitchGatesdefaultBranch = DefGraphSwitchGatesdefaultBranch()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchGatesdefault
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchGatesdefault
-def DefGraphSwitchGatesdefault() :
- GraphSwitchGatesdefault = Graph( 'GraphSwitchGatesdefault' )
- GraphSwitchGatesdefault.SetName( 'GraphSwitchGatesdefault' )
- GraphSwitchGatesdefault.SetAuthor( 'JR' )
- GraphSwitchGatesdefault.SetComment( '' )
- GraphSwitchGatesdefault.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from time import * ' )
- PyIsOdd.append( 'def IsOdd() : ' )
- PyIsOdd.append( ' sleep(1) ' )
- PyIsOdd.append( ' return ' )
- IsOdd = GraphSwitchGatesdefault.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Compute Node' )
- IsOdd.Coords( 424 , 116 )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyIsEven = []
- PyIsEven.append( 'from time import * ' )
- PyIsEven.append( 'def IsEven() : ' )
- PyIsEven.append( ' sleep(1) ' )
- PyIsEven.append( ' return ' )
- IsEven = GraphSwitchGatesdefault.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 428 , 345 )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoopGates = []
- PyLoopGates.append( 'def InitLoop(Index,Max,Min) : ' )
- PyLoopGates.append( ' Index = Max ' )
- PyLoopGates.append( ' return Index,Max,Min ' )
- PyMoreLoopGates = []
- PyMoreLoopGates.append( 'from time import * ' )
- PyMoreLoopGates.append( 'def MoreLoop(Index,Max,Min) : ' )
- PyMoreLoopGates.append( ' sleep(1) ' )
- PyMoreLoopGates.append( ' DoLoop = 0 ' )
- PyMoreLoopGates.append( ' if Index >= Min : ' )
- PyMoreLoopGates.append( ' DoLoop = 1 ' )
- PyMoreLoopGates.append( ' return DoLoop,Index,Max,Min ' )
- PyNextLoopGates = []
- PyNextLoopGates.append( 'def NextLoop(Index,Max,Min) : ' )
- PyNextLoopGates.append( ' Index = Index - 1 ' )
- PyNextLoopGates.append( ' return Index,Max,Min ' )
- LoopGates,EndLoopGates = GraphSwitchGatesdefault.LNode( 'InitLoop' , PyLoopGates , 'MoreLoop' , PyMoreLoopGates , 'NextLoop' , PyNextLoopGates )
- EndLoopGates.SetName( 'EndLoopGates' )
- EndLoopGates.SetAuthor( '' )
- EndLoopGates.SetComment( 'Compute Node' )
- EndLoopGates.Coords( 875 , 216 )
- PyEndLoopGates = []
- EndLoopGates.SetPyFunction( 'EndLoopGates' , PyEndLoopGates )
- ILoopGatesDoLoop = LoopGates.GetInPort( 'DoLoop' )
- ILoopGatesIndex = LoopGates.InPort( 'Index' , 'long' )
- ILoopGatesMax = LoopGates.InPort( 'Max' , 'long' )
- ILoopGatesMin = LoopGates.InPort( 'Min' , 'long' )
- ILoopGatesGate = LoopGates.GetInPort( 'Gate' )
- OLoopGatesDoLoop = LoopGates.GetOutPort( 'DoLoop' )
- OLoopGatesIndex = LoopGates.GetOutPort( 'Index' )
- OLoopGatesMax = LoopGates.GetOutPort( 'Max' )
- OLoopGatesMin = LoopGates.GetOutPort( 'Min' )
- IEndLoopGatesDoLoop = EndLoopGates.GetInPort( 'DoLoop' )
- IEndLoopGatesIndex = EndLoopGates.GetInPort( 'Index' )
- IEndLoopGatesMax = EndLoopGates.GetInPort( 'Max' )
- IEndLoopGatesMin = EndLoopGates.GetInPort( 'Min' )
- IEndLoopGatesGate = EndLoopGates.GetInPort( 'Gate' )
- OEndLoopGatesDoLoop = EndLoopGates.GetOutPort( 'DoLoop' )
- OEndLoopGatesIndex = EndLoopGates.GetOutPort( 'Index' )
- OEndLoopGatesMax = EndLoopGates.GetOutPort( 'Max' )
- OEndLoopGatesMin = EndLoopGates.GetOutPort( 'Min' )
- OEndLoopGatesGate = EndLoopGates.GetOutPort( 'Gate' )
- LoopGates.SetName( 'LoopGates' )
- LoopGates.SetAuthor( '' )
- LoopGates.SetComment( 'Compute Node' )
- LoopGates.Coords( 13 , 236 )
-
- # Creation of Switch Nodes
- PySwitchGates = []
- PySwitchGates.append( 'def SwitchGates(Index) : ' )
- PySwitchGates.append( ' Odd = 0 ' )
- PySwitchGates.append( ' Even = 0 ' )
- PySwitchGates.append( ' default = 0 ' )
- PySwitchGates.append( ' if Index > 0 : ' )
- PySwitchGates.append( ' if (Index & 1) == 1 : ' )
- PySwitchGates.append( ' Odd = 1 ' )
- PySwitchGates.append( ' if (Index & 1) == 0 : ' )
- PySwitchGates.append( ' Even = 1 ' )
- PySwitchGates.append( ' else : ' )
- PySwitchGates.append( ' default = 1 ' )
- PySwitchGates.append( ' return Odd,Even,default ' )
- SwitchGates,EndSwitchGates = GraphSwitchGatesdefault.SNode( 'SwitchGates' , PySwitchGates )
- EndSwitchGates.SetName( 'EndSwitchGates' )
- EndSwitchGates.SetAuthor( '' )
- EndSwitchGates.SetComment( 'Compute Node' )
- EndSwitchGates.Coords( 648 , 276 )
- PyEndSwitchGates = []
- PyEndSwitchGates.append( 'from time import * ' )
- PyEndSwitchGates.append( 'def EndSwitchGates() : ' )
- PyEndSwitchGates.append( ' sleep(1) ' )
- PyEndSwitchGates.append( ' return ' )
- PyEndSwitchGates.append( '' )
- EndSwitchGates.SetPyFunction( 'EndSwitchGates' , PyEndSwitchGates )
- IEndSwitchGatesDefault = EndSwitchGates.GetInPort( 'Default' )
- OEndSwitchGatesGate = EndSwitchGates.GetOutPort( 'Gate' )
- SwitchGates.SetName( 'SwitchGates' )
- SwitchGates.SetAuthor( '' )
- SwitchGates.SetComment( 'Compute Node' )
- SwitchGates.Coords( 204 , 236 )
- ISwitchGatesIndex = SwitchGates.InPort( 'Index' , 'long' )
- ISwitchGatesGate = SwitchGates.GetInPort( 'Gate' )
- OSwitchGatesOdd = SwitchGates.OutPort( 'Odd' , 'long' )
- OSwitchGatesEven = SwitchGates.OutPort( 'Even' , 'long' )
- OSwitchGatesdefault = SwitchGates.OutPort( 'default' , 'long' )
- OSwitchGatesDefault = SwitchGates.GetOutPort( 'Default' )
-
- # Creation of Links
- LLoopGatesIndexEndLoopGatesIndex = GraphSwitchGatesdefault.Link( OLoopGatesIndex , IEndLoopGatesIndex )
-
- LLoopGatesIndexSwitchGatesIndex = GraphSwitchGatesdefault.Link( OLoopGatesIndex , ISwitchGatesIndex )
-
- LLoopGatesMaxEndLoopGatesMax = GraphSwitchGatesdefault.Link( OLoopGatesMax , IEndLoopGatesMax )
-
- LLoopGatesMinEndLoopGatesMin = GraphSwitchGatesdefault.Link( OLoopGatesMin , IEndLoopGatesMin )
-
- LSwitchGatesOddIsOddGate = GraphSwitchGatesdefault.Link( OSwitchGatesOdd , IIsOddGate )
-
- LSwitchGatesEvenIsEvenGate = GraphSwitchGatesdefault.Link( OSwitchGatesEven , IIsEvenGate )
-
- LSwitchGatesdefaultEndSwitchGatesDefault = GraphSwitchGatesdefault.Link( OSwitchGatesdefault , IEndSwitchGatesDefault )
-
- LEndSwitchGatesGateEndLoopGatesGate = GraphSwitchGatesdefault.Link( OEndSwitchGatesGate , IEndLoopGatesGate )
-
- LIsOddGateEndSwitchGatesDefault = GraphSwitchGatesdefault.Link( OIsOddGate , IEndSwitchGatesDefault )
-
- LIsEvenGateEndSwitchGatesDefault = GraphSwitchGatesdefault.Link( OIsEvenGate , IEndSwitchGatesDefault )
-
- # Input datas
- ILoopGatesIndex.Input( 0 )
- ILoopGatesMax.Input( 13 )
- ILoopGatesMin.Input( -7 )
-
- # Output Ports of the graph
- #OEndLoopGatesIndex = EndLoopGates.GetOutPort( 'Index' )
- #OEndLoopGatesMax = EndLoopGates.GetOutPort( 'Max' )
- #OEndLoopGatesMin = EndLoopGates.GetOutPort( 'Min' )
- return GraphSwitchGatesdefault
-
-
-GraphSwitchGatesdefault = DefGraphSwitchGatesdefault()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchManyCases
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchManyCases
-def DefGraphSwitchManyCases() :
- GraphSwitchManyCases = Graph( 'GraphSwitchManyCases' )
- GraphSwitchManyCases.SetName( 'GraphSwitchManyCases' )
- GraphSwitchManyCases.SetAuthor( 'JR' )
- GraphSwitchManyCases.SetComment( '' )
- GraphSwitchManyCases.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyCase1 = []
- PyCase1.append( 'from time import * ' )
- PyCase1.append( 'def Case1(a) : ' )
- PyCase1.append( ' sleep(1) ' )
- PyCase1.append( ' return a ' )
- Case1 = GraphSwitchManyCases.INode( 'Case1' , PyCase1 )
- Case1.SetName( 'Case1' )
- Case1.SetAuthor( '' )
- Case1.SetComment( 'Compute Node' )
- Case1.Coords( 448 , 13 )
- ICase1a = Case1.InPort( 'a' , 'long' )
- ICase1Gate = Case1.GetInPort( 'Gate' )
- OCase1a = Case1.OutPort( 'a' , 'long' )
- OCase1Gate = Case1.GetOutPort( 'Gate' )
-
- PyCase3 = []
- PyCase3.append( 'from time import * ' )
- PyCase3.append( 'def Case3(b) : ' )
- PyCase3.append( ' sleep(1) ' )
- PyCase3.append( ' return b ' )
- Case3 = GraphSwitchManyCases.INode( 'Case3' , PyCase3 )
- Case3.SetName( 'Case3' )
- Case3.SetAuthor( '' )
- Case3.SetComment( 'Compute Node' )
- Case3.Coords( 458 , 286 )
- ICase3b = Case3.InPort( 'b' , 'long' )
- ICase3Gate = Case3.GetInPort( 'Gate' )
- OCase3b = Case3.OutPort( 'b' , 'long' )
- OCase3Gate = Case3.GetOutPort( 'Gate' )
-
- PyCase4 = []
- PyCase4.append( 'from time import * ' )
- PyCase4.append( 'def Case4(c) : ' )
- PyCase4.append( ' sleep(1) ' )
- PyCase4.append( ' return ' )
- Case4 = GraphSwitchManyCases.INode( 'Case4' , PyCase4 )
- Case4.SetName( 'Case4' )
- Case4.SetAuthor( '' )
- Case4.SetComment( 'Compute Node' )
- Case4.Coords( 459 , 493 )
- ICase4c = Case4.InPort( 'c' , 'long' )
- ICase4Gate = Case4.GetInPort( 'Gate' )
- OCase4Gate = Case4.GetOutPort( 'Gate' )
-
- PyCase2a = []
- PyCase2a.append( 'from time import * ' )
- PyCase2a.append( 'def Case2a(a) : ' )
- PyCase2a.append( ' sleep(1) ' )
- PyCase2a.append( ' return a ' )
- Case2a = GraphSwitchManyCases.INode( 'Case2a' , PyCase2a )
- Case2a.SetName( 'Case2a' )
- Case2a.SetAuthor( '' )
- Case2a.SetComment( 'Compute Node' )
- Case2a.Coords( 453 , 154 )
- ICase2aa = Case2a.InPort( 'a' , 'long' )
- ICase2aGate = Case2a.GetInPort( 'Gate' )
- OCase2aa = Case2a.OutPort( 'a' , 'long' )
- OCase2aGate = Case2a.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoop = []
- PyLoop.append( 'def Init(Index,Max,Min) : ' )
- PyLoop.append( ' Index = Max ' )
- PyLoop.append( ' return Index,Max,Min ' )
- PyMoreLoop = []
- PyMoreLoop.append( 'def More(Index,Max,Min) : ' )
- PyMoreLoop.append( ' if Index >= Min : ' )
- PyMoreLoop.append( ' DoLoop = 1 ' )
- PyMoreLoop.append( ' else : ' )
- PyMoreLoop.append( ' DoLoop = 0 ' )
- PyMoreLoop.append( ' return DoLoop,Index,Max,Min ' )
- PyNextLoop = []
- PyNextLoop.append( 'def Next(Index,Max,Min) : ' )
- PyNextLoop.append( ' Index = Index - 1 ' )
- PyNextLoop.append( ' return Index,Max,Min ' )
- Loop,EndLoop = GraphSwitchManyCases.LNode( 'Init' , PyLoop , 'More' , PyMoreLoop , 'Next' , PyNextLoop )
- EndLoop.SetName( 'EndLoop' )
- EndLoop.SetAuthor( '' )
- EndLoop.SetComment( 'Compute Node' )
- EndLoop.Coords( 972 , 344 )
- PyEndLoop = []
- EndLoop.SetPyFunction( 'EndLoop' , PyEndLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopMin = Loop.InPort( 'Min' , 'long' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- OLoopMin = Loop.GetOutPort( 'Min' )
- IEndLoopDoLoop = EndLoop.GetInPort( 'DoLoop' )
- IEndLoopIndex = EndLoop.GetInPort( 'Index' )
- IEndLoopMax = EndLoop.GetInPort( 'Max' )
- IEndLoopMin = EndLoop.GetInPort( 'Min' )
- IEndLoopGate = EndLoop.GetInPort( 'Gate' )
- OEndLoopDoLoop = EndLoop.GetOutPort( 'DoLoop' )
- OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- OEndLoopMin = EndLoop.GetOutPort( 'Min' )
- OEndLoopGate = EndLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 15 , 336 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(Index) : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' SB1 = 0 ' )
- PySwitch.append( ' SB2 = 0 ' )
- PySwitch.append( ' if (Index & 3) == 3 : ' )
- PySwitch.append( ' SB1 = 1 ' )
- PySwitch.append( ' elif (Index & 3) == 0 : ' )
- PySwitch.append( ' SB2 = 1 ' )
- PySwitch.append( ' return SB1,SB2,Index,Index+1,Index+2,Index+3,Index+4,Index+5 ' )
- Switch,EndSwitch = GraphSwitchManyCases.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 732 , 344 )
- PyEndSwitch = []
- PyEndSwitch.append( 'from time import * ' )
- PyEndSwitch.append( 'def EndSwitch(a,b,dd,e,f) : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' if b != (a+1) : ' )
- PyEndSwitch.append( ' print 'EndSwitch ERROR' ' )
- PyEndSwitch.append( ' pass ' )
- PyEndSwitch.append( ' if dd != (a+3) : ' )
- PyEndSwitch.append( ' print 'EndSwitch ERROR' ' )
- PyEndSwitch.append( ' pass ' )
- PyEndSwitch.append( ' if e != (a+4) : ' )
- PyEndSwitch.append( ' print 'EndSwitch ERROR' ' )
- PyEndSwitch.append( ' pass ' )
- PyEndSwitch.append( ' if f != (a+5) : ' )
- PyEndSwitch.append( ' print 'EndSwitch ERROR' ' )
- PyEndSwitch.append( ' pass ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchb = EndSwitch.InPort( 'b' , 'long' )
- IEndSwitchdd = EndSwitch.InPort( 'dd' , 'long' )
- IEndSwitche = EndSwitch.InPort( 'e' , 'long' )
- IEndSwitchf = EndSwitch.InPort( 'f' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitchIndex = EndSwitch.OutPort( 'Index' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 232 , 285 )
- ISwitchIndex = Switch.InPort( 'Index' , 'long' )
- ISwitchGate = Switch.GetInPort( 'Gate' )
- OSwitchSB1 = Switch.OutPort( 'SB1' , 'long' )
- OSwitchSB2 = Switch.OutPort( 'SB2' , 'long' )
- OSwitcha = Switch.OutPort( 'a' , 'long' )
- OSwitchb = Switch.OutPort( 'b' , 'long' )
- OSwitchc = Switch.OutPort( 'c' , 'long' )
- OSwitchd = Switch.OutPort( 'd' , 'long' )
- OSwitche = Switch.OutPort( 'e' , 'long' )
- OSwitchf = Switch.OutPort( 'f' , 'long' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LLoopIndexSwitchIndex = GraphSwitchManyCases.Link( OLoopIndex , ISwitchIndex )
-
- LLoopMaxEndLoopMax = GraphSwitchManyCases.Link( OLoopMax , IEndLoopMax )
-
- LLoopMinEndLoopMin = GraphSwitchManyCases.Link( OLoopMin , IEndLoopMin )
-
- LSwitchSB1Case1Gate = GraphSwitchManyCases.Link( OSwitchSB1 , ICase1Gate )
-
- LSwitchSB2Case2aGate = GraphSwitchManyCases.Link( OSwitchSB2 , ICase2aGate )
-
- LSwitchaCase1a = GraphSwitchManyCases.Link( OSwitcha , ICase1a )
-
- LSwitchaCase2aa = GraphSwitchManyCases.Link( OSwitcha , ICase2aa )
-
- LSwitchbCase3b = GraphSwitchManyCases.Link( OSwitchb , ICase3b )
-
- LSwitchcCase4c = GraphSwitchManyCases.Link( OSwitchc , ICase4c )
-
- LSwitchdEndSwitchdd = GraphSwitchManyCases.Link( OSwitchd , IEndSwitchdd )
-
- LSwitcheEndSwitche = GraphSwitchManyCases.Link( OSwitche , IEndSwitche )
-
- LSwitchDefaultEndSwitchDefault = GraphSwitchManyCases.Link( OSwitchDefault , IEndSwitchDefault )
-
- LEndSwitchIndexEndLoopIndex = GraphSwitchManyCases.Link( OEndSwitchIndex , IEndLoopIndex )
-
- LCase1aEndSwitcha = GraphSwitchManyCases.Link( OCase1a , IEndSwitcha )
-
- LCase3bEndSwitchb = GraphSwitchManyCases.Link( OCase3b , IEndSwitchb )
-
- LCase4GateEndSwitchDefault = GraphSwitchManyCases.Link( OCase4Gate , IEndSwitchDefault )
-
- LCase2aaEndSwitcha = GraphSwitchManyCases.Link( OCase2aa , IEndSwitcha )
-
- # Input datas
- ILoopIndex.Input( 0 )
- ILoopMax.Input( 23 )
- ILoopMin.Input( -7 )
-
- # Input Ports of the graph
- #IEndSwitchf = EndSwitch.GetInPort( 'f' )
-
- # Output Ports of the graph
- #OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- #OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- #OEndLoopMin = EndLoop.GetOutPort( 'Min' )
- #OSwitchf = Switch.GetOutPort( 'f' )
- return GraphSwitchManyCases
-
-
-GraphSwitchManyCases = DefGraphSwitchManyCases()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchManyCasesNOTValid
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchManyCasesNOTValid
-def DefGraphSwitchManyCasesNOTValid() :
- GraphSwitchManyCasesNOTValid = Graph( 'GraphSwitchManyCasesNOTValid' )
- GraphSwitchManyCasesNOTValid.SetName( 'GraphSwitchManyCasesNOTValid' )
- GraphSwitchManyCasesNOTValid.SetAuthor( 'JR' )
- GraphSwitchManyCasesNOTValid.SetComment( '' )
- GraphSwitchManyCasesNOTValid.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyCase1 = []
- PyCase1.append( 'from time import * ' )
- PyCase1.append( 'def Case1(a) : ' )
- PyCase1.append( ' sleep(1) ' )
- PyCase1.append( ' return a ' )
- Case1 = GraphSwitchManyCasesNOTValid.INode( 'Case1' , PyCase1 )
- Case1.SetName( 'Case1' )
- Case1.SetAuthor( '' )
- Case1.SetComment( 'Compute Node' )
- Case1.Coords( 448 , 13 )
- ICase1a = Case1.InPort( 'a' , 'long' )
- ICase1Gate = Case1.GetInPort( 'Gate' )
- OCase1a = Case1.OutPort( 'a' , 'long' )
- OCase1Gate = Case1.GetOutPort( 'Gate' )
-
- PyCase3 = []
- PyCase3.append( 'from time import * ' )
- PyCase3.append( 'def Case3(b) : ' )
- PyCase3.append( ' sleep(1) ' )
- PyCase3.append( ' return b ' )
- Case3 = GraphSwitchManyCasesNOTValid.INode( 'Case3' , PyCase3 )
- Case3.SetName( 'Case3' )
- Case3.SetAuthor( '' )
- Case3.SetComment( 'Compute Node' )
- Case3.Coords( 461 , 500 )
- ICase3b = Case3.InPort( 'b' , 'long' )
- ICase3Gate = Case3.GetInPort( 'Gate' )
- OCase3b = Case3.OutPort( 'b' , 'long' )
- OCase3Gate = Case3.GetOutPort( 'Gate' )
-
- PyCase4 = []
- PyCase4.append( 'from time import * ' )
- PyCase4.append( 'def Case4(c) : ' )
- PyCase4.append( ' sleep(1) ' )
- PyCase4.append( ' return ' )
- Case4 = GraphSwitchManyCasesNOTValid.INode( 'Case4' , PyCase4 )
- Case4.SetName( 'Case4' )
- Case4.SetAuthor( '' )
- Case4.SetComment( 'Compute Node' )
- Case4.Coords( 455 , 647 )
- ICase4c = Case4.InPort( 'c' , 'long' )
- ICase4Gate = Case4.GetInPort( 'Gate' )
- OCase4Gate = Case4.GetOutPort( 'Gate' )
-
- PyCase2 = []
- PyCase2.append( 'from time import * ' )
- PyCase2.append( 'def Case2() : ' )
- PyCase2.append( ' sleep(1) ' )
- PyCase2.append( ' return ' )
- Case2 = GraphSwitchManyCasesNOTValid.INode( 'Case2' , PyCase2 )
- Case2.SetName( 'Case2' )
- Case2.SetAuthor( '' )
- Case2.SetComment( 'Compute Node' )
- Case2.Coords( 455 , 179 )
- ICase2Gate = Case2.GetInPort( 'Gate' )
- OCase2Gate = Case2.GetOutPort( 'Gate' )
-
- PyCase2a = []
- PyCase2a.append( 'from time import * ' )
- PyCase2a.append( 'def Case2a(a) : ' )
- PyCase2a.append( ' sleep(1) ' )
- PyCase2a.append( ' return a ' )
- Case2a = GraphSwitchManyCasesNOTValid.INode( 'Case2a' , PyCase2a )
- Case2a.SetName( 'Case2a' )
- Case2a.SetAuthor( '' )
- Case2a.SetComment( 'Compute Node' )
- Case2a.Coords( 456 , 304 )
- ICase2aa = Case2a.InPort( 'a' , 'long' )
- ICase2aGate = Case2a.GetInPort( 'Gate' )
- OCase2aa = Case2a.OutPort( 'a' , 'long' )
- OCase2aGate = Case2a.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyLoop = []
- PyLoop.append( 'def Init(Index,Max,Min) : ' )
- PyLoop.append( ' Index = Max ' )
- PyLoop.append( ' return Index,Max,Min ' )
- PyMoreLoop = []
- PyMoreLoop.append( 'def More(Index,Max,Min) : ' )
- PyMoreLoop.append( ' if Index >= Min : ' )
- PyMoreLoop.append( ' DoLoop = 1 ' )
- PyMoreLoop.append( ' else : ' )
- PyMoreLoop.append( ' DoLoop = 0 ' )
- PyMoreLoop.append( ' return DoLoop,Index,Max,Min ' )
- PyNextLoop = []
- PyNextLoop.append( 'def Next(Index,Max,Min) : ' )
- PyNextLoop.append( ' Index = Index - 1 ' )
- PyNextLoop.append( ' return Index,Max,Min ' )
- Loop,EndLoop = GraphSwitchManyCasesNOTValid.LNode( 'Init' , PyLoop , 'More' , PyMoreLoop , 'Next' , PyNextLoop )
- EndLoop.SetName( 'EndLoop' )
- EndLoop.SetAuthor( '' )
- EndLoop.SetComment( 'Compute Node' )
- EndLoop.Coords( 972 , 344 )
- PyEndLoop = []
- EndLoop.SetPyFunction( 'EndLoop' , PyEndLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopMin = Loop.InPort( 'Min' , 'long' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- OLoopMin = Loop.GetOutPort( 'Min' )
- IEndLoopDoLoop = EndLoop.GetInPort( 'DoLoop' )
- IEndLoopIndex = EndLoop.GetInPort( 'Index' )
- IEndLoopMax = EndLoop.GetInPort( 'Max' )
- IEndLoopMin = EndLoop.GetInPort( 'Min' )
- IEndLoopGate = EndLoop.GetInPort( 'Gate' )
- OEndLoopDoLoop = EndLoop.GetOutPort( 'DoLoop' )
- OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- OEndLoopMin = EndLoop.GetOutPort( 'Min' )
- OEndLoopGate = EndLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 15 , 336 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(Index) : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' SB1 = 0 ' )
- PySwitch.append( ' SB2 = 0 ' )
- PySwitch.append( ' if (Index & 3) == 3 : ' )
- PySwitch.append( ' SB1 = 1 ' )
- PySwitch.append( ' elif (Index & 3) == 0 : ' )
- PySwitch.append( ' SB2 = 1 ' )
- PySwitch.append( ' return SB1,SB2,Index,Index+1,Index+2,Index+3,Index+4,Index+5 ' )
- Switch,EndSwitch = GraphSwitchManyCasesNOTValid.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 732 , 344 )
- PyEndSwitch = []
- PyEndSwitch.append( 'from time import * ' )
- PyEndSwitch.append( 'def EndSwitch(a,b,dd,e,f) : ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' if b != (a+1) : ' )
- PyEndSwitch.append( ' print 'EndSwitch ERROR' ' )
- PyEndSwitch.append( ' pass ' )
- PyEndSwitch.append( ' if dd != (a+3) : ' )
- PyEndSwitch.append( ' print 'EndSwitch ERROR' ' )
- PyEndSwitch.append( ' pass ' )
- PyEndSwitch.append( ' if e != (a+4) : ' )
- PyEndSwitch.append( ' print 'EndSwitch ERROR' ' )
- PyEndSwitch.append( ' pass ' )
- PyEndSwitch.append( ' if f != (a+5) : ' )
- PyEndSwitch.append( ' print 'EndSwitch ERROR' ' )
- PyEndSwitch.append( ' pass ' )
- PyEndSwitch.append( ' return a ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchb = EndSwitch.InPort( 'b' , 'long' )
- IEndSwitchdd = EndSwitch.InPort( 'dd' , 'long' )
- IEndSwitche = EndSwitch.InPort( 'e' , 'long' )
- IEndSwitchf = EndSwitch.InPort( 'f' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitchIndex = EndSwitch.OutPort( 'Index' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 232 , 285 )
- ISwitchIndex = Switch.InPort( 'Index' , 'long' )
- ISwitchGate = Switch.GetInPort( 'Gate' )
- OSwitchSB1 = Switch.OutPort( 'SB1' , 'long' )
- OSwitchSB2 = Switch.OutPort( 'SB2' , 'long' )
- OSwitcha = Switch.OutPort( 'a' , 'long' )
- OSwitchb = Switch.OutPort( 'b' , 'long' )
- OSwitchc = Switch.OutPort( 'c' , 'long' )
- OSwitchd = Switch.OutPort( 'd' , 'long' )
- OSwitche = Switch.OutPort( 'e' , 'long' )
- OSwitchf = Switch.OutPort( 'f' , 'long' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LLoopIndexSwitchIndex = GraphSwitchManyCasesNOTValid.Link( OLoopIndex , ISwitchIndex )
-
- LLoopMaxEndLoopMax = GraphSwitchManyCasesNOTValid.Link( OLoopMax , IEndLoopMax )
-
- LLoopMinEndLoopMin = GraphSwitchManyCasesNOTValid.Link( OLoopMin , IEndLoopMin )
-
- LSwitchSB1Case1Gate = GraphSwitchManyCasesNOTValid.Link( OSwitchSB1 , ICase1Gate )
-
- LSwitchSB2Case2Gate = GraphSwitchManyCasesNOTValid.Link( OSwitchSB2 , ICase2Gate )
-
- LSwitchSB2Case2aGate = GraphSwitchManyCasesNOTValid.Link( OSwitchSB2 , ICase2aGate )
-
- LSwitchaCase1a = GraphSwitchManyCasesNOTValid.Link( OSwitcha , ICase1a )
-
- LSwitchaCase2aa = GraphSwitchManyCasesNOTValid.Link( OSwitcha , ICase2aa )
-
- LSwitchbCase3b = GraphSwitchManyCasesNOTValid.Link( OSwitchb , ICase3b )
-
- LSwitchcCase4c = GraphSwitchManyCasesNOTValid.Link( OSwitchc , ICase4c )
-
- LSwitchdEndSwitchdd = GraphSwitchManyCasesNOTValid.Link( OSwitchd , IEndSwitchdd )
-
- LSwitcheEndSwitche = GraphSwitchManyCasesNOTValid.Link( OSwitche , IEndSwitche )
-
- LSwitchDefaultEndSwitchDefault = GraphSwitchManyCasesNOTValid.Link( OSwitchDefault , IEndSwitchDefault )
-
- LEndSwitchIndexEndLoopIndex = GraphSwitchManyCasesNOTValid.Link( OEndSwitchIndex , IEndLoopIndex )
-
- LCase1aEndSwitcha = GraphSwitchManyCasesNOTValid.Link( OCase1a , IEndSwitcha )
-
- LCase3bEndSwitchb = GraphSwitchManyCasesNOTValid.Link( OCase3b , IEndSwitchb )
-
- LCase4GateEndSwitchDefault = GraphSwitchManyCasesNOTValid.Link( OCase4Gate , IEndSwitchDefault )
-
- LCase2GateEndSwitchDefault = GraphSwitchManyCasesNOTValid.Link( OCase2Gate , IEndSwitchDefault )
-
- LCase2aaEndSwitcha = GraphSwitchManyCasesNOTValid.Link( OCase2aa , IEndSwitcha )
-
- # Input datas
- ILoopIndex.Input( 0 )
- ILoopMax.Input( 23 )
- ILoopMin.Input( -7 )
-
- # Input Ports of the graph
- #IEndSwitchf = EndSwitch.GetInPort( 'f' )
-
- # Output Ports of the graph
- #OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- #OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- #OEndLoopMin = EndLoop.GetOutPort( 'Min' )
- #OSwitchf = Switch.GetOutPort( 'f' )
- return GraphSwitchManyCasesNOTValid
-
-
-GraphSwitchManyCasesNOTValid = DefGraphSwitchManyCasesNOTValid()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchNOTExecutable
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchNOTExecutable
-def DefGraphSwitchNOTExecutable() :
- GraphSwitchNOTExecutable = Graph( 'GraphSwitchNOTExecutable' )
- GraphSwitchNOTExecutable.SetName( 'GraphSwitchNOTExecutable' )
- GraphSwitchNOTExecutable.SetAuthor( '' )
- GraphSwitchNOTExecutable.SetComment( '' )
- GraphSwitchNOTExecutable.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 = GraphSwitchNOTExecutable.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 = GraphSwitchNOTExecutable.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 = GraphSwitchNOTExecutable.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' )
- OSwitchn = Switch.OutPort( 'n' , 'int' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitcha = GraphSwitchNOTExecutable.Link( OIsOdda , IEndOfSwitcha )
- LIsOddaEndOfSwitcha.AddCoord( 1 , 564 , 201 )
- LIsOddaEndOfSwitcha.AddCoord( 2 , 564 , 137 )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchNOTExecutable.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchNOTExecutable.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchNOTExecutable.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchNOTExecutable.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchnIsOdda = GraphSwitchNOTExecutable.Link( OSwitchn , IIsOdda )
- LSwitchnIsOdda.AddCoord( 1 , 371 , 136 )
- LSwitchnIsOdda.AddCoord( 2 , 371 , 200 )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchNOTExecutable.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchNOTExecutable.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 GraphSwitchNOTExecutable
-
-
-GraphSwitchNOTExecutable = DefGraphSwitchNOTExecutable()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchNOTExecutable1
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchNOTExecutable1
-def DefGraphSwitchNOTExecutable1() :
- GraphSwitchNOTExecutable1 = Graph( 'GraphSwitchNOTExecutable1' )
- GraphSwitchNOTExecutable1.SetName( 'GraphSwitchNOTExecutable1' )
- GraphSwitchNOTExecutable1.SetAuthor( '' )
- GraphSwitchNOTExecutable1.SetComment( '' )
- GraphSwitchNOTExecutable1.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 = GraphSwitchNOTExecutable1.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 = GraphSwitchNOTExecutable1.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 = GraphSwitchNOTExecutable1.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' )
- OSwitchn = Switch.OutPort( 'n' , 'int' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitcha = GraphSwitchNOTExecutable1.Link( OIsOdda , IEndOfSwitcha )
- LIsOddaEndOfSwitcha.AddCoord( 1 , 564 , 201 )
- LIsOddaEndOfSwitcha.AddCoord( 2 , 564 , 137 )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchNOTExecutable1.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchNOTExecutable1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchNOTExecutable1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchNOTExecutable1.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchnIsOdda = GraphSwitchNOTExecutable1.Link( OSwitchn , IIsOdda )
- LSwitchnIsOdda.AddCoord( 1 , 371 , 136 )
- LSwitchnIsOdda.AddCoord( 2 , 371 , 200 )
-
- LSwitchnEndOfSwitcha = GraphSwitchNOTExecutable1.Link( OSwitchn , IEndOfSwitcha )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchNOTExecutable1.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchNOTExecutable1.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 GraphSwitchNOTExecutable1
-
-
-GraphSwitchNOTExecutable1 = DefGraphSwitchNOTExecutable1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchNOTExecutable2
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchNOTExecutable2
-def DefGraphSwitchNOTExecutable2() :
- GraphSwitchNOTExecutable2 = Graph( 'GraphSwitchNOTExecutable2' )
- GraphSwitchNOTExecutable2.SetName( 'GraphSwitchNOTExecutable2' )
- GraphSwitchNOTExecutable2.SetAuthor( 'JR' )
- GraphSwitchNOTExecutable2.SetComment( '' )
- GraphSwitchNOTExecutable2.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 = GraphSwitchNOTExecutable2.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 = GraphSwitchNOTExecutable2.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 772 , 132 )
- 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 = GraphSwitchNOTExecutable2.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 581 , 132 )
- PyEndOfSwitch = []
- EndOfSwitch.SetPyFunction( '' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchEven = EndOfSwitch.InPort( 'Even' , 'long' )
- IEndOfSwitchk = EndOfSwitch.InPort( 'k' , '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' )
- OSwitchn = Switch.OutPort( 'n' , 'int' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaEndOfSwitcha = GraphSwitchNOTExecutable2.Link( OIsOdda , IEndOfSwitcha )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchNOTExecutable2.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchNOTExecutable2.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchNOTExecutable2.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LSwitchOddIsOddGate = GraphSwitchNOTExecutable2.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchnIsOdda = GraphSwitchNOTExecutable2.Link( OSwitchn , IIsOdda )
- LSwitchnIsOdda.AddCoord( 1 , 371 , 136 )
- LSwitchnIsOdda.AddCoord( 2 , 371 , 200 )
-
- LSwitchnEndOfSwitchk = GraphSwitchNOTExecutable2.Link( OSwitchn , IEndOfSwitchk )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchNOTExecutable2.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchNOTExecutable2.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( 0 )
- IInitLoopSwitchMax.Input( 100 )
-
- # Input Ports of the graph
- #IEndOfSwitchEven = EndOfSwitch.GetInPort( 'Even' )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- #OSwitchEven = Switch.GetOutPort( 'Even' )
- return GraphSwitchNOTExecutable2
-
-
-GraphSwitchNOTExecutable2 = DefGraphSwitchNOTExecutable2()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitch_1_1_2
-#
-from SuperV import *
-
-# 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,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,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_2.INode( 'Print' , PyPrint )
- Print.SetName( 'Print' )
- Print.SetAuthor( '' )
- Print.SetComment( 'Compute Node' )
- Print.Coords( 639 , 63 )
- IPrinta = Print.InPort( 'a' , 'long' )
- IPrintBranch = Print.InPort( 'Branch' , 'string' )
- IPrintGate = Print.GetInPort( 'Gate' )
- OPrinta = Print.OutPort( 'a' , 'long' )
- OPrintBranch = Print.OutPort( 'Branch' , 'string' )
- OPrintGate = Print.GetOutPort( 'Gate' )
-
- PyPrint_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_2.INode( 'Print_1' , PyPrint_1 )
- Print_1.SetName( 'Print_1' )
- Print_1.SetAuthor( '' )
- Print_1.SetComment( 'Compute Node' )
- Print_1.Coords( 639 , 263 )
- IPrint_1a = Print_1.InPort( 'a' , 'long' )
- IPrint_1Branch = Print_1.InPort( 'Branch' , 'string' )
- IPrint_1Gate = Print_1.GetInPort( 'Gate' )
- OPrint_1a = Print_1.OutPort( 'a' , 'long' )
- OPrint_1Branch = Print_1.OutPort( 'Branch' , 'string' )
- OPrint_1Gate = Print_1.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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_1_1_2.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1082 , 150 )
- 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( ' Branch = 'Negative or null' ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = 'Even' ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = 'Odd' ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitch_1_1_2.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 880 , 150 )
- PyEndOfSwitch = []
- EndOfSwitch.SetPyFunction( 'EndSwitch_1' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 195 , 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' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaPrinta = GraphSwitch_1_1_2.Link( OIsOdda , IPrinta )
-
- LIsOddBranchPrintBranch = GraphSwitch_1_1_2.Link( OIsOddBranch , IPrintBranch )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitch_1_1_2.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitch_1_1_2.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitch_1_1_2.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LIsEvenaPrint_1a = GraphSwitch_1_1_2.Link( OIsEvena , IPrint_1a )
-
- LIsEvenBranchPrint_1Branch = GraphSwitch_1_1_2.Link( OIsEvenBranch , IPrint_1Branch )
-
- LSwitchOddIsOddGate = GraphSwitch_1_1_2.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenIsEvenGate = GraphSwitch_1_1_2.Link( OSwitchEven , IIsEvenGate )
-
- LSwitchaIsOdda = GraphSwitch_1_1_2.Link( OSwitcha , IIsOdda )
-
- LSwitchaIsEvena = GraphSwitch_1_1_2.Link( OSwitcha , IIsEvena )
-
- LSwitchBranchIsOddBranch = GraphSwitch_1_1_2.Link( OSwitchBranch , IIsOddBranch )
-
- LSwitchBranchIsEvenBranch = GraphSwitch_1_1_2.Link( OSwitchBranch , IIsEvenBranch )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitch_1_1_2.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- 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 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- #OSwitchdefault = Switch.GetOutPort( 'default' )
- #OPrintBranch = Print.GetOutPort( 'Branch' )
- #OPrint_1Branch = Print_1.GetOutPort( 'Branch' )
- return GraphSwitch_1_1_2
-
-
-GraphSwitch_1_1_2 = DefGraphSwitch_1_1_2()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchOutputNOTValid
-#
-from SuperV import *
-
-# Graph creation of GraphSwitchOutputNOTValid
-def DefGraphSwitchOutputNOTValid() :
- GraphSwitchOutputNOTValid = Graph( 'GraphSwitchOutputNOTValid' )
- GraphSwitchOutputNOTValid.SetName( 'GraphSwitchOutputNOTValid' )
- GraphSwitchOutputNOTValid.SetAuthor( 'JR' )
- GraphSwitchOutputNOTValid.SetComment( '' )
- GraphSwitchOutputNOTValid.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # 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 = GraphSwitchOutputNOTValid.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' )
-
- 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 = GraphSwitchOutputNOTValid.INode( 'IsEven' , PyIsEven )
- IsEven.SetName( 'IsEven' )
- IsEven.SetAuthor( '' )
- IsEven.SetComment( 'Compute Node' )
- IsEven.Coords( 432 , 337 )
- IIsEvena = IsEven.InPort( 'a' , 'long' )
- IIsEvenGate = IsEven.GetInPort( 'Gate' )
- OIsEvena = IsEven.OutPort( 'a' , 'long' )
- OIsEvenGate = IsEven.GetOutPort( 'Gate' )
-
- PyPrint = []
- PyPrint.append( 'def Print(a,Branch) : ' )
- PyPrint.append( ' print "Print ",Branch ' )
- PyPrint.append( ' return a,Branch ' )
- Print = GraphSwitchOutputNOTValid.INode( 'Print' , PyPrint )
- Print.SetName( 'Print' )
- Print.SetAuthor( '' )
- Print.SetComment( 'Compute Node' )
- Print.Coords( 639 , 50 )
- IPrinta = Print.InPort( 'a' , 'long' )
- IPrintBranch = Print.InPort( 'Branch' , 'string' )
- IPrintGate = Print.GetInPort( 'Gate' )
- OPrinta = Print.OutPort( 'a' , 'long' )
- OPrintBranch = Print.OutPort( 'Branch' , 'string' )
- OPrintGate = Print.GetOutPort( 'Gate' )
-
- PyPrint_1 = []
- PyPrint_1.append( 'def Print_1(a,Branch) : ' )
- PyPrint_1.append( ' print "Print ",Branch ' )
- PyPrint_1.append( ' return a,Branch ' )
- Print_1 = GraphSwitchOutputNOTValid.INode( 'Print_1' , PyPrint_1 )
- Print_1.SetName( 'Print_1' )
- Print_1.SetAuthor( '' )
- Print_1.SetComment( 'Compute Node' )
- Print_1.Coords( 645 , 250 )
- IPrint_1a = Print_1.InPort( 'a' , 'long' )
- IPrint_1Branch = Print_1.InPort( 'Branch' , 'string' )
- IPrint_1Gate = Print_1.GetInPort( 'Gate' )
- OPrint_1a = Print_1.OutPort( 'a' , 'long' )
- OPrint_1Branch = Print_1.OutPort( 'Branch' , 'string' )
- OPrint_1Gate = Print_1.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoopSwitch = []
- PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) : ' )
- PyInitLoopSwitch.append( ' Index = Max ' )
- PyInitLoopSwitch.append( ' return Index,Min,Max ' )
- PyMoreInitLoopSwitch = []
- PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
- PyMoreInitLoopSwitch.append( ' if Index >= Min : ' )
- 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 = GraphSwitchOutputNOTValid.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
- EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
- EndOfInitLoopSwitch.SetAuthor( '' )
- EndOfInitLoopSwitch.SetComment( 'Compute Node' )
- EndOfInitLoopSwitch.Coords( 1082 , 150 )
- 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( ' Branch = 'Negative or null' ' )
- PySwitch.append( ' if a <= 0 : ' )
- PySwitch.append( ' return 0,0,a,Branch,1 ' )
- PySwitch.append( ' if ( a & 1 ) == 0 : ' )
- PySwitch.append( ' Branch = 'Even' ' )
- PySwitch.append( ' else : ' )
- PySwitch.append( ' Branch = 'Odd' ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a,Branch,0 ' )
- Switch,EndOfSwitch = GraphSwitchOutputNOTValid.SNode( 'Switch' , PySwitch )
- EndOfSwitch.SetName( 'EndOfSwitch' )
- EndOfSwitch.SetAuthor( '' )
- EndOfSwitch.SetComment( 'Compute Node' )
- EndOfSwitch.Coords( 880 , 150 )
- PyEndOfSwitch = []
- EndOfSwitch.SetPyFunction( 'EndSwitch_1' , PyEndOfSwitch )
- IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
- IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
- OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
- OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 195 , 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' )
- OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
- OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
- OSwitchDefault = Switch.GetOutPort( 'Default' )
-
- # Creation of Links
- LIsOddaPrinta = GraphSwitchOutputNOTValid.Link( OIsOdda , IPrinta )
-
- LInitLoopSwitchIndexSwitcha = GraphSwitchOutputNOTValid.Link( OInitLoopSwitchIndex , ISwitcha )
-
- LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchOutputNOTValid.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
-
- LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchOutputNOTValid.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
-
- LIsEvenaPrint_1a = GraphSwitchOutputNOTValid.Link( OIsEvena , IPrint_1a )
-
- LSwitchOddIsOddGate = GraphSwitchOutputNOTValid.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenIsEvenGate = GraphSwitchOutputNOTValid.Link( OSwitchEven , IIsEvenGate )
-
- LSwitchaIsOdda = GraphSwitchOutputNOTValid.Link( OSwitcha , IIsOdda )
-
- LSwitchaIsEvena = GraphSwitchOutputNOTValid.Link( OSwitcha , IIsEvena )
-
- LSwitchBranchPrintBranch = GraphSwitchOutputNOTValid.Link( OSwitchBranch , IPrintBranch )
-
- LSwitchBranchPrint_1Branch = GraphSwitchOutputNOTValid.Link( OSwitchBranch , IPrint_1Branch )
-
- LSwitchDefaultEndOfSwitchDefault = GraphSwitchOutputNOTValid.Link( OSwitchDefault , IEndOfSwitchDefault )
-
- LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchOutputNOTValid.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
-
- LPrintaEndOfSwitcha = GraphSwitchOutputNOTValid.Link( OPrinta , IEndOfSwitcha )
-
- LPrint_1aEndOfSwitcha = GraphSwitchOutputNOTValid.Link( OPrint_1a , IEndOfSwitcha )
-
- # Input datas
- IInitLoopSwitchIndex.Input( 0 )
- IInitLoopSwitchMin.Input( -5 )
- IInitLoopSwitchMax.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
- #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
- #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
- #OSwitchdefault = Switch.GetOutPort( 'default' )
- #OPrintBranch = Print.GetOutPort( 'Branch' )
- #OPrint_1Branch = Print_1.GetOutPort( 'Branch' )
- return GraphSwitchOutputNOTValid
-
-
-GraphSwitchOutputNOTValid = DefGraphSwitchOutputNOTValid()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSwitchs
-#
-from SuperV import *
-
-# 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' )
- OInitLoopSwitchGate = InitLoopSwitch.GetOutPort( 'Gate' )
- 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' )
- OInitLoopGate = InitLoop.GetOutPort( 'Gate' )
- 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
-
-
-GraphSwitchs = DefGraphSwitchs()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSyrControl
-#
-from SuperV import *
-
-# Graph creation of GraphSyrControl
-def DefGraphSyrControl() :
- GraphSyrControl = Graph( 'GraphSyrControl' )
- GraphSyrControl.SetName( 'GraphSyrControl' )
- GraphSyrControl.SetAuthor( 'JR' )
- GraphSyrControl.SetComment( 'Syracuse algorithm' )
- GraphSyrControl.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- test_ISEVEN = GraphSyrControl.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( 190 , 338 )
- 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 = GraphSyrControl.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( 196 , 131 )
- 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 = GraphSyrControl.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
- m3p1.SetName( 'm3p1' )
- m3p1.SetAuthor( '' )
- m3p1.SetContainer( 'localhost/FactoryServer' )
- m3p1.SetComment( 'C_M3P1 from SyrComponent' )
- m3p1.Coords( 788 , 22 )
- Im3p1anOddInteger = m3p1.GetInPort( 'anOddInteger' )
- Im3p1Gate = m3p1.GetInPort( 'Gate' )
- Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
- Om3p1Gate = m3p1.GetOutPort( 'Gate' )
-
- div2 = GraphSyrControl.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 794 , 427 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incr = GraphSyrControl.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incr.SetName( 'incr' )
- incr.SetAuthor( '' )
- incr.SetContainer( 'localhost/FactoryServer' )
- incr.SetComment( 'C_INCR from SyrComponent' )
- incr.Coords( 790 , 158 )
- IincraCount = incr.GetInPort( 'aCount' )
- IincrGate = incr.GetInPort( 'Gate' )
- OincraNewCount = incr.GetOutPort( 'aNewCount' )
- OincrGate = incr.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- Pylabel_begin = []
- Pylabel_begin.append( 'def label_begin( NB , KB ):' )
- Pylabel_begin.append( ' print "label_begin",NB,KB' )
- Pylabel_begin.append( ' return NB,KB' )
- label_begin = GraphSyrControl.INode( 'label_begin' , Pylabel_begin )
- label_begin.SetName( 'label_begin' )
- label_begin.SetAuthor( '' )
- label_begin.SetComment( 'Python function' )
- label_begin.Coords( 7 , 216 )
- Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
- Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
- Ilabel_beginGate = label_begin.GetInPort( 'Gate' )
- Olabel_beginNT = label_begin.OutPort( 'NT' , 'long' )
- Olabel_beginKT = label_begin.OutPort( 'KT' , 'long' )
- Olabel_beginGate = label_begin.GetOutPort( 'Gate' )
-
- Pylabel_test = []
- 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 = GraphSyrControl.INode( 'label_test' , Pylabel_test )
- label_test.SetName( 'label_test' )
- label_test.SetAuthor( '' )
- label_test.SetComment( 'Python function' )
- label_test.Coords( 385 , 159 )
- Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
- Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
- Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
- Ilabel_testKT = label_test.InPort( 'KT' , 'long' )
- Ilabel_testGate = label_test.GetInPort( 'Gate' )
- Olabel_testValEven = label_test.OutPort( 'ValEven' , 'long' )
- Olabel_testValOne = label_test.OutPort( 'ValOne' , 'long' )
- Olabel_testNT = label_test.OutPort( 'NT' , 'long' )
- Olabel_testKT = label_test.OutPort( 'KT' , 'long' )
- Olabel_testGate = label_test.GetOutPort( 'Gate' )
-
- # Creation of Switch Nodes
- Pytest = []
- Pytest.append( 'def Switch_OneEven( ValOne , ValEven , NT , KT ) :' )
- Pytest.append( ' Finished = ValOne' )
- Pytest.append( ' if Finished == 0 :' )
- Pytest.append( ' Incr = 1' )
- Pytest.append( ' Even = ValEven' )
- Pytest.append( ' if Even == 0 :' )
- Pytest.append( ' Odd = 1' )
- Pytest.append( ' else :' )
- Pytest.append( ' Odd = 0' )
- Pytest.append( ' else :' )
- Pytest.append( ' Incr = 0' )
- Pytest.append( ' Even = 0' )
- Pytest.append( ' Odd = 0' )
- Pytest.append( ' Even = ValEven' )
- Pytest.append( ' return Finished,Incr,Even,Odd,NT,KT' )
- test,EndSwitch_OneEven = GraphSyrControl.SNode( 'Switch_OneEven' , Pytest )
- EndSwitch_OneEven.SetName( 'EndSwitch_OneEven' )
- EndSwitch_OneEven.SetAuthor( '' )
- EndSwitch_OneEven.SetComment( 'Compute Node' )
- EndSwitch_OneEven.Coords( 1065 , 321 )
- PyEndSwitch_OneEven = []
- PyEndSwitch_OneEven.append( 'def EndSwitch_OneEven( Finished , K ):' )
- PyEndSwitch_OneEven.append( ' print "label_begin",Finished,K' )
- PyEndSwitch_OneEven.append( ' return Finished,K' )
- EndSwitch_OneEven.SetPyFunction( 'EndSwitch_OneEven' , PyEndSwitch_OneEven )
- IEndSwitch_OneEvenFinished = EndSwitch_OneEven.InPort( 'Finished' , 'long' )
- IEndSwitch_OneEvenK = EndSwitch_OneEven.InPort( 'K' , 'long' )
- IEndSwitch_OneEvenDefault = EndSwitch_OneEven.GetInPort( 'Default' )
- OEndSwitch_OneEvenFinished = EndSwitch_OneEven.OutPort( 'Finished' , 'long' )
- OEndSwitch_OneEvenK = EndSwitch_OneEven.OutPort( 'K' , 'long' )
- OEndSwitch_OneEvenGate = EndSwitch_OneEven.GetOutPort( 'Gate' )
- test.SetName( 'test' )
- test.SetAuthor( '' )
- test.SetComment( 'Compute Node' )
- test.Coords( 592 , 205 )
- ItestValOne = test.InPort( 'ValOne' , 'long' )
- ItestValEven = test.InPort( 'ValEven' , 'long' )
- ItestNT = test.InPort( 'NT' , 'long' )
- ItestKT = test.InPort( 'KT' , 'long' )
- ItestGate = test.GetInPort( 'Gate' )
- OtestFinished = test.OutPort( 'Finished' , 'long' )
- OtestIncr = test.OutPort( 'Incr' , 'long' )
- OtestEven = test.OutPort( 'Even' , 'long' )
- OtestOdd = test.OutPort( 'Odd' , 'long' )
- OtestN = test.OutPort( 'N' , 'long' )
- OtestK = test.OutPort( 'K' , 'long' )
- OtestDefault = test.GetOutPort( 'Default' )
-
- # Creation of GOTO Nodes
- Pycontrol_m3p1 = []
- Pycontrol_m3p1.append( 'from time import * ' )
- Pycontrol_m3p1.append( 'def control_m3p1( N , K ): ' )
- Pycontrol_m3p1.append( ' sleep(1) ' )
- Pycontrol_m3p1.append( ' return 0,1,N,K ' )
- control_m3p1 = GraphSyrControl.GNode( 'control_m3p1' , Pycontrol_m3p1 , 'label_test' )
- control_m3p1.SetName( 'control_m3p1' )
- control_m3p1.SetAuthor( '' )
- control_m3p1.SetComment( 'Compute Node' )
- control_m3p1.Coords( 1012 , 68 )
- Icontrol_m3p1N = control_m3p1.InPort( 'N' , 'long' )
- Icontrol_m3p1K = control_m3p1.InPort( 'K' , 'long' )
- Icontrol_m3p1Gate = control_m3p1.GetInPort( 'Gate' )
- Ocontrol_m3p1ValOne = control_m3p1.OutPort( 'ValOne' , 'long' )
- Ocontrol_m3p1ValEven = control_m3p1.OutPort( 'ValEven' , 'long' )
- Ocontrol_m3p1NT = control_m3p1.OutPort( 'NT' , 'long' )
- Ocontrol_m3p1KT = control_m3p1.OutPort( 'KT' , 'long' )
- Ocontrol_m3p1Gate = control_m3p1.GetOutPort( 'Gate' )
-
- Pycontrol_div2 = []
- Pycontrol_div2.append( 'from time import * ' )
- Pycontrol_div2.append( 'def control_div2( N , NB ) : ' )
- Pycontrol_div2.append( ' sleep(1) ' )
- Pycontrol_div2.append( ' return N,NB ' )
- control_div2 = GraphSyrControl.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
- control_div2.SetName( 'control_div2' )
- control_div2.SetAuthor( '' )
- control_div2.SetComment( 'Compute Node' )
- control_div2.Coords( 1010 , 473 )
- Icontrol_div2N = control_div2.InPort( 'N' , 'long' )
- Icontrol_div2K = control_div2.InPort( 'K' , 'long' )
- Icontrol_div2Gate = control_div2.GetInPort( 'Gate' )
- Ocontrol_div2NB = control_div2.OutPort( 'NB' , 'long' )
- Ocontrol_div2KB = control_div2.OutPort( 'KB' , 'long' )
- Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
-
- # Creation of Links
- Ltest_ISEVENBoolEvenlabel_testValEven = GraphSyrControl.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 380 , 236 )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 379 , 419 )
-
- Ltest_ISONEBoolOnelabel_testValOne = GraphSyrControl.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 367 , 269 )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 367 , 213 )
-
- Lm3p1anEvenIntegercontrol_m3p1N = GraphSyrControl.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
-
- Ldiv2anIntegercontrol_div2N = GraphSyrControl.Link( Odiv2anInteger , Icontrol_div2N )
-
- LincraNewCountcontrol_m3p1K = GraphSyrControl.Link( OincraNewCount , Icontrol_m3p1K )
- LincraNewCountcontrol_m3p1K.AddCoord( 1 , 978 , 132 )
- LincraNewCountcontrol_m3p1K.AddCoord( 2 , 978 , 239 )
-
- LincraNewCountcontrol_div2K = GraphSyrControl.Link( OincraNewCount , Icontrol_div2K )
- LincraNewCountcontrol_div2K.AddCoord( 1 , 979 , 536 )
- LincraNewCountcontrol_div2K.AddCoord( 2 , 978 , 240 )
-
- Llabel_beginNTlabel_testNT = GraphSyrControl.Link( Olabel_beginNT , Ilabel_testNT )
-
- Llabel_beginNTtest_ISEVENanInteger = GraphSyrControl.Link( Olabel_beginNT , Itest_ISEVENanInteger )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 184 , 416 )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 185 , 298 )
-
- Llabel_beginNTtest_ISONEanInteger = GraphSyrControl.Link( Olabel_beginNT , Itest_ISONEanInteger )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 186 , 211 )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 185 , 297 )
-
- Llabel_beginKTlabel_testKT = GraphSyrControl.Link( Olabel_beginKT , Ilabel_testKT )
-
- Llabel_testValEventestValEven = GraphSyrControl.Link( Olabel_testValEven , ItestValEven )
-
- Llabel_testValOnetestValOne = GraphSyrControl.Link( Olabel_testValOne , ItestValOne )
-
- Llabel_testNTtestNT = GraphSyrControl.Link( Olabel_testNT , ItestNT )
-
- Llabel_testKTtestKT = GraphSyrControl.Link( Olabel_testKT , ItestKT )
-
- LtestFinishedEndSwitch_OneEvenFinished = GraphSyrControl.Link( OtestFinished , IEndSwitch_OneEvenFinished )
-
- LtestEvendiv2Gate = GraphSyrControl.Link( OtestEven , Idiv2Gate )
- LtestEvendiv2Gate.AddCoord( 1 , 764 , 536 )
- LtestEvendiv2Gate.AddCoord( 2 , 763 , 297 )
-
- LtestOddm3p1Gate = GraphSyrControl.Link( OtestOdd , Im3p1Gate )
- LtestOddm3p1Gate.AddCoord( 1 , 773 , 133 )
- LtestOddm3p1Gate.AddCoord( 2 , 773 , 326 )
-
- LtestNm3p1anOddInteger = GraphSyrControl.Link( OtestN , Im3p1anOddInteger )
- LtestNm3p1anOddInteger.AddCoord( 1 , 753 , 102 )
- LtestNm3p1anOddInteger.AddCoord( 2 , 752 , 355 )
-
- LtestNdiv2anEvenInteger = GraphSyrControl.Link( OtestN , Idiv2anEvenInteger )
- LtestNdiv2anEvenInteger.AddCoord( 1 , 753 , 508 )
- LtestNdiv2anEvenInteger.AddCoord( 2 , 752 , 356 )
-
- LtestKEndSwitch_OneEvenK = GraphSyrControl.Link( OtestK , IEndSwitch_OneEvenK )
-
- LtestKincraCount = GraphSyrControl.Link( OtestK , IincraCount )
- LtestKincraCount.AddCoord( 1 , 779 , 239 )
- LtestKincraCount.AddCoord( 2 , 780 , 385 )
-
- LtestDefaultEndSwitch_OneEvenDefault = GraphSyrControl.Link( OtestDefault , IEndSwitch_OneEvenDefault )
-
- Lcontrol_m3p1Gatelabel_testGate = GraphSyrControl.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 373 , 354 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 372 , 10 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1180 , 9 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1181 , 217 )
-
- Lcontrol_div2Gatelabel_beginGate = GraphSyrControl.Link( Ocontrol_div2Gate , Ilabel_beginGate )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 5 , 355 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 4 , 608 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 1177 , 608 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 1177 , 563 )
-
- # Input datas
- Ilabel_beginNB.Input( 7 )
- Ilabel_beginKB.Input( 0 )
-
- # Output Ports of the graph
- #OtestIncr = test.GetOutPort( 'Incr' )
- #OEndSwitch_OneEvenFinished = EndSwitch_OneEven.GetOutPort( 'Finished' )
- #OEndSwitch_OneEvenK = EndSwitch_OneEven.GetOutPort( 'K' )
- return GraphSyrControl
-
-
-GraphSyrControl = DefGraphSyrControl()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSyrControl1
-#
-from SuperV import *
-
-# Graph creation of GraphSyrControl1
-def DefGraphSyrControl1() :
- GraphSyrControl1 = Graph( 'GraphSyrControl1' )
- GraphSyrControl1.SetName( 'GraphSyrControl1' )
- GraphSyrControl1.SetAuthor( 'JR' )
- GraphSyrControl1.SetComment( 'Syracuse algorithm' )
- GraphSyrControl1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- test_ISEVEN = GraphSyrControl1.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( 190 , 338 )
- 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 = GraphSyrControl1.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( 196 , 131 )
- 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 = GraphSyrControl1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
- m3p1.SetName( 'm3p1' )
- m3p1.SetAuthor( '' )
- m3p1.SetContainer( 'localhost/FactoryServer' )
- m3p1.SetComment( 'C_M3P1 from SyrComponent' )
- m3p1.Coords( 615 , 30 )
- Im3p1anOddInteger = m3p1.GetInPort( 'anOddInteger' )
- Im3p1Gate = m3p1.GetInPort( 'Gate' )
- Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
- Om3p1Gate = m3p1.GetOutPort( 'Gate' )
-
- div2 = GraphSyrControl1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 624 , 391 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incr = GraphSyrControl1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incr.SetName( 'incr' )
- incr.SetAuthor( '' )
- incr.SetContainer( 'localhost/FactoryServer' )
- incr.SetComment( 'C_INCR from SyrComponent' )
- incr.Coords( 623 , 206 )
- IincraCount = incr.GetInPort( 'aCount' )
- IincrGate = incr.GetInPort( 'Gate' )
- OincraNewCount = incr.GetOutPort( 'aNewCount' )
- OincrGate = incr.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- Pylabel_begin = []
- Pylabel_begin.append( 'def label_begin( NB , KB ) :' )
- Pylabel_begin.append( ' return NB,KB' )
- label_begin = GraphSyrControl1.INode( 'label_begin' , Pylabel_begin )
- label_begin.SetName( 'label_begin' )
- label_begin.SetAuthor( '' )
- label_begin.SetComment( 'Python function' )
- label_begin.Coords( 5 , 190 )
- Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
- Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
- Ilabel_beginGate = label_begin.GetInPort( 'Gate' )
- Olabel_beginNT = label_begin.OutPort( 'NT' , 'long' )
- Olabel_beginKT = label_begin.OutPort( 'KT' , 'long' )
- Olabel_beginGate = label_begin.GetOutPort( 'Gate' )
-
- # Creation of Switch Nodes
- Pylabel_test = []
- Pylabel_test.append( 'def L_OneEven( ValOne , ValEven , NT , KT ):' )
- Pylabel_test.append( ' Finished = ValOne' )
- Pylabel_test.append( ' if Finished == 0 :' )
- Pylabel_test.append( ' Incr = 1' )
- Pylabel_test.append( ' Even = ValEven' )
- Pylabel_test.append( ' if Even == 0 :' )
- Pylabel_test.append( ' Odd = 1' )
- Pylabel_test.append( ' else :' )
- Pylabel_test.append( ' Odd = 0' )
- Pylabel_test.append( ' else :' )
- Pylabel_test.append( ' Incr = 0' )
- Pylabel_test.append( ' Even = 0' )
- Pylabel_test.append( ' Odd = 0' )
- Pylabel_test.append( ' Even = ValEven' )
- Pylabel_test.append( ' return Finished,Incr,Even,Odd,NT,KT' )
- label_test,EndL_OneEven = GraphSyrControl1.SNode( 'L_OneEven' , Pylabel_test )
- EndL_OneEven.SetName( 'EndL_OneEven' )
- EndL_OneEven.SetAuthor( '' )
- EndL_OneEven.SetComment( 'Compute Node' )
- EndL_OneEven.Coords( 1017 , 247 )
- PyEndL_OneEven = []
- EndL_OneEven.SetPyFunction( '' , PyEndL_OneEven )
- IEndL_OneEvenDefault = EndL_OneEven.GetInPort( 'Default' )
- OEndL_OneEvenGate = EndL_OneEven.GetOutPort( 'Gate' )
- label_test.SetName( 'label_test' )
- label_test.SetAuthor( '' )
- label_test.SetComment( 'Compute Node' )
- label_test.Coords( 399 , 177 )
- Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
- Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
- Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
- Ilabel_testKT = label_test.InPort( 'KT' , 'long' )
- Ilabel_testGate = label_test.GetInPort( 'Gate' )
- Olabel_testFinished = label_test.OutPort( 'Finished' , 'long' )
- Olabel_testIncr = label_test.OutPort( 'Incr' , 'long' )
- Olabel_testEven = label_test.OutPort( 'Even' , 'long' )
- Olabel_testOdd = label_test.OutPort( 'Odd' , 'long' )
- Olabel_testN = label_test.OutPort( 'N' , 'long' )
- Olabel_testK = label_test.OutPort( 'K' , 'long' )
- Olabel_testDefault = label_test.GetOutPort( 'Default' )
-
- # Creation of GOTO Nodes
- Pycontrol_m3p1 = []
- Pycontrol_m3p1.append( 'def C_NotOneIsEven( N , K ):' )
- Pycontrol_m3p1.append( ' return 0,1,N,K' )
- control_m3p1 = GraphSyrControl1.GNode( 'C_NotOneIsEven' , Pycontrol_m3p1 , 'label_test' )
- control_m3p1.SetName( 'control_m3p1' )
- control_m3p1.SetAuthor( '' )
- control_m3p1.SetComment( 'Compute Node' )
- control_m3p1.Coords( 821 , 28 )
- Icontrol_m3p1N = control_m3p1.InPort( 'N' , 'long' )
- Icontrol_m3p1K = control_m3p1.InPort( 'K' , 'long' )
- Icontrol_m3p1Gate = control_m3p1.GetInPort( 'Gate' )
- Ocontrol_m3p1ValOne = control_m3p1.OutPort( 'ValOne' , 'long' )
- Ocontrol_m3p1ValEven = control_m3p1.OutPort( 'ValEven' , 'long' )
- Ocontrol_m3p1NT = control_m3p1.OutPort( 'NT' , 'long' )
- Ocontrol_m3p1KT = control_m3p1.OutPort( 'KT' , 'long' )
- Ocontrol_m3p1Gate = control_m3p1.GetOutPort( 'Gate' )
-
- Pycontrol_div2 = []
- Pycontrol_div2.append( 'def control_div2( N , K ) :' )
- Pycontrol_div2.append( ' return N,K' )
- control_div2 = GraphSyrControl1.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
- control_div2.SetName( 'control_div2' )
- control_div2.SetAuthor( '' )
- control_div2.SetComment( 'Compute Node' )
- control_div2.Coords( 818 , 358 )
- Icontrol_div2N = control_div2.InPort( 'N' , 'long' )
- Icontrol_div2K = control_div2.InPort( 'K' , 'long' )
- Icontrol_div2Gate = control_div2.GetInPort( 'Gate' )
- Ocontrol_div2NB = control_div2.OutPort( 'NB' , 'long' )
- Ocontrol_div2KB = control_div2.OutPort( 'KB' , 'long' )
- Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
-
- # Creation of Links
- Ltest_ISEVENBoolEvenlabel_testValEven = GraphSyrControl1.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 383 , 239 )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 382 , 417 )
-
- Ltest_ISONEBoolOnelabel_testValOne = GraphSyrControl1.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
-
- Lm3p1anEvenIntegercontrol_m3p1N = GraphSyrControl1.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
- Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 1 , 793 , 62 )
- Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 2 , 792 , 111 )
-
- Ldiv2anIntegercontrol_div2N = GraphSyrControl1.Link( Odiv2anInteger , Icontrol_div2N )
- Ldiv2anIntegercontrol_div2N.AddCoord( 1 , 797 , 392 )
- Ldiv2anIntegercontrol_div2N.AddCoord( 2 , 798 , 471 )
-
- LincraNewCountcontrol_div2K = GraphSyrControl1.Link( OincraNewCount , Icontrol_div2K )
- LincraNewCountcontrol_div2K.AddCoord( 1 , 809 , 420 )
- LincraNewCountcontrol_div2K.AddCoord( 2 , 808 , 288 )
-
- LincraNewCountcontrol_m3p1K = GraphSyrControl1.Link( OincraNewCount , Icontrol_m3p1K )
- LincraNewCountcontrol_m3p1K.AddCoord( 1 , 807 , 91 )
- LincraNewCountcontrol_m3p1K.AddCoord( 2 , 808 , 286 )
-
- Llabel_beginNTtest_ISONEanInteger = GraphSyrControl1.Link( Olabel_beginNT , Itest_ISONEanInteger )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 180 , 211 )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 179 , 269 )
-
- Llabel_beginNTlabel_testNT = GraphSyrControl1.Link( Olabel_beginNT , Ilabel_testNT )
-
- Llabel_beginNTtest_ISEVENanInteger = GraphSyrControl1.Link( Olabel_beginNT , Itest_ISEVENanInteger )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 179 , 417 )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 179 , 271 )
-
- Llabel_beginKTlabel_testKT = GraphSyrControl1.Link( Olabel_beginKT , Ilabel_testKT )
-
- Llabel_testEvendiv2Gate = GraphSyrControl1.Link( Olabel_testEven , Idiv2Gate )
- Llabel_testEvendiv2Gate.AddCoord( 1 , 583 , 500 )
- Llabel_testEvendiv2Gate.AddCoord( 2 , 582 , 269 )
-
- Llabel_testOddm3p1Gate = GraphSyrControl1.Link( Olabel_testOdd , Im3p1Gate )
- Llabel_testOddm3p1Gate.AddCoord( 1 , 571 , 138 )
- Llabel_testOddm3p1Gate.AddCoord( 2 , 573 , 298 )
-
- Llabel_testNm3p1anOddInteger = GraphSyrControl1.Link( Olabel_testN , Im3p1anOddInteger )
- Llabel_testNm3p1anOddInteger.AddCoord( 1 , 604 , 110 )
- Llabel_testNm3p1anOddInteger.AddCoord( 2 , 605 , 328 )
-
- Llabel_testNdiv2anEvenInteger = GraphSyrControl1.Link( Olabel_testN , Idiv2anEvenInteger )
- Llabel_testNdiv2anEvenInteger.AddCoord( 1 , 606 , 471 )
- Llabel_testNdiv2anEvenInteger.AddCoord( 2 , 605 , 328 )
-
- Llabel_testKincraCount = GraphSyrControl1.Link( Olabel_testK , IincraCount )
- Llabel_testKincraCount.AddCoord( 1 , 594 , 287 )
- Llabel_testKincraCount.AddCoord( 2 , 595 , 356 )
-
- Llabel_testDefaultEndL_OneEvenDefault = GraphSyrControl1.Link( Olabel_testDefault , IEndL_OneEvenDefault )
- Llabel_testDefaultEndL_OneEvenDefault.AddCoord( 1 , 1008 , 281 )
- Llabel_testDefaultEndL_OneEvenDefault.AddCoord( 2 , 1008 , 560 )
- Llabel_testDefaultEndL_OneEvenDefault.AddCoord( 3 , 565 , 559 )
- Llabel_testDefaultEndL_OneEvenDefault.AddCoord( 4 , 564 , 385 )
-
- Lcontrol_m3p1Gatelabel_testGate = GraphSyrControl1.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 368 , 327 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 369 , 7 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1009 , 8 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1009 , 179 )
-
- Lcontrol_div2Gatelabel_beginGate = GraphSyrControl1.Link( Ocontrol_div2Gate , Ilabel_beginGate )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 3 , 327 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 2 , 582 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 991 , 583 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 991 , 451 )
-
- # Input datas
- Ilabel_beginNB.Input( 7 )
- Ilabel_beginKB.Input( 0 )
-
- # Output Ports of the graph
- #Olabel_testFinished = label_test.GetOutPort( 'Finished' )
- #Olabel_testIncr = label_test.GetOutPort( 'Incr' )
- return GraphSyrControl1
-
-
-GraphSyrControl1 = DefGraphSyrControl1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSyrControlAborted
-#
-from SuperV import *
-
-# Graph creation of GraphSyrControlAborted
-def DefGraphSyrControlAborted() :
- GraphSyrControlAborted = Graph( 'GraphSyrControlAborted' )
- GraphSyrControlAborted.SetName( 'GraphSyrControlAborted' )
- GraphSyrControlAborted.SetAuthor( 'JR' )
- GraphSyrControlAborted.SetComment( 'Syracuse algorithm' )
- GraphSyrControlAborted.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- test_ISEVEN = GraphSyrControlAborted.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( 190 , 338 )
- 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 = GraphSyrControlAborted.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( 196 , 131 )
- 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 = GraphSyrControlAborted.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
- m3p1.SetName( 'm3p1' )
- m3p1.SetAuthor( '' )
- m3p1.SetContainer( 'localhost/FactoryServer' )
- m3p1.SetComment( 'C_M3P1 from SyrComponent' )
- m3p1.Coords( 788 , 22 )
- Im3p1anOddInteger = m3p1.GetInPort( 'anOddInteger' )
- Im3p1Gate = m3p1.GetInPort( 'Gate' )
- Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
- Om3p1Gate = m3p1.GetOutPort( 'Gate' )
-
- div2 = GraphSyrControlAborted.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 794 , 427 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incr = GraphSyrControlAborted.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incr.SetName( 'incr' )
- incr.SetAuthor( '' )
- incr.SetContainer( 'localhost/FactoryServer' )
- incr.SetComment( 'C_INCR from SyrComponent' )
- incr.Coords( 790 , 158 )
- IincraCount = incr.GetInPort( 'aCount' )
- IincrGate = incr.GetInPort( 'Gate' )
- OincraNewCount = incr.GetOutPort( 'aNewCount' )
- OincrGate = incr.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- Pylabel_begin = []
- Pylabel_begin.append( 'def label_begin( NB , KB ):' )
- Pylabel_begin.append( ' print "label_begin",NB,KB' )
- Pylabel_begin.append( ' return NB,KB' )
- label_begin = GraphSyrControlAborted.INode( 'label_begin' , Pylabel_begin )
- label_begin.SetName( 'label_begin' )
- label_begin.SetAuthor( '' )
- label_begin.SetComment( 'Python function' )
- label_begin.Coords( 8 , 205 )
- Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
- Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
- Ilabel_beginGate = label_begin.GetInPort( 'Gate' )
- Olabel_beginNT = label_begin.OutPort( 'NT' , 'long' )
- Olabel_beginKT = label_begin.OutPort( 'KT' , 'long' )
- Olabel_beginGate = label_begin.GetOutPort( 'Gate' )
-
- Pylabel_test = []
- 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 = GraphSyrControlAborted.INode( 'label_test' , Pylabel_test )
- label_test.SetName( 'label_test' )
- label_test.SetAuthor( '' )
- label_test.SetComment( 'Python function' )
- label_test.Coords( 397 , 165 )
- Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
- Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
- Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
- Ilabel_testKT = label_test.InPort( 'KT' , 'long' )
- Ilabel_testGate = label_test.GetInPort( 'Gate' )
- Olabel_testValEven = label_test.OutPort( 'ValEven' , 'long' )
- Olabel_testValOne = label_test.OutPort( 'ValOne' , 'long' )
- Olabel_testNT = label_test.OutPort( 'NT' , 'long' )
- Olabel_testKT = label_test.OutPort( 'KT' , 'long' )
- Olabel_testGate = label_test.GetOutPort( 'Gate' )
-
- # Creation of Switch Nodes
- Pytest = []
- Pytest.append( 'def Switch_OneEven( ValOne , ValEven , NT , KT ) :' )
- Pytest.append( ' Finished = ValOne' )
- Pytest.append( ' if Finished == 0 :' )
- Pytest.append( ' Incr = 1' )
- Pytest.append( ' Even = ValEven' )
- Pytest.append( ' if Even == 0 :' )
- Pytest.append( ' Odd = 1' )
- Pytest.append( ' else :' )
- Pytest.append( ' Odd = 0' )
- Pytest.append( ' else :' )
- Pytest.append( ' Incr = 0' )
- Pytest.append( ' Even = 0' )
- Pytest.append( ' Odd = 0' )
- Pytest.append( ' Even = ValEven' )
- Pytest.append( ' return Finished,Incr,Even,Odd,NT,KT' )
- test,EndSwitch_OneEven = GraphSyrControlAborted.SNode( 'Switch_OneEven' , Pytest )
- EndSwitch_OneEven.SetName( 'EndSwitch_OneEven' )
- EndSwitch_OneEven.SetAuthor( '' )
- EndSwitch_OneEven.SetComment( 'Compute Node' )
- EndSwitch_OneEven.Coords( 1065 , 356 )
- PyEndSwitch_OneEven = []
- PyEndSwitch_OneEven.append( 'def EndSwitch_OneEven( Finished , K ):' )
- PyEndSwitch_OneEven.append( ' print "label_begin",Finished,K' )
- PyEndSwitch_OneEven.append( ' return Finished,K' )
- EndSwitch_OneEven.SetPyFunction( 'EndSwitch_OneEven' , PyEndSwitch_OneEven )
- IEndSwitch_OneEvenFinished = EndSwitch_OneEven.InPort( 'Finished' , 'long' )
- IEndSwitch_OneEvenK = EndSwitch_OneEven.InPort( 'K' , 'long' )
- IEndSwitch_OneEvenDefault = EndSwitch_OneEven.GetInPort( 'Default' )
- OEndSwitch_OneEvenFinished = EndSwitch_OneEven.OutPort( 'Finished' , 'long' )
- OEndSwitch_OneEvenK = EndSwitch_OneEven.OutPort( 'K' , 'long' )
- OEndSwitch_OneEvenGate = EndSwitch_OneEven.GetOutPort( 'Gate' )
- test.SetName( 'test' )
- test.SetAuthor( '' )
- test.SetComment( 'Compute Node' )
- test.Coords( 575 , 205 )
- ItestValOne = test.InPort( 'ValOne' , 'long' )
- ItestValEven = test.InPort( 'ValEven' , 'long' )
- ItestNT = test.InPort( 'NT' , 'long' )
- ItestKT = test.InPort( 'KT' , 'long' )
- ItestGate = test.GetInPort( 'Gate' )
- OtestFinished = test.OutPort( 'Finished' , 'long' )
- OtestIncr = test.OutPort( 'Incr' , 'long' )
- OtestEven = test.OutPort( 'Even' , 'long' )
- OtestOdd = test.OutPort( 'Odd' , 'long' )
- OtestN = test.OutPort( 'N' , 'long' )
- OtestK = test.OutPort( 'K' , 'long' )
- OtestDefault = test.GetOutPort( 'Default' )
-
- # Creation of GOTO Nodes
- Pycontrol_m3p1 = []
- Pycontrol_m3p1.append( 'def control_m3p1( N , K ):' )
- Pycontrol_m3p1.append( ' return 0,1,N,K' )
- control_m3p1 = GraphSyrControlAborted.GNode( 'control_m3p1' , Pycontrol_m3p1 , 'label_test' )
- control_m3p1.SetName( 'control_m3p1' )
- control_m3p1.SetAuthor( '' )
- control_m3p1.SetComment( 'Compute Node' )
- control_m3p1.Coords( 1013 , 63 )
- Icontrol_m3p1N = control_m3p1.InPort( 'N' , 'long' )
- Icontrol_m3p1K = control_m3p1.InPort( 'K' , 'long' )
- Icontrol_m3p1Gate = control_m3p1.GetInPort( 'Gate' )
- Ocontrol_m3p1ValOne = control_m3p1.OutPort( 'ValOne' , 'long' )
- Ocontrol_m3p1ValEven = control_m3p1.OutPort( 'ValEven' , 'long' )
- Ocontrol_m3p1NT = control_m3p1.OutPort( 'NT' , 'long' )
- Ocontrol_m3p1KT = control_m3p1.OutPort( 'KT' , 'long' )
- Ocontrol_m3p1Gate = control_m3p1.GetOutPort( 'Gate' )
-
- Pycontrol_div2 = []
- Pycontrol_div2.append( 'def control_div2( N , NB ) :' )
- Pycontrol_div2.append( ' return N,NB' )
- control_div2 = GraphSyrControlAborted.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
- control_div2.SetName( 'control_div2' )
- control_div2.SetAuthor( '' )
- control_div2.SetComment( 'Compute Node' )
- control_div2.Coords( 1010 , 473 )
- Icontrol_div2N = control_div2.InPort( 'N' , 'long' )
- Icontrol_div2K = control_div2.InPort( 'K' , 'long' )
- Icontrol_div2Gate = control_div2.GetInPort( 'Gate' )
- Ocontrol_div2NB = control_div2.OutPort( 'NB' , 'long' )
- Ocontrol_div2KB = control_div2.OutPort( 'KB' , 'long' )
- Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
-
- # Creation of Links
- Ltest_ISEVENBoolEvenlabel_testValEven = GraphSyrControlAborted.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 381 , 234 )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 381 , 410 )
-
- Ltest_ISONEBoolOnelabel_testValOne = GraphSyrControlAborted.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 367 , 256 )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 367 , 201 )
-
- Lm3p1anEvenIntegercontrol_m3p1N = GraphSyrControlAborted.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
-
- Ldiv2anIntegercontrol_div2N = GraphSyrControlAborted.Link( Odiv2anInteger , Icontrol_div2N )
-
- LincraNewCountcontrol_m3p1K = GraphSyrControlAborted.Link( OincraNewCount , Icontrol_m3p1K )
- LincraNewCountcontrol_m3p1K.AddCoord( 1 , 978 , 114 )
- LincraNewCountcontrol_m3p1K.AddCoord( 2 , 978 , 230 )
-
- LincraNewCountcontrol_div2K = GraphSyrControlAborted.Link( OincraNewCount , Icontrol_div2K )
- LincraNewCountcontrol_div2K.AddCoord( 1 , 981 , 524 )
- LincraNewCountcontrol_div2K.AddCoord( 2 , 978 , 229 )
-
- Llabel_beginNTlabel_testNT = GraphSyrControlAborted.Link( Olabel_beginNT , Ilabel_testNT )
-
- Llabel_beginNTtest_ISEVENanInteger = GraphSyrControlAborted.Link( Olabel_beginNT , Itest_ISEVENanInteger )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 179 , 408 )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 179 , 276 )
-
- Llabel_beginNTtest_ISONEanInteger = GraphSyrControlAborted.Link( Olabel_beginNT , Itest_ISONEanInteger )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 179 , 203 )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 180 , 275 )
-
- Llabel_beginKTlabel_testKT = GraphSyrControlAborted.Link( Olabel_beginKT , Ilabel_testKT )
-
- Llabel_testValEventestValEven = GraphSyrControlAborted.Link( Olabel_testValEven , ItestValEven )
-
- Llabel_testValOnetestValOne = GraphSyrControlAborted.Link( Olabel_testValOne , ItestValOne )
-
- Llabel_testNTtestNT = GraphSyrControlAborted.Link( Olabel_testNT , ItestNT )
-
- Llabel_testKTtestKT = GraphSyrControlAborted.Link( Olabel_testKT , ItestKT )
-
- LtestFinishedEndSwitch_OneEvenFinished = GraphSyrControlAborted.Link( OtestFinished , IEndSwitch_OneEvenFinished )
-
- LtestEvendiv2Gate = GraphSyrControlAborted.Link( OtestEven , Idiv2Gate )
- LtestEvendiv2Gate.AddCoord( 1 , 763 , 522 )
- LtestEvendiv2Gate.AddCoord( 2 , 763 , 278 )
-
- LtestOddm3p1Gate = GraphSyrControlAborted.Link( OtestOdd , Im3p1Gate )
- LtestOddm3p1Gate.AddCoord( 1 , 772 , 117 )
- LtestOddm3p1Gate.AddCoord( 2 , 772 , 297 )
-
- LtestNm3p1anOddInteger = GraphSyrControlAborted.Link( OtestN , Im3p1anOddInteger )
- LtestNm3p1anOddInteger.AddCoord( 1 , 751 , 93 )
- LtestNm3p1anOddInteger.AddCoord( 2 , 752 , 317 )
-
- LtestNdiv2anEvenInteger = GraphSyrControlAborted.Link( OtestN , Idiv2anEvenInteger )
- LtestNdiv2anEvenInteger.AddCoord( 1 , 751 , 498 )
- LtestNdiv2anEvenInteger.AddCoord( 2 , 752 , 318 )
-
- LtestKEndSwitch_OneEvenK = GraphSyrControlAborted.Link( OtestK , IEndSwitch_OneEvenK )
-
- LtestKincraCount = GraphSyrControlAborted.Link( OtestK , IincraCount )
- LtestKincraCount.AddCoord( 1 , 779 , 229 )
- LtestKincraCount.AddCoord( 2 , 779 , 336 )
-
- Lcontrol_m3p1Gatelabel_testGate = GraphSyrControlAborted.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 374 , 321 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 374 , 15 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1180 , 9 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1181 , 217 )
-
- Lcontrol_div2Gatelabel_beginGate = GraphSyrControlAborted.Link( Ocontrol_div2Gate , Ilabel_beginGate )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 4 , 608 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 1184 , 604 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 1184 , 548 )
-
- # Input datas
- Ilabel_beginNB.Input( 7 )
- Ilabel_beginKB.Input( 0 )
-
- # Output Ports of the graph
- #OtestIncr = test.GetOutPort( 'Incr' )
- #OEndSwitch_OneEvenFinished = EndSwitch_OneEven.GetOutPort( 'Finished' )
- #OEndSwitch_OneEvenK = EndSwitch_OneEven.GetOutPort( 'K' )
- return GraphSyrControlAborted
-
-
-GraphSyrControlAborted = DefGraphSyrControlAborted()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSyrControlAve
-#
-from SuperV import *
-
-# Graph creation of GraphSyrControlAve
-def DefGraphSyrControlAve() :
- GraphSyrControlAve = Graph( 'GraphSyrControlAve' )
- GraphSyrControlAve.SetName( 'GraphSyrControlAve' )
- GraphSyrControlAve.SetAuthor( 'JR' )
- GraphSyrControlAve.SetComment( 'Syracuse algorithm' )
- GraphSyrControlAve.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- test_ISEVEN = GraphSyrControlAve.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( 370 , 455 )
- 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 = GraphSyrControlAve.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( 370 , 127 )
- 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 = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
- m3p1.SetName( 'm3p1' )
- m3p1.SetAuthor( '' )
- m3p1.SetContainer( 'localhost/FactoryServer' )
- m3p1.SetComment( 'C_M3P1 from SyrComponent' )
- m3p1.Coords( 789 , 0 )
- Im3p1anOddInteger = m3p1.GetInPort( 'anOddInteger' )
- Im3p1Gate = m3p1.GetInPort( 'Gate' )
- Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
- Om3p1Gate = m3p1.GetOutPort( 'Gate' )
-
- div2 = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 789 , 255 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incr = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incr.SetName( 'incr' )
- incr.SetAuthor( '' )
- incr.SetContainer( 'localhost/FactoryServer' )
- incr.SetComment( 'C_INCR from SyrComponent' )
- incr.Coords( 790 , 136 )
- IincraCount = incr.GetInPort( 'aCount' )
- IincrGate = incr.GetInPort( 'Gate' )
- OincraNewCount = incr.GetOutPort( 'aNewCount' )
- OincrGate = incr.GetOutPort( 'Gate' )
-
- C_MIN = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MIN' )
- C_MIN.SetName( 'C_MIN' )
- C_MIN.SetAuthor( '' )
- C_MIN.SetContainer( 'localhost/FactoryServer' )
- C_MIN.SetComment( 'C_MIN from SyrComponent' )
- C_MIN.Coords( 798 , 833 )
- IC_MINaMinVal = C_MIN.GetInPort( 'aMinVal' )
- IC_MINanInteger = C_MIN.GetInPort( 'anInteger' )
- IC_MINGate = C_MIN.GetInPort( 'Gate' )
- OC_MINaNewMinVal = C_MIN.GetOutPort( 'aNewMinVal' )
- OC_MINGate = C_MIN.GetOutPort( 'Gate' )
-
- C_MAX = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MAX' )
- C_MAX.SetName( 'C_MAX' )
- C_MAX.SetAuthor( '' )
- C_MAX.SetContainer( 'localhost/FactoryServer' )
- C_MAX.SetComment( 'C_MAX from SyrComponent' )
- C_MAX.Coords( 798 , 668 )
- IC_MAXaMaxVal = C_MAX.GetInPort( 'aMaxVal' )
- IC_MAXanInteger = C_MAX.GetInPort( 'anInteger' )
- IC_MAXGate = C_MAX.GetInPort( 'Gate' )
- OC_MAXaNewMaxVal = C_MAX.GetOutPort( 'aNewMaxVal' )
- OC_MAXGate = C_MAX.GetOutPort( 'Gate' )
-
- C_AVERAGE = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_AVERAGE' )
- C_AVERAGE.SetName( 'C_AVERAGE' )
- C_AVERAGE.SetAuthor( '' )
- C_AVERAGE.SetContainer( 'localhost/FactoryServer' )
- C_AVERAGE.SetComment( 'C_AVERAGE from SyrComponent' )
- C_AVERAGE.Coords( 784 , 476 )
- IC_AVERAGEaListOfSyr = C_AVERAGE.GetInPort( 'aListOfSyr' )
- IC_AVERAGEanInteger = C_AVERAGE.GetInPort( 'anInteger' )
- IC_AVERAGEaCount = C_AVERAGE.GetInPort( 'aCount' )
- IC_AVERAGEGate = C_AVERAGE.GetInPort( 'Gate' )
- OC_AVERAGEaNewListOfSyr = C_AVERAGE.GetOutPort( 'aNewListOfSyr' )
- OC_AVERAGEanAverage = C_AVERAGE.GetOutPort( 'anAverage' )
- OC_AVERAGEGate = C_AVERAGE.GetOutPort( 'Gate' )
-
- C_LISTOFSYR = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_LISTOFSYR' )
- C_LISTOFSYR.SetName( 'C_LISTOFSYR' )
- C_LISTOFSYR.SetAuthor( '' )
- C_LISTOFSYR.SetContainer( 'localhost/FactoryServer' )
- C_LISTOFSYR.SetComment( 'C_LISTOFSYR from SyrComponent' )
- C_LISTOFSYR.Coords( 5 , 321 )
- IC_LISTOFSYRGate = C_LISTOFSYR.GetInPort( 'Gate' )
- OC_LISTOFSYRaListOfSyr = C_LISTOFSYR.GetOutPort( 'aListOfSyr' )
- OC_LISTOFSYRGate = C_LISTOFSYR.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- Pylabel_begin = []
- Pylabel_begin.append( 'def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :' )
- Pylabel_begin.append( ' return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB' )
- label_begin = GraphSyrControlAve.INode( 'label_begin' , Pylabel_begin )
- label_begin.SetName( 'label_begin' )
- label_begin.SetAuthor( '' )
- label_begin.SetComment( 'Python function' )
- label_begin.Coords( 183 , 220 )
- Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
- Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
- Ilabel_beginMINB = label_begin.InPort( 'MINB' , 'long' )
- Ilabel_beginMAXB = label_begin.InPort( 'MAXB' , 'long' )
- Ilabel_beginAVERAGEB = label_begin.InPort( 'AVERAGEB' , 'double' )
- Ilabel_beginSYRLISTB = label_begin.InPort( 'SYRLISTB' , 'ListOfSyr' )
- Ilabel_beginGate = label_begin.GetInPort( 'Gate' )
- Olabel_beginNT = label_begin.OutPort( 'NT' , 'long' )
- Olabel_beginKT = label_begin.OutPort( 'KT' , 'long' )
- Olabel_beginMIN = label_begin.OutPort( 'MIN' , 'long' )
- Olabel_beginMAX = label_begin.OutPort( 'MAX' , 'long' )
- Olabel_beginAVERAGE = label_begin.OutPort( 'AVERAGE' , 'double' )
- Olabel_beginSYRLIST = label_begin.OutPort( 'SYRLIST' , 'ListOfSyr' )
- Olabel_beginGate = label_begin.GetOutPort( 'Gate' )
-
- # Creation of Switch Nodes
- Pylabel_test = []
- Pylabel_test.append( 'def L_OneEven( ValOne , ValEven , NT , KT , MIN , MAX , AVERAGE , SYRLIST ):' )
- Pylabel_test.append( ' Finished = ValOne' )
- Pylabel_test.append( ' if Finished == 0 :' )
- Pylabel_test.append( ' Incr = 1' )
- Pylabel_test.append( ' Even = ValEven' )
- Pylabel_test.append( ' if Even == 0 :' )
- Pylabel_test.append( ' Odd = 1' )
- Pylabel_test.append( ' else :' )
- Pylabel_test.append( ' Odd = 0' )
- Pylabel_test.append( ' else :' )
- Pylabel_test.append( ' Incr = 0' )
- Pylabel_test.append( ' Even = 0' )
- Pylabel_test.append( ' Odd = 0' )
- Pylabel_test.append( ' Even = ValEven' )
- Pylabel_test.append( ' return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST' )
- label_test,EndL_OneEven = GraphSyrControlAve.SNode( 'L_OneEven' , Pylabel_test )
- EndL_OneEven.SetName( 'EndL_OneEven' )
- EndL_OneEven.SetAuthor( '' )
- EndL_OneEven.SetComment( 'Compute Node' )
- EndL_OneEven.Coords( 1064 , 339 )
- PyEndL_OneEven = []
- EndL_OneEven.SetPyFunction( '' , PyEndL_OneEven )
- IEndL_OneEvenMINT = EndL_OneEven.InPort( 'MINT' , 'long' )
- IEndL_OneEvenMAXT = EndL_OneEven.InPort( 'MAXT' , 'long' )
- IEndL_OneEvenAVERAGET = EndL_OneEven.InPort( 'AVERAGET' , 'double' )
- IEndL_OneEvenDefault = EndL_OneEven.GetInPort( 'Default' )
- OEndL_OneEvenMIN = EndL_OneEven.OutPort( 'MIN' , 'long' )
- OEndL_OneEvenMAX = EndL_OneEven.OutPort( 'MAX' , 'long' )
- OEndL_OneEvenAVERAGE = EndL_OneEven.OutPort( 'AVERAGE' , 'double' )
- OEndL_OneEvenGate = EndL_OneEven.GetOutPort( 'Gate' )
- label_test.SetName( 'label_test' )
- label_test.SetAuthor( '' )
- label_test.SetComment( 'Compute Node' )
- label_test.Coords( 564 , 219 )
- Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
- Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
- Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
- Ilabel_testKT = label_test.InPort( 'KT' , 'long' )
- Ilabel_testMIN = label_test.InPort( 'MIN' , 'long' )
- Ilabel_testMAX = label_test.InPort( 'MAX' , 'long' )
- Ilabel_testAVERAGE = label_test.InPort( 'AVERAGE' , 'double' )
- Ilabel_testSYRLIST = label_test.InPort( 'SYRLIST' , 'ListOfSyr' )
- Ilabel_testGate = label_test.GetInPort( 'Gate' )
- Olabel_testFinished = label_test.OutPort( 'Finished' , 'long' )
- Olabel_testIncr = label_test.OutPort( 'Incr' , 'long' )
- Olabel_testEven = label_test.OutPort( 'Even' , 'long' )
- Olabel_testOdd = label_test.OutPort( 'Odd' , 'long' )
- Olabel_testN = label_test.OutPort( 'N' , 'long' )
- Olabel_testK = label_test.OutPort( 'K' , 'long' )
- Olabel_testMINT = label_test.OutPort( 'MINT' , 'long' )
- Olabel_testMAXT = label_test.OutPort( 'MAXT' , 'long' )
- Olabel_testAVERAGET = label_test.OutPort( 'AVERAGET' , 'double' )
- Olabel_testSYRLISTT = label_test.OutPort( 'SYRLISTT' , 'ListOfSyr' )
- Olabel_testDefault = label_test.GetOutPort( 'Default' )
-
- # Creation of GOTO Nodes
- Pycontrol_m3p1 = []
- Pycontrol_m3p1.append( 'def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):' )
- Pycontrol_m3p1.append( ' return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
- control_m3p1 = GraphSyrControlAve.GNode( 'C_NotOneIsEven' , Pycontrol_m3p1 , 'label_test' )
- control_m3p1.SetName( 'control_m3p1' )
- control_m3p1.SetAuthor( '' )
- control_m3p1.SetComment( 'Compute Node' )
- control_m3p1.Coords( 1058 , 8 )
- Icontrol_m3p1N = control_m3p1.InPort( 'N' , 'long' )
- Icontrol_m3p1K = control_m3p1.InPort( 'K' , 'long' )
- Icontrol_m3p1MINT = control_m3p1.InPort( 'MINT' , 'long' )
- Icontrol_m3p1MAXT = control_m3p1.InPort( 'MAXT' , 'long' )
- Icontrol_m3p1AVERAGET = control_m3p1.InPort( 'AVERAGET' , 'double' )
- Icontrol_m3p1SYRLISTT = control_m3p1.InPort( 'SYRLISTT' , 'ListOfSyr' )
- Icontrol_m3p1Gate = control_m3p1.GetInPort( 'Gate' )
- Ocontrol_m3p1ValOne = control_m3p1.OutPort( 'ValOne' , 'long' )
- Ocontrol_m3p1ValEven = control_m3p1.OutPort( 'ValEven' , 'long' )
- Ocontrol_m3p1NT = control_m3p1.OutPort( 'NT' , 'long' )
- Ocontrol_m3p1KT = control_m3p1.OutPort( 'KT' , 'long' )
- Ocontrol_m3p1MIN = control_m3p1.OutPort( 'MIN' , 'long' )
- Ocontrol_m3p1MAX = control_m3p1.OutPort( 'MAX' , 'long' )
- Ocontrol_m3p1AVERAGE = control_m3p1.OutPort( 'AVERAGE' , 'double' )
- Ocontrol_m3p1SYRLIST = control_m3p1.OutPort( 'SYRLIST' , 'ListOfSyr' )
- Ocontrol_m3p1Gate = control_m3p1.GetOutPort( 'Gate' )
-
- Pycontrol_div2 = []
- Pycontrol_div2.append( 'def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :' )
- Pycontrol_div2.append( ' return N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
- control_div2 = GraphSyrControlAve.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
- control_div2.SetName( 'control_div2' )
- control_div2.SetAuthor( '' )
- control_div2.SetComment( 'Compute Node' )
- control_div2.Coords( 1048 , 555 )
- Icontrol_div2N = control_div2.InPort( 'N' , 'long' )
- Icontrol_div2K = control_div2.InPort( 'K' , 'long' )
- Icontrol_div2MINT = control_div2.InPort( 'MINT' , 'long' )
- Icontrol_div2MAXT = control_div2.InPort( 'MAXT' , 'long' )
- Icontrol_div2AVERAGET = control_div2.InPort( 'AVERAGET' , 'double' )
- Icontrol_div2SYRLISTT = control_div2.InPort( 'SYRLISTT' , 'ListOfSyr' )
- Icontrol_div2Gate = control_div2.GetInPort( 'Gate' )
- Ocontrol_div2NB = control_div2.OutPort( 'NB' , 'long' )
- Ocontrol_div2KB = control_div2.OutPort( 'KB' , 'long' )
- Ocontrol_div2MINB = control_div2.OutPort( 'MINB' , 'long' )
- Ocontrol_div2MAXB = control_div2.OutPort( 'MAXB' , 'long' )
- Ocontrol_div2AVERAGEB = control_div2.OutPort( 'AVERAGEB' , 'double' )
- Ocontrol_div2SYRLISTB = control_div2.OutPort( 'SYRLISTB' , 'ListOfSyr' )
- Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
-
- # Creation of Links
- Ltest_ISEVENBoolEvenlabel_testValEven = GraphSyrControlAve.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 544 , 256 )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 544 , 524 )
-
- Ltest_ISONEBoolOnelabel_testValOne = GraphSyrControlAve.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 546 , 237 )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 546 , 198 )
-
- Lm3p1anEvenIntegercontrol_m3p1N = GraphSyrControlAve.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
- Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 1 , 975 , 38 )
- Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 2 , 976 , 81 )
-
- Ldiv2anIntegercontrol_div2N = GraphSyrControlAve.Link( Odiv2anInteger , Icontrol_div2N )
- Ldiv2anIntegercontrol_div2N.AddCoord( 1 , 1012 , 585 )
- Ldiv2anIntegercontrol_div2N.AddCoord( 2 , 1011 , 346 )
-
- LincraNewCountcontrol_div2K = GraphSyrControlAve.Link( OincraNewCount , Icontrol_div2K )
- LincraNewCountcontrol_div2K.AddCoord( 1 , 966 , 606 )
- LincraNewCountcontrol_div2K.AddCoord( 2 , 968 , 207 )
-
- LincraNewCountcontrol_m3p1K = GraphSyrControlAve.Link( OincraNewCount , Icontrol_m3p1K )
- LincraNewCountcontrol_m3p1K.AddCoord( 1 , 965 , 59 )
- LincraNewCountcontrol_m3p1K.AddCoord( 2 , 966 , 208 )
-
- LincraNewCountC_AVERAGEaCount = GraphSyrControlAve.Link( OincraNewCount , IC_AVERAGEaCount )
- LincraNewCountC_AVERAGEaCount.AddCoord( 1 , 751 , 588 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 2 , 751 , 460 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 3 , 965 , 462 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 4 , 968 , 205 )
-
- LC_MINaNewMinValcontrol_m3p1MINT = GraphSyrControlAve.Link( OC_MINaNewMinVal , Icontrol_m3p1MINT )
- LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 1 , 991 , 78 )
- LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 2 , 991 , 905 )
-
- LC_MINaNewMinValcontrol_div2MINT = GraphSyrControlAve.Link( OC_MINaNewMinVal , Icontrol_div2MINT )
- LC_MINaNewMinValcontrol_div2MINT.AddCoord( 1 , 991 , 626 )
- LC_MINaNewMinValcontrol_div2MINT.AddCoord( 2 , 991 , 905 )
-
- LC_MAXaNewMaxValcontrol_m3p1MAXT = GraphSyrControlAve.Link( OC_MAXaNewMaxVal , Icontrol_m3p1MAXT )
- LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 1 , 976 , 98 )
- LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 2 , 974 , 738 )
-
- LC_MAXaNewMaxValcontrol_div2MAXT = GraphSyrControlAve.Link( OC_MAXaNewMaxVal , Icontrol_div2MAXT )
- LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 1 , 972 , 648 )
- LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 2 , 974 , 738 )
-
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT = GraphSyrControlAve.Link( OC_AVERAGEaNewListOfSyr , Icontrol_m3p1SYRLISTT )
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 1 , 1037 , 137 )
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 2 , 1038 , 556 )
-
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT = GraphSyrControlAve.Link( OC_AVERAGEaNewListOfSyr , Icontrol_div2SYRLISTT )
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 1 , 1038 , 686 )
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 2 , 1038 , 555 )
-
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET = GraphSyrControlAve.Link( OC_AVERAGEanAverage , Icontrol_m3p1AVERAGET )
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 1 , 1026 , 118 )
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 2 , 1027 , 567 )
-
- LC_AVERAGEanAveragecontrol_div2AVERAGET = GraphSyrControlAve.Link( OC_AVERAGEanAverage , Icontrol_div2AVERAGET )
- LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 1 , 1027 , 668 )
- LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 2 , 1026 , 568 )
-
- LC_LISTOFSYRaListOfSyrlabel_beginSYRLISTB = GraphSyrControlAve.Link( OC_LISTOFSYRaListOfSyr , Ilabel_beginSYRLISTB )
-
- Llabel_beginNTtest_ISONEanInteger = GraphSyrControlAve.Link( Olabel_beginNT , Itest_ISONEanInteger )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 361 , 197 )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 360 , 290 )
-
- Llabel_beginNTlabel_testNT = GraphSyrControlAve.Link( Olabel_beginNT , Ilabel_testNT )
-
- Llabel_beginNTtest_ISEVENanInteger = GraphSyrControlAve.Link( Olabel_beginNT , Itest_ISEVENanInteger )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 359 , 525 )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 361 , 291 )
-
- Llabel_beginKTlabel_testKT = GraphSyrControlAve.Link( Olabel_beginKT , Ilabel_testKT )
-
- Llabel_beginMINlabel_testMIN = GraphSyrControlAve.Link( Olabel_beginMIN , Ilabel_testMIN )
-
- Llabel_beginMAXlabel_testMAX = GraphSyrControlAve.Link( Olabel_beginMAX , Ilabel_testMAX )
-
- Llabel_beginAVERAGElabel_testAVERAGE = GraphSyrControlAve.Link( Olabel_beginAVERAGE , Ilabel_testAVERAGE )
-
- Llabel_beginSYRLISTlabel_testSYRLIST = GraphSyrControlAve.Link( Olabel_beginSYRLIST , Ilabel_testSYRLIST )
-
- Llabel_testEvendiv2Gate = GraphSyrControlAve.Link( Olabel_testEven , Idiv2Gate )
- Llabel_testEvendiv2Gate.AddCoord( 1 , 777 , 351 )
- Llabel_testEvendiv2Gate.AddCoord( 2 , 777 , 286 )
-
- Llabel_testOddm3p1Gate = GraphSyrControlAve.Link( Olabel_testOdd , Im3p1Gate )
- Llabel_testOddm3p1Gate.AddCoord( 1 , 757 , 95 )
- Llabel_testOddm3p1Gate.AddCoord( 2 , 757 , 310 )
-
- Llabel_testNm3p1anOddInteger = GraphSyrControlAve.Link( Olabel_testN , Im3p1anOddInteger )
- Llabel_testNm3p1anOddInteger.AddCoord( 1 , 741 , 72 )
- Llabel_testNm3p1anOddInteger.AddCoord( 2 , 741 , 331 )
-
- Llabel_testNdiv2anEvenInteger = GraphSyrControlAve.Link( Olabel_testN , Idiv2anEvenInteger )
-
- Llabel_testNC_MINanInteger = GraphSyrControlAve.Link( Olabel_testN , IC_MINanInteger )
- Llabel_testNC_MINanInteger.AddCoord( 1 , 744 , 923 )
- Llabel_testNC_MINanInteger.AddCoord( 2 , 742 , 331 )
-
- Llabel_testNC_MAXanInteger = GraphSyrControlAve.Link( Olabel_testN , IC_MAXanInteger )
- Llabel_testNC_MAXanInteger.AddCoord( 1 , 742 , 759 )
- Llabel_testNC_MAXanInteger.AddCoord( 2 , 743 , 332 )
-
- Llabel_testNC_AVERAGEanInteger = GraphSyrControlAve.Link( Olabel_testN , IC_AVERAGEanInteger )
- Llabel_testNC_AVERAGEanInteger.AddCoord( 1 , 741 , 568 )
- Llabel_testNC_AVERAGEanInteger.AddCoord( 2 , 742 , 330 )
-
- Llabel_testKincraCount = GraphSyrControlAve.Link( Olabel_testK , IincraCount )
- Llabel_testKincraCount.AddCoord( 1 , 766 , 207 )
- Llabel_testKincraCount.AddCoord( 2 , 766 , 343 )
-
- Llabel_testMINTC_MINaMinVal = GraphSyrControlAve.Link( Olabel_testMINT , IC_MINaMinVal )
- Llabel_testMINTC_MINaMinVal.AddCoord( 1 , 760 , 904 )
- Llabel_testMINTC_MINaMinVal.AddCoord( 2 , 756 , 372 )
-
- Llabel_testMAXTC_MAXaMaxVal = GraphSyrControlAve.Link( Olabel_testMAXT , IC_MAXaMaxVal )
- Llabel_testMAXTC_MAXaMaxVal.AddCoord( 1 , 765 , 742 )
- Llabel_testMAXTC_MAXaMaxVal.AddCoord( 2 , 766 , 384 )
-
- Llabel_testSYRLISTTC_AVERAGEaListOfSyr = GraphSyrControlAve.Link( Olabel_testSYRLISTT , IC_AVERAGEaListOfSyr )
- Llabel_testSYRLISTTC_AVERAGEaListOfSyr.AddCoord( 1 , 773 , 546 )
- Llabel_testSYRLISTTC_AVERAGEaListOfSyr.AddCoord( 2 , 772 , 424 )
-
- Llabel_testDefaultEndL_OneEvenDefault = GraphSyrControlAve.Link( Olabel_testDefault , IEndL_OneEvenDefault )
-
- Lcontrol_m3p1Gatelabel_testGate = GraphSyrControlAve.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 553 , 453 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 554 , 1025 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1242 , 1026 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1234 , 204 )
-
- Lcontrol_div2Gatelabel_beginGate = GraphSyrControlAve.Link( Ocontrol_div2Gate , Ilabel_beginGate )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 176 , 419 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 176 , 997 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 1217 , 996 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 1223 , 711 )
-
- # Input datas
- Ilabel_beginNB.Input( 31 )
- Ilabel_beginKB.Input( 0 )
- Ilabel_beginMINB.Input( 0 )
- Ilabel_beginMAXB.Input( 0 )
- Ilabel_beginAVERAGEB.Input( 0 )
-
- # Input Ports of the graph
- #IEndL_OneEvenMINT = EndL_OneEven.GetInPort( 'MINT' )
- #IEndL_OneEvenMAXT = EndL_OneEven.GetInPort( 'MAXT' )
- #IEndL_OneEvenAVERAGET = EndL_OneEven.GetInPort( 'AVERAGET' )
-
- # Output Ports of the graph
- #Olabel_testFinished = label_test.GetOutPort( 'Finished' )
- #Olabel_testIncr = label_test.GetOutPort( 'Incr' )
- #Olabel_testAVERAGET = label_test.GetOutPort( 'AVERAGET' )
- #OEndL_OneEvenMIN = EndL_OneEven.GetOutPort( 'MIN' )
- #OEndL_OneEvenMAX = EndL_OneEven.GetOutPort( 'MAX' )
- #OEndL_OneEvenAVERAGE = EndL_OneEven.GetOutPort( 'AVERAGE' )
- return GraphSyrControlAve
-
-
-GraphSyrControlAve = DefGraphSyrControlAve()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSyrControlAveAborted
-#
-from SuperV import *
-
-# Graph creation of GraphSyrControlAveAborted
-def DefGraphSyrControlAveAborted() :
- GraphSyrControlAveAborted = Graph( 'GraphSyrControlAveAborted' )
- GraphSyrControlAveAborted.SetName( 'GraphSyrControlAveAborted' )
- GraphSyrControlAveAborted.SetAuthor( 'JR' )
- GraphSyrControlAveAborted.SetComment( 'Syracuse algorithm' )
- GraphSyrControlAveAborted.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- test_ISEVEN = GraphSyrControlAveAborted.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( 370 , 455 )
- 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 = GraphSyrControlAveAborted.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( 370 , 127 )
- 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 = GraphSyrControlAveAborted.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
- m3p1.SetName( 'm3p1' )
- m3p1.SetAuthor( '' )
- m3p1.SetContainer( 'localhost/FactoryServer' )
- m3p1.SetComment( 'C_M3P1 from SyrComponent' )
- m3p1.Coords( 789 , 0 )
- Im3p1anOddInteger = m3p1.GetInPort( 'anOddInteger' )
- Im3p1Gate = m3p1.GetInPort( 'Gate' )
- Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
- Om3p1Gate = m3p1.GetOutPort( 'Gate' )
-
- div2 = GraphSyrControlAveAborted.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 789 , 255 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incr = GraphSyrControlAveAborted.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incr.SetName( 'incr' )
- incr.SetAuthor( '' )
- incr.SetContainer( 'localhost/FactoryServer' )
- incr.SetComment( 'C_INCR from SyrComponent' )
- incr.Coords( 790 , 136 )
- IincraCount = incr.GetInPort( 'aCount' )
- IincrGate = incr.GetInPort( 'Gate' )
- OincraNewCount = incr.GetOutPort( 'aNewCount' )
- OincrGate = incr.GetOutPort( 'Gate' )
-
- C_MIN = GraphSyrControlAveAborted.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MIN' )
- C_MIN.SetName( 'C_MIN' )
- C_MIN.SetAuthor( '' )
- C_MIN.SetContainer( 'localhost/FactoryServer' )
- C_MIN.SetComment( 'C_MIN from SyrComponent' )
- C_MIN.Coords( 798 , 833 )
- IC_MINaMinVal = C_MIN.GetInPort( 'aMinVal' )
- IC_MINanInteger = C_MIN.GetInPort( 'anInteger' )
- IC_MINGate = C_MIN.GetInPort( 'Gate' )
- OC_MINaNewMinVal = C_MIN.GetOutPort( 'aNewMinVal' )
- OC_MINGate = C_MIN.GetOutPort( 'Gate' )
-
- C_MAX = GraphSyrControlAveAborted.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MAX' )
- C_MAX.SetName( 'C_MAX' )
- C_MAX.SetAuthor( '' )
- C_MAX.SetContainer( 'localhost/FactoryServer' )
- C_MAX.SetComment( 'C_MAX from SyrComponent' )
- C_MAX.Coords( 798 , 668 )
- IC_MAXaMaxVal = C_MAX.GetInPort( 'aMaxVal' )
- IC_MAXanInteger = C_MAX.GetInPort( 'anInteger' )
- IC_MAXGate = C_MAX.GetInPort( 'Gate' )
- OC_MAXaNewMaxVal = C_MAX.GetOutPort( 'aNewMaxVal' )
- OC_MAXGate = C_MAX.GetOutPort( 'Gate' )
-
- C_AVERAGE = GraphSyrControlAveAborted.FNode( 'SyrComponent' , 'SyrComponent' , 'C_AVERAGE' )
- C_AVERAGE.SetName( 'C_AVERAGE' )
- C_AVERAGE.SetAuthor( '' )
- C_AVERAGE.SetContainer( 'localhost/FactoryServer' )
- C_AVERAGE.SetComment( 'C_AVERAGE from SyrComponent' )
- C_AVERAGE.Coords( 784 , 476 )
- IC_AVERAGEaListOfSyr = C_AVERAGE.GetInPort( 'aListOfSyr' )
- IC_AVERAGEanInteger = C_AVERAGE.GetInPort( 'anInteger' )
- IC_AVERAGEaCount = C_AVERAGE.GetInPort( 'aCount' )
- IC_AVERAGEGate = C_AVERAGE.GetInPort( 'Gate' )
- OC_AVERAGEaNewListOfSyr = C_AVERAGE.GetOutPort( 'aNewListOfSyr' )
- OC_AVERAGEanAverage = C_AVERAGE.GetOutPort( 'anAverage' )
- OC_AVERAGEGate = C_AVERAGE.GetOutPort( 'Gate' )
-
- C_LISTOFSYR = GraphSyrControlAveAborted.FNode( 'SyrComponent' , 'SyrComponent' , 'C_LISTOFSYR' )
- C_LISTOFSYR.SetName( 'C_LISTOFSYR' )
- C_LISTOFSYR.SetAuthor( '' )
- C_LISTOFSYR.SetContainer( 'localhost/FactoryServer' )
- C_LISTOFSYR.SetComment( 'C_LISTOFSYR from SyrComponent' )
- C_LISTOFSYR.Coords( 5 , 321 )
- IC_LISTOFSYRGate = C_LISTOFSYR.GetInPort( 'Gate' )
- OC_LISTOFSYRaListOfSyr = C_LISTOFSYR.GetOutPort( 'aListOfSyr' )
- OC_LISTOFSYRGate = C_LISTOFSYR.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- Pylabel_begin = []
- Pylabel_begin.append( 'def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :' )
- Pylabel_begin.append( ' return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB' )
- label_begin = GraphSyrControlAveAborted.INode( 'label_begin' , Pylabel_begin )
- label_begin.SetName( 'label_begin' )
- label_begin.SetAuthor( '' )
- label_begin.SetComment( 'Python function' )
- label_begin.Coords( 183 , 220 )
- Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
- Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
- Ilabel_beginMINB = label_begin.InPort( 'MINB' , 'long' )
- Ilabel_beginMAXB = label_begin.InPort( 'MAXB' , 'long' )
- Ilabel_beginAVERAGEB = label_begin.InPort( 'AVERAGEB' , 'double' )
- Ilabel_beginSYRLISTB = label_begin.InPort( 'SYRLISTB' , 'ListOfSyr' )
- Ilabel_beginGate = label_begin.GetInPort( 'Gate' )
- Olabel_beginNT = label_begin.OutPort( 'NT' , 'long' )
- Olabel_beginKT = label_begin.OutPort( 'KT' , 'long' )
- Olabel_beginMIN = label_begin.OutPort( 'MIN' , 'long' )
- Olabel_beginMAX = label_begin.OutPort( 'MAX' , 'long' )
- Olabel_beginAVERAGE = label_begin.OutPort( 'AVERAGE' , 'double' )
- Olabel_beginSYRLIST = label_begin.OutPort( 'SYRLIST' , 'ListOfSyr' )
- Olabel_beginGate = label_begin.GetOutPort( 'Gate' )
-
- # Creation of Switch Nodes
- Pylabel_test = []
- Pylabel_test.append( 'def L_OneEven( ValOne , ValEven , NT , KT , MIN , MAX , AVERAGE , SYRLIST ):' )
- Pylabel_test.append( ' Finished = ValOne' )
- Pylabel_test.append( ' if Finished == 0 :' )
- Pylabel_test.append( ' Incr = 1' )
- Pylabel_test.append( ' Even = ValEven' )
- Pylabel_test.append( ' if Even == 0 :' )
- Pylabel_test.append( ' Odd = 1' )
- Pylabel_test.append( ' else :' )
- Pylabel_test.append( ' Odd = 0' )
- Pylabel_test.append( ' else :' )
- Pylabel_test.append( ' Incr = 0' )
- Pylabel_test.append( ' Even = 0' )
- Pylabel_test.append( ' Odd = 0' )
- Pylabel_test.append( ' Even = ValEven' )
- Pylabel_test.append( ' return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST' )
- label_test,EndL_OneEven = GraphSyrControlAveAborted.SNode( 'L_OneEven' , Pylabel_test )
- EndL_OneEven.SetName( 'EndL_OneEven' )
- EndL_OneEven.SetAuthor( '' )
- EndL_OneEven.SetComment( 'Compute Node' )
- EndL_OneEven.Coords( 1064 , 339 )
- PyEndL_OneEven = []
- EndL_OneEven.SetPyFunction( '' , PyEndL_OneEven )
- IEndL_OneEvenMINT = EndL_OneEven.InPort( 'MINT' , 'long' )
- IEndL_OneEvenMAXT = EndL_OneEven.InPort( 'MAXT' , 'long' )
- IEndL_OneEvenAVERAGET = EndL_OneEven.InPort( 'AVERAGET' , 'double' )
- IEndL_OneEvenDefault = EndL_OneEven.GetInPort( 'Default' )
- OEndL_OneEvenMIN = EndL_OneEven.OutPort( 'MIN' , 'long' )
- OEndL_OneEvenMAX = EndL_OneEven.OutPort( 'MAX' , 'long' )
- OEndL_OneEvenAVERAGE = EndL_OneEven.OutPort( 'AVERAGE' , 'double' )
- OEndL_OneEvenGate = EndL_OneEven.GetOutPort( 'Gate' )
- label_test.SetName( 'label_test' )
- label_test.SetAuthor( '' )
- label_test.SetComment( 'Compute Node' )
- label_test.Coords( 564 , 219 )
- Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
- Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
- Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
- Ilabel_testKT = label_test.InPort( 'KT' , 'long' )
- Ilabel_testMIN = label_test.InPort( 'MIN' , 'long' )
- Ilabel_testMAX = label_test.InPort( 'MAX' , 'long' )
- Ilabel_testAVERAGE = label_test.InPort( 'AVERAGE' , 'double' )
- Ilabel_testSYRLIST = label_test.InPort( 'SYRLIST' , 'ListOfSyr' )
- Ilabel_testGate = label_test.GetInPort( 'Gate' )
- Olabel_testFinished = label_test.OutPort( 'Finished' , 'long' )
- Olabel_testIncr = label_test.OutPort( 'Incr' , 'long' )
- Olabel_testEven = label_test.OutPort( 'Even' , 'long' )
- Olabel_testOdd = label_test.OutPort( 'Odd' , 'long' )
- Olabel_testN = label_test.OutPort( 'N' , 'long' )
- Olabel_testK = label_test.OutPort( 'K' , 'long' )
- Olabel_testMIN = label_test.OutPort( 'MIN' , 'long' )
- Olabel_testMAX = label_test.OutPort( 'MAX' , 'long' )
- Olabel_testAVERAGE = label_test.OutPort( 'AVERAGE' , 'double' )
- Olabel_testSYRLIST = label_test.OutPort( 'SYRLIST' , 'ListOfSyr' )
- Olabel_testDefault = label_test.GetOutPort( 'Default' )
-
- # Creation of GOTO Nodes
- Pycontrol_m3p1 = []
- Pycontrol_m3p1.append( 'def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):' )
- Pycontrol_m3p1.append( ' return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
- control_m3p1 = GraphSyrControlAveAborted.GNode( 'C_NotOneIsEven' , Pycontrol_m3p1 , 'label_test' )
- control_m3p1.SetName( 'control_m3p1' )
- control_m3p1.SetAuthor( '' )
- control_m3p1.SetComment( 'Compute Node' )
- control_m3p1.Coords( 1058 , 8 )
- Icontrol_m3p1N = control_m3p1.InPort( 'N' , 'long' )
- Icontrol_m3p1K = control_m3p1.InPort( 'K' , 'long' )
- Icontrol_m3p1MINT = control_m3p1.InPort( 'MINT' , 'long' )
- Icontrol_m3p1MAXT = control_m3p1.InPort( 'MAXT' , 'long' )
- Icontrol_m3p1AVERAGET = control_m3p1.InPort( 'AVERAGET' , 'double' )
- Icontrol_m3p1SYRLISTT = control_m3p1.InPort( 'SYRLISTT' , 'ListOfSyr' )
- Icontrol_m3p1Gate = control_m3p1.GetInPort( 'Gate' )
- Ocontrol_m3p1ValOne = control_m3p1.OutPort( 'ValOne' , 'long' )
- Ocontrol_m3p1ValEven = control_m3p1.OutPort( 'ValEven' , 'long' )
- Ocontrol_m3p1NT = control_m3p1.OutPort( 'NT' , 'long' )
- Ocontrol_m3p1KT = control_m3p1.OutPort( 'KT' , 'long' )
- Ocontrol_m3p1MIN = control_m3p1.OutPort( 'MIN' , 'long' )
- Ocontrol_m3p1MAX = control_m3p1.OutPort( 'MAX' , 'long' )
- Ocontrol_m3p1AVERAGE = control_m3p1.OutPort( 'AVERAGE' , 'double' )
- Ocontrol_m3p1SYRLIST = control_m3p1.OutPort( 'SYRLIST' , 'ListOfSyr' )
- Ocontrol_m3p1Gate = control_m3p1.GetOutPort( 'Gate' )
-
- Pycontrol_div2 = []
- Pycontrol_div2.append( 'def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :' )
- Pycontrol_div2.append( ' return N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
- control_div2 = GraphSyrControlAveAborted.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
- control_div2.SetName( 'control_div2' )
- control_div2.SetAuthor( '' )
- control_div2.SetComment( 'Compute Node' )
- control_div2.Coords( 1048 , 555 )
- Icontrol_div2N = control_div2.InPort( 'N' , 'long' )
- Icontrol_div2K = control_div2.InPort( 'K' , 'long' )
- Icontrol_div2MINT = control_div2.InPort( 'MINT' , 'long' )
- Icontrol_div2MAXT = control_div2.InPort( 'MAXT' , 'long' )
- Icontrol_div2AVERAGET = control_div2.InPort( 'AVERAGET' , 'double' )
- Icontrol_div2SYRLISTT = control_div2.InPort( 'SYRLISTT' , 'ListOfSyr' )
- Icontrol_div2Gate = control_div2.GetInPort( 'Gate' )
- Ocontrol_div2NB = control_div2.OutPort( 'NB' , 'long' )
- Ocontrol_div2KB = control_div2.OutPort( 'KB' , 'long' )
- Ocontrol_div2MINB = control_div2.OutPort( 'MINB' , 'long' )
- Ocontrol_div2MAXB = control_div2.OutPort( 'MAXB' , 'long' )
- Ocontrol_div2AVERAGEB = control_div2.OutPort( 'AVERAGEB' , 'double' )
- Ocontrol_div2SYRLISTB = control_div2.OutPort( 'SYRLISTB' , 'ListOfSyr' )
- Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
-
- # Creation of Links
- Ltest_ISEVENBoolEvenlabel_testValEven = GraphSyrControlAveAborted.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 544 , 256 )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 544 , 524 )
-
- Ltest_ISONEBoolOnelabel_testValOne = GraphSyrControlAveAborted.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 546 , 237 )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 546 , 198 )
-
- Lm3p1anEvenIntegercontrol_m3p1N = GraphSyrControlAveAborted.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
- Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 1 , 975 , 38 )
- Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 2 , 976 , 81 )
-
- Ldiv2anIntegercontrol_div2N = GraphSyrControlAveAborted.Link( Odiv2anInteger , Icontrol_div2N )
- Ldiv2anIntegercontrol_div2N.AddCoord( 1 , 1012 , 585 )
- Ldiv2anIntegercontrol_div2N.AddCoord( 2 , 1011 , 346 )
-
- LincraNewCountcontrol_div2K = GraphSyrControlAveAborted.Link( OincraNewCount , Icontrol_div2K )
- LincraNewCountcontrol_div2K.AddCoord( 1 , 966 , 606 )
- LincraNewCountcontrol_div2K.AddCoord( 2 , 968 , 207 )
-
- LincraNewCountcontrol_m3p1K = GraphSyrControlAveAborted.Link( OincraNewCount , Icontrol_m3p1K )
- LincraNewCountcontrol_m3p1K.AddCoord( 1 , 965 , 59 )
- LincraNewCountcontrol_m3p1K.AddCoord( 2 , 966 , 208 )
-
- LincraNewCountC_AVERAGEaCount = GraphSyrControlAveAborted.Link( OincraNewCount , IC_AVERAGEaCount )
- LincraNewCountC_AVERAGEaCount.AddCoord( 1 , 751 , 588 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 2 , 751 , 460 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 3 , 965 , 462 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 4 , 968 , 205 )
-
- LC_MINaNewMinValcontrol_m3p1MINT = GraphSyrControlAveAborted.Link( OC_MINaNewMinVal , Icontrol_m3p1MINT )
- LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 1 , 991 , 78 )
- LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 2 , 991 , 905 )
-
- LC_MINaNewMinValcontrol_div2MINT = GraphSyrControlAveAborted.Link( OC_MINaNewMinVal , Icontrol_div2MINT )
- LC_MINaNewMinValcontrol_div2MINT.AddCoord( 1 , 991 , 626 )
- LC_MINaNewMinValcontrol_div2MINT.AddCoord( 2 , 991 , 905 )
-
- LC_MAXaNewMaxValcontrol_m3p1MAXT = GraphSyrControlAveAborted.Link( OC_MAXaNewMaxVal , Icontrol_m3p1MAXT )
- LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 1 , 976 , 98 )
- LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 2 , 974 , 738 )
-
- LC_MAXaNewMaxValcontrol_div2MAXT = GraphSyrControlAveAborted.Link( OC_MAXaNewMaxVal , Icontrol_div2MAXT )
- LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 1 , 972 , 648 )
- LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 2 , 974 , 738 )
-
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT = GraphSyrControlAveAborted.Link( OC_AVERAGEaNewListOfSyr , Icontrol_m3p1SYRLISTT )
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 1 , 1037 , 137 )
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 2 , 1038 , 556 )
-
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT = GraphSyrControlAveAborted.Link( OC_AVERAGEaNewListOfSyr , Icontrol_div2SYRLISTT )
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 1 , 1038 , 686 )
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 2 , 1038 , 555 )
-
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET = GraphSyrControlAveAborted.Link( OC_AVERAGEanAverage , Icontrol_m3p1AVERAGET )
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 1 , 1026 , 118 )
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 2 , 1027 , 567 )
-
- LC_AVERAGEanAveragecontrol_div2AVERAGET = GraphSyrControlAveAborted.Link( OC_AVERAGEanAverage , Icontrol_div2AVERAGET )
- LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 1 , 1027 , 668 )
- LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 2 , 1026 , 568 )
-
- LC_LISTOFSYRaListOfSyrlabel_beginSYRLISTB = GraphSyrControlAveAborted.Link( OC_LISTOFSYRaListOfSyr , Ilabel_beginSYRLISTB )
-
- Llabel_beginNTtest_ISONEanInteger = GraphSyrControlAveAborted.Link( Olabel_beginNT , Itest_ISONEanInteger )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 361 , 197 )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 360 , 290 )
-
- Llabel_beginNTlabel_testNT = GraphSyrControlAveAborted.Link( Olabel_beginNT , Ilabel_testNT )
-
- Llabel_beginNTtest_ISEVENanInteger = GraphSyrControlAveAborted.Link( Olabel_beginNT , Itest_ISEVENanInteger )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 359 , 525 )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 361 , 291 )
-
- Llabel_beginKTlabel_testKT = GraphSyrControlAveAborted.Link( Olabel_beginKT , Ilabel_testKT )
-
- Llabel_beginMINlabel_testMIN = GraphSyrControlAveAborted.Link( Olabel_beginMIN , Ilabel_testMIN )
-
- Llabel_beginMAXlabel_testMAX = GraphSyrControlAveAborted.Link( Olabel_beginMAX , Ilabel_testMAX )
-
- Llabel_beginAVERAGElabel_testAVERAGE = GraphSyrControlAveAborted.Link( Olabel_beginAVERAGE , Ilabel_testAVERAGE )
-
- Llabel_beginSYRLISTlabel_testSYRLIST = GraphSyrControlAveAborted.Link( Olabel_beginSYRLIST , Ilabel_testSYRLIST )
-
- Llabel_testEvendiv2Gate = GraphSyrControlAveAborted.Link( Olabel_testEven , Idiv2Gate )
- Llabel_testEvendiv2Gate.AddCoord( 1 , 777 , 351 )
- Llabel_testEvendiv2Gate.AddCoord( 2 , 777 , 286 )
-
- Llabel_testOddm3p1Gate = GraphSyrControlAveAborted.Link( Olabel_testOdd , Im3p1Gate )
- Llabel_testOddm3p1Gate.AddCoord( 1 , 757 , 95 )
- Llabel_testOddm3p1Gate.AddCoord( 2 , 757 , 310 )
-
- Llabel_testNm3p1anOddInteger = GraphSyrControlAveAborted.Link( Olabel_testN , Im3p1anOddInteger )
- Llabel_testNm3p1anOddInteger.AddCoord( 1 , 741 , 72 )
- Llabel_testNm3p1anOddInteger.AddCoord( 2 , 741 , 331 )
-
- Llabel_testNdiv2anEvenInteger = GraphSyrControlAveAborted.Link( Olabel_testN , Idiv2anEvenInteger )
-
- Llabel_testNC_MINanInteger = GraphSyrControlAveAborted.Link( Olabel_testN , IC_MINanInteger )
- Llabel_testNC_MINanInteger.AddCoord( 1 , 744 , 923 )
- Llabel_testNC_MINanInteger.AddCoord( 2 , 742 , 331 )
-
- Llabel_testNC_MAXanInteger = GraphSyrControlAveAborted.Link( Olabel_testN , IC_MAXanInteger )
- Llabel_testNC_MAXanInteger.AddCoord( 1 , 742 , 759 )
- Llabel_testNC_MAXanInteger.AddCoord( 2 , 743 , 332 )
-
- Llabel_testNC_AVERAGEanInteger = GraphSyrControlAveAborted.Link( Olabel_testN , IC_AVERAGEanInteger )
- Llabel_testNC_AVERAGEanInteger.AddCoord( 1 , 741 , 568 )
- Llabel_testNC_AVERAGEanInteger.AddCoord( 2 , 742 , 330 )
-
- Llabel_testKincraCount = GraphSyrControlAveAborted.Link( Olabel_testK , IincraCount )
- Llabel_testKincraCount.AddCoord( 1 , 766 , 207 )
- Llabel_testKincraCount.AddCoord( 2 , 766 , 343 )
-
- Llabel_testMINC_MINaMinVal = GraphSyrControlAveAborted.Link( Olabel_testMIN , IC_MINaMinVal )
- Llabel_testMINC_MINaMinVal.AddCoord( 1 , 771 , 902 )
- Llabel_testMINC_MINaMinVal.AddCoord( 2 , 777 , 371 )
- Llabel_testMINC_MINaMinVal.AddCoord( 3 , 777 , 370 )
-
- Llabel_testMINEndL_OneEvenMINT = GraphSyrControlAveAborted.Link( Olabel_testMIN , IEndL_OneEvenMINT )
-
- Llabel_testMAXC_MAXaMaxVal = GraphSyrControlAveAborted.Link( Olabel_testMAX , IC_MAXaMaxVal )
- Llabel_testMAXC_MAXaMaxVal.AddCoord( 1 , 764 , 739 )
- Llabel_testMAXC_MAXaMaxVal.AddCoord( 2 , 762 , 390 )
-
- Llabel_testMAXEndL_OneEvenMAXT = GraphSyrControlAveAborted.Link( Olabel_testMAX , IEndL_OneEvenMAXT )
-
- Llabel_testAVERAGEEndL_OneEvenAVERAGET = GraphSyrControlAveAborted.Link( Olabel_testAVERAGE , IEndL_OneEvenAVERAGET )
-
- Llabel_testSYRLISTC_AVERAGEaListOfSyr = GraphSyrControlAveAborted.Link( Olabel_testSYRLIST , IC_AVERAGEaListOfSyr )
- Llabel_testSYRLISTC_AVERAGEaListOfSyr.AddCoord( 1 , 769 , 546 )
- Llabel_testSYRLISTC_AVERAGEaListOfSyr.AddCoord( 2 , 769 , 431 )
- Llabel_testSYRLISTC_AVERAGEaListOfSyr.AddCoord( 3 , 768 , 431 )
- Llabel_testSYRLISTC_AVERAGEaListOfSyr.AddCoord( 4 , 768 , 430 )
-
- Lcontrol_m3p1Gatelabel_testGate = GraphSyrControlAveAborted.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 553 , 453 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 554 , 1025 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1242 , 1026 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1234 , 204 )
-
- Lcontrol_div2Gatelabel_beginGate = GraphSyrControlAveAborted.Link( Ocontrol_div2Gate , Ilabel_beginGate )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 176 , 419 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 176 , 997 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 1217 , 996 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 1223 , 711 )
-
- # Input datas
- Ilabel_beginNB.Input( 31 )
- Ilabel_beginKB.Input( 0 )
- Ilabel_beginMINB.Input( 0 )
- Ilabel_beginMAXB.Input( 0 )
- Ilabel_beginAVERAGEB.Input( 0 )
-
- # Output Ports of the graph
- #Olabel_testFinished = label_test.GetOutPort( 'Finished' )
- #Olabel_testIncr = label_test.GetOutPort( 'Incr' )
- #OEndL_OneEvenMIN = EndL_OneEven.GetOutPort( 'MIN' )
- #OEndL_OneEvenMAX = EndL_OneEven.GetOutPort( 'MAX' )
- #OEndL_OneEvenAVERAGE = EndL_OneEven.GetOutPort( 'AVERAGE' )
- return GraphSyrControlAveAborted
-
-
-GraphSyrControlAveAborted = DefGraphSyrControlAveAborted()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSyrControlAveExecutable
-#
-from SuperV import *
-
-# Graph creation of GraphSyrControlAveExecutable
-def DefGraphSyrControlAveExecutable() :
- GraphSyrControlAveExecutable = Graph( 'GraphSyrControlAveExecutable' )
- GraphSyrControlAveExecutable.SetName( 'GraphSyrControlAveExecutable' )
- GraphSyrControlAveExecutable.SetAuthor( 'JR' )
- GraphSyrControlAveExecutable.SetComment( 'Syracuse algorithm' )
- GraphSyrControlAveExecutable.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- test_ISEVEN = GraphSyrControlAveExecutable.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( 370 , 455 )
- 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 = GraphSyrControlAveExecutable.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( 370 , 127 )
- 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 = GraphSyrControlAveExecutable.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
- m3p1.SetName( 'm3p1' )
- m3p1.SetAuthor( '' )
- m3p1.SetContainer( 'localhost/FactoryServer' )
- m3p1.SetComment( 'C_M3P1 from SyrComponent' )
- m3p1.Coords( 789 , 0 )
- Im3p1anOddInteger = m3p1.GetInPort( 'anOddInteger' )
- Im3p1Gate = m3p1.GetInPort( 'Gate' )
- Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
- Om3p1Gate = m3p1.GetOutPort( 'Gate' )
-
- div2 = GraphSyrControlAveExecutable.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 789 , 255 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incr = GraphSyrControlAveExecutable.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incr.SetName( 'incr' )
- incr.SetAuthor( '' )
- incr.SetContainer( 'localhost/FactoryServer' )
- incr.SetComment( 'C_INCR from SyrComponent' )
- incr.Coords( 790 , 136 )
- IincraCount = incr.GetInPort( 'aCount' )
- IincrGate = incr.GetInPort( 'Gate' )
- OincraNewCount = incr.GetOutPort( 'aNewCount' )
- OincrGate = incr.GetOutPort( 'Gate' )
-
- C_MIN = GraphSyrControlAveExecutable.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MIN' )
- C_MIN.SetName( 'C_MIN' )
- C_MIN.SetAuthor( '' )
- C_MIN.SetContainer( 'localhost/FactoryServer' )
- C_MIN.SetComment( 'C_MIN from SyrComponent' )
- C_MIN.Coords( 798 , 833 )
- IC_MINaMinVal = C_MIN.GetInPort( 'aMinVal' )
- IC_MINanInteger = C_MIN.GetInPort( 'anInteger' )
- IC_MINGate = C_MIN.GetInPort( 'Gate' )
- OC_MINaNewMinVal = C_MIN.GetOutPort( 'aNewMinVal' )
- OC_MINGate = C_MIN.GetOutPort( 'Gate' )
-
- C_MAX = GraphSyrControlAveExecutable.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MAX' )
- C_MAX.SetName( 'C_MAX' )
- C_MAX.SetAuthor( '' )
- C_MAX.SetContainer( 'localhost/FactoryServer' )
- C_MAX.SetComment( 'C_MAX from SyrComponent' )
- C_MAX.Coords( 798 , 668 )
- IC_MAXaMaxVal = C_MAX.GetInPort( 'aMaxVal' )
- IC_MAXanInteger = C_MAX.GetInPort( 'anInteger' )
- IC_MAXGate = C_MAX.GetInPort( 'Gate' )
- OC_MAXaNewMaxVal = C_MAX.GetOutPort( 'aNewMaxVal' )
- OC_MAXGate = C_MAX.GetOutPort( 'Gate' )
-
- C_AVERAGE = GraphSyrControlAveExecutable.FNode( 'SyrComponent' , 'SyrComponent' , 'C_AVERAGE' )
- C_AVERAGE.SetName( 'C_AVERAGE' )
- C_AVERAGE.SetAuthor( '' )
- C_AVERAGE.SetContainer( 'localhost/FactoryServer' )
- C_AVERAGE.SetComment( 'C_AVERAGE from SyrComponent' )
- C_AVERAGE.Coords( 784 , 476 )
- IC_AVERAGEaListOfSyr = C_AVERAGE.GetInPort( 'aListOfSyr' )
- IC_AVERAGEanInteger = C_AVERAGE.GetInPort( 'anInteger' )
- IC_AVERAGEaCount = C_AVERAGE.GetInPort( 'aCount' )
- IC_AVERAGEGate = C_AVERAGE.GetInPort( 'Gate' )
- OC_AVERAGEaNewListOfSyr = C_AVERAGE.GetOutPort( 'aNewListOfSyr' )
- OC_AVERAGEanAverage = C_AVERAGE.GetOutPort( 'anAverage' )
- OC_AVERAGEGate = C_AVERAGE.GetOutPort( 'Gate' )
-
- C_LISTOFSYR = GraphSyrControlAveExecutable.FNode( 'SyrComponent' , 'SyrComponent' , 'C_LISTOFSYR' )
- C_LISTOFSYR.SetName( 'C_LISTOFSYR' )
- C_LISTOFSYR.SetAuthor( '' )
- C_LISTOFSYR.SetContainer( 'localhost/FactoryServer' )
- C_LISTOFSYR.SetComment( 'C_LISTOFSYR from SyrComponent' )
- C_LISTOFSYR.Coords( 5 , 321 )
- IC_LISTOFSYRGate = C_LISTOFSYR.GetInPort( 'Gate' )
- OC_LISTOFSYRaListOfSyr = C_LISTOFSYR.GetOutPort( 'aListOfSyr' )
- OC_LISTOFSYRGate = C_LISTOFSYR.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- Pylabel_begin = []
- Pylabel_begin.append( 'def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :' )
- Pylabel_begin.append( ' return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB' )
- label_begin = GraphSyrControlAveExecutable.INode( 'label_begin' , Pylabel_begin )
- label_begin.SetName( 'label_begin' )
- label_begin.SetAuthor( '' )
- label_begin.SetComment( 'Python function' )
- label_begin.Coords( 183 , 220 )
- Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
- Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
- Ilabel_beginMINB = label_begin.InPort( 'MINB' , 'long' )
- Ilabel_beginMAXB = label_begin.InPort( 'MAXB' , 'long' )
- Ilabel_beginAVERAGEB = label_begin.InPort( 'AVERAGEB' , 'double' )
- Ilabel_beginSYRLISTB = label_begin.InPort( 'SYRLISTB' , 'ListOfSyr' )
- Ilabel_beginGate = label_begin.GetInPort( 'Gate' )
- Olabel_beginNT = label_begin.OutPort( 'NT' , 'long' )
- Olabel_beginKT = label_begin.OutPort( 'KT' , 'long' )
- Olabel_beginMIN = label_begin.OutPort( 'MIN' , 'long' )
- Olabel_beginMAX = label_begin.OutPort( 'MAX' , 'long' )
- Olabel_beginAVERAGE = label_begin.OutPort( 'AVERAGE' , 'double' )
- Olabel_beginSYRLIST = label_begin.OutPort( 'SYRLIST' , 'ListOfSyr' )
- Olabel_beginGate = label_begin.GetOutPort( 'Gate' )
-
- # Creation of Switch Nodes
- Pylabel_test = []
- Pylabel_test.append( 'def L_OneEven( ValOne , ValEven , NT , KT , MIN , MAX , AVERAGE , SYRLIST ):' )
- Pylabel_test.append( ' Finished = ValOne' )
- Pylabel_test.append( ' if Finished == 0 :' )
- Pylabel_test.append( ' Incr = 1' )
- Pylabel_test.append( ' Even = ValEven' )
- Pylabel_test.append( ' if Even == 0 :' )
- Pylabel_test.append( ' Odd = 1' )
- Pylabel_test.append( ' else :' )
- Pylabel_test.append( ' Odd = 0' )
- Pylabel_test.append( ' else :' )
- Pylabel_test.append( ' Incr = 0' )
- Pylabel_test.append( ' Even = 0' )
- Pylabel_test.append( ' Odd = 0' )
- Pylabel_test.append( ' Even = ValEven' )
- Pylabel_test.append( ' return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST' )
- label_test,EndL_OneEven = GraphSyrControlAveExecutable.SNode( 'L_OneEven' , Pylabel_test )
- EndL_OneEven.SetName( 'EndL_OneEven' )
- EndL_OneEven.SetAuthor( '' )
- EndL_OneEven.SetComment( 'Compute Node' )
- EndL_OneEven.Coords( 1064 , 339 )
- PyEndL_OneEven = []
- EndL_OneEven.SetPyFunction( '' , PyEndL_OneEven )
- IEndL_OneEvenMINT = EndL_OneEven.InPort( 'MINT' , 'long' )
- IEndL_OneEvenMAXT = EndL_OneEven.InPort( 'MAXT' , 'long' )
- IEndL_OneEvenAVERAGET = EndL_OneEven.InPort( 'AVERAGET' , 'double' )
- IEndL_OneEvenDefault = EndL_OneEven.GetInPort( 'Default' )
- OEndL_OneEvenMIN = EndL_OneEven.OutPort( 'MIN' , 'long' )
- OEndL_OneEvenMAX = EndL_OneEven.OutPort( 'MAX' , 'long' )
- OEndL_OneEvenAVERAGE = EndL_OneEven.OutPort( 'AVERAGE' , 'double' )
- OEndL_OneEvenGate = EndL_OneEven.GetOutPort( 'Gate' )
- label_test.SetName( 'label_test' )
- label_test.SetAuthor( '' )
- label_test.SetComment( 'Compute Node' )
- label_test.Coords( 564 , 219 )
- Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
- Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
- Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
- Ilabel_testKT = label_test.InPort( 'KT' , 'long' )
- Ilabel_testMIN = label_test.InPort( 'MIN' , 'long' )
- Ilabel_testMAX = label_test.InPort( 'MAX' , 'long' )
- Ilabel_testAVERAGE = label_test.InPort( 'AVERAGE' , 'double' )
- Ilabel_testSYRLIST = label_test.InPort( 'SYRLIST' , 'ListOfSyr' )
- Ilabel_testGate = label_test.GetInPort( 'Gate' )
- Olabel_testFinished = label_test.OutPort( 'Finished' , 'long' )
- Olabel_testIncr = label_test.OutPort( 'Incr' , 'long' )
- Olabel_testEven = label_test.OutPort( 'Even' , 'long' )
- Olabel_testOdd = label_test.OutPort( 'Odd' , 'long' )
- Olabel_testN = label_test.OutPort( 'N' , 'long' )
- Olabel_testK = label_test.OutPort( 'K' , 'long' )
- Olabel_testMIN = label_test.OutPort( 'MIN' , 'long' )
- Olabel_testMAX = label_test.OutPort( 'MAX' , 'long' )
- Olabel_testAVERAGE = label_test.OutPort( 'AVERAGE' , 'double' )
- Olabel_testSYRLIST = label_test.OutPort( 'SYRLIST' , 'ListOfSyr' )
- Olabel_testDefault = label_test.GetOutPort( 'Default' )
-
- # Creation of GOTO Nodes
- Pycontrol_m3p1 = []
- Pycontrol_m3p1.append( 'def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):' )
- Pycontrol_m3p1.append( ' return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
- control_m3p1 = GraphSyrControlAveExecutable.GNode( 'C_NotOneIsEven' , Pycontrol_m3p1 , 'label_test' )
- control_m3p1.SetName( 'control_m3p1' )
- control_m3p1.SetAuthor( '' )
- control_m3p1.SetComment( 'Compute Node' )
- control_m3p1.Coords( 1058 , 8 )
- Icontrol_m3p1N = control_m3p1.InPort( 'N' , 'long' )
- Icontrol_m3p1K = control_m3p1.InPort( 'K' , 'long' )
- Icontrol_m3p1MINT = control_m3p1.InPort( 'MINT' , 'long' )
- Icontrol_m3p1MAXT = control_m3p1.InPort( 'MAXT' , 'long' )
- Icontrol_m3p1AVERAGET = control_m3p1.InPort( 'AVERAGET' , 'double' )
- Icontrol_m3p1SYRLISTT = control_m3p1.InPort( 'SYRLISTT' , 'ListOfSyr' )
- Icontrol_m3p1Gate = control_m3p1.GetInPort( 'Gate' )
- Ocontrol_m3p1ValOne = control_m3p1.OutPort( 'ValOne' , 'long' )
- Ocontrol_m3p1ValEven = control_m3p1.OutPort( 'ValEven' , 'long' )
- Ocontrol_m3p1NT = control_m3p1.OutPort( 'NT' , 'long' )
- Ocontrol_m3p1KT = control_m3p1.OutPort( 'KT' , 'long' )
- Ocontrol_m3p1MIN = control_m3p1.OutPort( 'MIN' , 'long' )
- Ocontrol_m3p1MAX = control_m3p1.OutPort( 'MAX' , 'long' )
- Ocontrol_m3p1AVERAGE = control_m3p1.OutPort( 'AVERAGE' , 'double' )
- Ocontrol_m3p1SYRLIST = control_m3p1.OutPort( 'SYRLIST' , 'ListOfSyr' )
- Ocontrol_m3p1Gate = control_m3p1.GetOutPort( 'Gate' )
-
- Pycontrol_div2 = []
- Pycontrol_div2.append( 'def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :' )
- Pycontrol_div2.append( ' return N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
- control_div2 = GraphSyrControlAveExecutable.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
- control_div2.SetName( 'control_div2' )
- control_div2.SetAuthor( '' )
- control_div2.SetComment( 'Compute Node' )
- control_div2.Coords( 1048 , 555 )
- Icontrol_div2N = control_div2.InPort( 'N' , 'long' )
- Icontrol_div2K = control_div2.InPort( 'K' , 'long' )
- Icontrol_div2MINT = control_div2.InPort( 'MINT' , 'long' )
- Icontrol_div2MAXT = control_div2.InPort( 'MAXT' , 'long' )
- Icontrol_div2AVERAGET = control_div2.InPort( 'AVERAGET' , 'double' )
- Icontrol_div2SYRLISTT = control_div2.InPort( 'SYRLISTT' , 'ListOfSyr' )
- Icontrol_div2Gate = control_div2.GetInPort( 'Gate' )
- Ocontrol_div2NB = control_div2.OutPort( 'NB' , 'long' )
- Ocontrol_div2KB = control_div2.OutPort( 'KB' , 'long' )
- Ocontrol_div2MINB = control_div2.OutPort( 'MINB' , 'long' )
- Ocontrol_div2MAXB = control_div2.OutPort( 'MAXB' , 'long' )
- Ocontrol_div2AVERAGEB = control_div2.OutPort( 'AVERAGEB' , 'double' )
- Ocontrol_div2SYRLISTB = control_div2.OutPort( 'SYRLISTB' , 'ListOfSyr' )
- Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
-
- # Creation of Links
- Ltest_ISEVENBoolEvenlabel_testValEven = GraphSyrControlAveExecutable.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 544 , 256 )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 544 , 524 )
-
- Ltest_ISONEBoolOnelabel_testValOne = GraphSyrControlAveExecutable.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 546 , 237 )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 546 , 198 )
-
- Lm3p1anEvenIntegercontrol_m3p1N = GraphSyrControlAveExecutable.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
- Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 1 , 975 , 38 )
- Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 2 , 976 , 81 )
-
- Ldiv2anIntegercontrol_div2N = GraphSyrControlAveExecutable.Link( Odiv2anInteger , Icontrol_div2N )
- Ldiv2anIntegercontrol_div2N.AddCoord( 1 , 1012 , 585 )
- Ldiv2anIntegercontrol_div2N.AddCoord( 2 , 1011 , 346 )
-
- LincraNewCountcontrol_div2K = GraphSyrControlAveExecutable.Link( OincraNewCount , Icontrol_div2K )
- LincraNewCountcontrol_div2K.AddCoord( 1 , 966 , 606 )
- LincraNewCountcontrol_div2K.AddCoord( 2 , 968 , 207 )
-
- LincraNewCountcontrol_m3p1K = GraphSyrControlAveExecutable.Link( OincraNewCount , Icontrol_m3p1K )
- LincraNewCountcontrol_m3p1K.AddCoord( 1 , 965 , 59 )
- LincraNewCountcontrol_m3p1K.AddCoord( 2 , 966 , 208 )
-
- LincraNewCountC_AVERAGEaCount = GraphSyrControlAveExecutable.Link( OincraNewCount , IC_AVERAGEaCount )
- LincraNewCountC_AVERAGEaCount.AddCoord( 1 , 751 , 588 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 2 , 751 , 460 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 3 , 965 , 462 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 4 , 968 , 205 )
-
- LC_MINaNewMinValcontrol_m3p1MINT = GraphSyrControlAveExecutable.Link( OC_MINaNewMinVal , Icontrol_m3p1MINT )
- LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 1 , 991 , 78 )
- LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 2 , 991 , 905 )
-
- LC_MINaNewMinValcontrol_div2MINT = GraphSyrControlAveExecutable.Link( OC_MINaNewMinVal , Icontrol_div2MINT )
- LC_MINaNewMinValcontrol_div2MINT.AddCoord( 1 , 991 , 626 )
- LC_MINaNewMinValcontrol_div2MINT.AddCoord( 2 , 991 , 905 )
-
- LC_MAXaNewMaxValcontrol_m3p1MAXT = GraphSyrControlAveExecutable.Link( OC_MAXaNewMaxVal , Icontrol_m3p1MAXT )
- LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 1 , 976 , 98 )
- LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 2 , 974 , 738 )
-
- LC_MAXaNewMaxValcontrol_div2MAXT = GraphSyrControlAveExecutable.Link( OC_MAXaNewMaxVal , Icontrol_div2MAXT )
- LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 1 , 972 , 648 )
- LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 2 , 974 , 738 )
-
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT = GraphSyrControlAveExecutable.Link( OC_AVERAGEaNewListOfSyr , Icontrol_m3p1SYRLISTT )
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 1 , 1037 , 137 )
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 2 , 1038 , 556 )
-
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT = GraphSyrControlAveExecutable.Link( OC_AVERAGEaNewListOfSyr , Icontrol_div2SYRLISTT )
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 1 , 1038 , 686 )
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 2 , 1038 , 555 )
-
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET = GraphSyrControlAveExecutable.Link( OC_AVERAGEanAverage , Icontrol_m3p1AVERAGET )
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 1 , 1026 , 118 )
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 2 , 1027 , 567 )
-
- LC_AVERAGEanAveragecontrol_div2AVERAGET = GraphSyrControlAveExecutable.Link( OC_AVERAGEanAverage , Icontrol_div2AVERAGET )
- LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 1 , 1027 , 668 )
- LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 2 , 1026 , 568 )
-
- LC_LISTOFSYRaListOfSyrlabel_beginSYRLISTB = GraphSyrControlAveExecutable.Link( OC_LISTOFSYRaListOfSyr , Ilabel_beginSYRLISTB )
-
- Llabel_beginNTtest_ISONEanInteger = GraphSyrControlAveExecutable.Link( Olabel_beginNT , Itest_ISONEanInteger )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 361 , 197 )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 360 , 290 )
-
- Llabel_beginNTlabel_testNT = GraphSyrControlAveExecutable.Link( Olabel_beginNT , Ilabel_testNT )
-
- Llabel_beginNTtest_ISEVENanInteger = GraphSyrControlAveExecutable.Link( Olabel_beginNT , Itest_ISEVENanInteger )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 359 , 525 )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 361 , 291 )
-
- Llabel_beginKTlabel_testKT = GraphSyrControlAveExecutable.Link( Olabel_beginKT , Ilabel_testKT )
-
- Llabel_beginMINlabel_testMIN = GraphSyrControlAveExecutable.Link( Olabel_beginMIN , Ilabel_testMIN )
-
- Llabel_beginMAXlabel_testMAX = GraphSyrControlAveExecutable.Link( Olabel_beginMAX , Ilabel_testMAX )
-
- Llabel_beginAVERAGElabel_testAVERAGE = GraphSyrControlAveExecutable.Link( Olabel_beginAVERAGE , Ilabel_testAVERAGE )
-
- Llabel_beginSYRLISTlabel_testSYRLIST = GraphSyrControlAveExecutable.Link( Olabel_beginSYRLIST , Ilabel_testSYRLIST )
-
- Llabel_testEvendiv2Gate = GraphSyrControlAveExecutable.Link( Olabel_testEven , Idiv2Gate )
- Llabel_testEvendiv2Gate.AddCoord( 1 , 777 , 351 )
- Llabel_testEvendiv2Gate.AddCoord( 2 , 777 , 286 )
-
- Llabel_testOddm3p1Gate = GraphSyrControlAveExecutable.Link( Olabel_testOdd , Im3p1Gate )
- Llabel_testOddm3p1Gate.AddCoord( 1 , 757 , 95 )
- Llabel_testOddm3p1Gate.AddCoord( 2 , 757 , 310 )
-
- Llabel_testNm3p1anOddInteger = GraphSyrControlAveExecutable.Link( Olabel_testN , Im3p1anOddInteger )
- Llabel_testNm3p1anOddInteger.AddCoord( 1 , 741 , 72 )
- Llabel_testNm3p1anOddInteger.AddCoord( 2 , 741 , 331 )
-
- Llabel_testNdiv2anEvenInteger = GraphSyrControlAveExecutable.Link( Olabel_testN , Idiv2anEvenInteger )
-
- Llabel_testNC_MINanInteger = GraphSyrControlAveExecutable.Link( Olabel_testN , IC_MINanInteger )
- Llabel_testNC_MINanInteger.AddCoord( 1 , 744 , 923 )
- Llabel_testNC_MINanInteger.AddCoord( 2 , 742 , 331 )
-
- Llabel_testNC_MAXanInteger = GraphSyrControlAveExecutable.Link( Olabel_testN , IC_MAXanInteger )
- Llabel_testNC_MAXanInteger.AddCoord( 1 , 742 , 759 )
- Llabel_testNC_MAXanInteger.AddCoord( 2 , 743 , 332 )
-
- Llabel_testNC_AVERAGEanInteger = GraphSyrControlAveExecutable.Link( Olabel_testN , IC_AVERAGEanInteger )
- Llabel_testNC_AVERAGEanInteger.AddCoord( 1 , 741 , 568 )
- Llabel_testNC_AVERAGEanInteger.AddCoord( 2 , 742 , 330 )
-
- Llabel_testKincraCount = GraphSyrControlAveExecutable.Link( Olabel_testK , IincraCount )
- Llabel_testKincraCount.AddCoord( 1 , 766 , 207 )
- Llabel_testKincraCount.AddCoord( 2 , 766 , 343 )
-
- Llabel_testMINC_MINaMinVal = GraphSyrControlAveExecutable.Link( Olabel_testMIN , IC_MINaMinVal )
- Llabel_testMINC_MINaMinVal.AddCoord( 1 , 771 , 902 )
- Llabel_testMINC_MINaMinVal.AddCoord( 2 , 777 , 371 )
- Llabel_testMINC_MINaMinVal.AddCoord( 3 , 777 , 370 )
-
- Llabel_testMINEndL_OneEvenMINT = GraphSyrControlAveExecutable.Link( Olabel_testMIN , IEndL_OneEvenMINT )
-
- Llabel_testMAXC_MAXaMaxVal = GraphSyrControlAveExecutable.Link( Olabel_testMAX , IC_MAXaMaxVal )
- Llabel_testMAXC_MAXaMaxVal.AddCoord( 1 , 764 , 739 )
- Llabel_testMAXC_MAXaMaxVal.AddCoord( 2 , 762 , 390 )
-
- Llabel_testMAXEndL_OneEvenMAXT = GraphSyrControlAveExecutable.Link( Olabel_testMAX , IEndL_OneEvenMAXT )
-
- Llabel_testAVERAGEEndL_OneEvenAVERAGET = GraphSyrControlAveExecutable.Link( Olabel_testAVERAGE , IEndL_OneEvenAVERAGET )
-
- Llabel_testSYRLISTC_AVERAGEaListOfSyr = GraphSyrControlAveExecutable.Link( Olabel_testSYRLIST , IC_AVERAGEaListOfSyr )
- Llabel_testSYRLISTC_AVERAGEaListOfSyr.AddCoord( 1 , 769 , 546 )
- Llabel_testSYRLISTC_AVERAGEaListOfSyr.AddCoord( 2 , 769 , 431 )
- Llabel_testSYRLISTC_AVERAGEaListOfSyr.AddCoord( 3 , 768 , 431 )
- Llabel_testSYRLISTC_AVERAGEaListOfSyr.AddCoord( 4 , 768 , 430 )
-
- Llabel_testDefaultEndL_OneEvenDefault = GraphSyrControlAveExecutable.Link( Olabel_testDefault , IEndL_OneEvenDefault )
-
- Lcontrol_m3p1Gatelabel_testGate = GraphSyrControlAveExecutable.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 553 , 453 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 554 , 1025 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1242 , 1026 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1234 , 204 )
-
- Lcontrol_div2Gatelabel_beginGate = GraphSyrControlAveExecutable.Link( Ocontrol_div2Gate , Ilabel_beginGate )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 176 , 419 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 176 , 997 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 1217 , 996 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 1223 , 711 )
-
- # Input datas
- Ilabel_beginNB.Input( 31 )
- Ilabel_beginKB.Input( 0 )
- Ilabel_beginMINB.Input( 0 )
- Ilabel_beginMAXB.Input( 0 )
- Ilabel_beginAVERAGEB.Input( 0 )
-
- # Output Ports of the graph
- #Olabel_testFinished = label_test.GetOutPort( 'Finished' )
- #Olabel_testIncr = label_test.GetOutPort( 'Incr' )
- #OEndL_OneEvenMIN = EndL_OneEven.GetOutPort( 'MIN' )
- #OEndL_OneEvenMAX = EndL_OneEven.GetOutPort( 'MAX' )
- #OEndL_OneEvenAVERAGE = EndL_OneEven.GetOutPort( 'AVERAGE' )
- return GraphSyrControlAveExecutable
-
-
-GraphSyrControlAveExecutable = DefGraphSyrControlAveExecutable()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSyrControlAveNOTValid
-#
-from SuperV import *
-
-# Graph creation of GraphSyrControlAveNOTValid
-def DefGraphSyrControlAveNOTValid() :
- GraphSyrControlAveNOTValid = Graph( 'GraphSyrControlAveNOTValid' )
- GraphSyrControlAveNOTValid.SetName( 'GraphSyrControlAveNOTValid' )
- GraphSyrControlAveNOTValid.SetAuthor( 'JR' )
- GraphSyrControlAveNOTValid.SetComment( 'Syracuse algorithm' )
- GraphSyrControlAveNOTValid.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- test_ISEVEN = GraphSyrControlAveNOTValid.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( 370 , 455 )
- 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 = GraphSyrControlAveNOTValid.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( 370 , 127 )
- 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 = GraphSyrControlAveNOTValid.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
- m3p1.SetName( 'm3p1' )
- m3p1.SetAuthor( '' )
- m3p1.SetContainer( 'localhost/FactoryServer' )
- m3p1.SetComment( 'C_M3P1 from SyrComponent' )
- m3p1.Coords( 789 , 0 )
- Im3p1anOddInteger = m3p1.GetInPort( 'anOddInteger' )
- Im3p1Gate = m3p1.GetInPort( 'Gate' )
- Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
- Om3p1Gate = m3p1.GetOutPort( 'Gate' )
-
- div2 = GraphSyrControlAveNOTValid.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 789 , 255 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incr = GraphSyrControlAveNOTValid.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incr.SetName( 'incr' )
- incr.SetAuthor( '' )
- incr.SetContainer( 'localhost/FactoryServer' )
- incr.SetComment( 'C_INCR from SyrComponent' )
- incr.Coords( 790 , 136 )
- IincraCount = incr.GetInPort( 'aCount' )
- IincrGate = incr.GetInPort( 'Gate' )
- OincraNewCount = incr.GetOutPort( 'aNewCount' )
- OincrGate = incr.GetOutPort( 'Gate' )
-
- C_MIN = GraphSyrControlAveNOTValid.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MIN' )
- C_MIN.SetName( 'C_MIN' )
- C_MIN.SetAuthor( '' )
- C_MIN.SetContainer( 'localhost/FactoryServer' )
- C_MIN.SetComment( 'C_MIN from SyrComponent' )
- C_MIN.Coords( 798 , 833 )
- IC_MINaMinVal = C_MIN.GetInPort( 'aMinVal' )
- IC_MINanInteger = C_MIN.GetInPort( 'anInteger' )
- IC_MINGate = C_MIN.GetInPort( 'Gate' )
- OC_MINaNewMinVal = C_MIN.GetOutPort( 'aNewMinVal' )
- OC_MINGate = C_MIN.GetOutPort( 'Gate' )
-
- C_MAX = GraphSyrControlAveNOTValid.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MAX' )
- C_MAX.SetName( 'C_MAX' )
- C_MAX.SetAuthor( '' )
- C_MAX.SetContainer( 'localhost/FactoryServer' )
- C_MAX.SetComment( 'C_MAX from SyrComponent' )
- C_MAX.Coords( 798 , 668 )
- IC_MAXaMaxVal = C_MAX.GetInPort( 'aMaxVal' )
- IC_MAXanInteger = C_MAX.GetInPort( 'anInteger' )
- IC_MAXGate = C_MAX.GetInPort( 'Gate' )
- OC_MAXaNewMaxVal = C_MAX.GetOutPort( 'aNewMaxVal' )
- OC_MAXGate = C_MAX.GetOutPort( 'Gate' )
-
- C_AVERAGE = GraphSyrControlAveNOTValid.FNode( 'SyrComponent' , 'SyrComponent' , 'C_AVERAGE' )
- C_AVERAGE.SetName( 'C_AVERAGE' )
- C_AVERAGE.SetAuthor( '' )
- C_AVERAGE.SetContainer( 'localhost/FactoryServer' )
- C_AVERAGE.SetComment( 'C_AVERAGE from SyrComponent' )
- C_AVERAGE.Coords( 784 , 476 )
- IC_AVERAGEaListOfSyr = C_AVERAGE.GetInPort( 'aListOfSyr' )
- IC_AVERAGEanInteger = C_AVERAGE.GetInPort( 'anInteger' )
- IC_AVERAGEaCount = C_AVERAGE.GetInPort( 'aCount' )
- IC_AVERAGEGate = C_AVERAGE.GetInPort( 'Gate' )
- OC_AVERAGEaNewListOfSyr = C_AVERAGE.GetOutPort( 'aNewListOfSyr' )
- OC_AVERAGEanAverage = C_AVERAGE.GetOutPort( 'anAverage' )
- OC_AVERAGEGate = C_AVERAGE.GetOutPort( 'Gate' )
-
- C_LISTOFSYR = GraphSyrControlAveNOTValid.FNode( 'SyrComponent' , 'SyrComponent' , 'C_LISTOFSYR' )
- C_LISTOFSYR.SetName( 'C_LISTOFSYR' )
- C_LISTOFSYR.SetAuthor( '' )
- C_LISTOFSYR.SetContainer( 'localhost/FactoryServer' )
- C_LISTOFSYR.SetComment( 'C_LISTOFSYR from SyrComponent' )
- C_LISTOFSYR.Coords( 5 , 321 )
- IC_LISTOFSYRGate = C_LISTOFSYR.GetInPort( 'Gate' )
- OC_LISTOFSYRaListOfSyr = C_LISTOFSYR.GetOutPort( 'aListOfSyr' )
- OC_LISTOFSYRGate = C_LISTOFSYR.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- Pylabel_begin = []
- Pylabel_begin.append( 'def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :' )
- Pylabel_begin.append( ' return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB' )
- label_begin = GraphSyrControlAveNOTValid.INode( 'label_begin' , Pylabel_begin )
- label_begin.SetName( 'label_begin' )
- label_begin.SetAuthor( '' )
- label_begin.SetComment( 'Python function' )
- label_begin.Coords( 183 , 220 )
- Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
- Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
- Ilabel_beginMINB = label_begin.InPort( 'MINB' , 'long' )
- Ilabel_beginMAXB = label_begin.InPort( 'MAXB' , 'long' )
- Ilabel_beginAVERAGEB = label_begin.InPort( 'AVERAGEB' , 'double' )
- Ilabel_beginSYRLISTB = label_begin.InPort( 'SYRLISTB' , 'ListOfSyr' )
- Ilabel_beginGate = label_begin.GetInPort( 'Gate' )
- Olabel_beginNT = label_begin.OutPort( 'NT' , 'long' )
- Olabel_beginKT = label_begin.OutPort( 'KT' , 'long' )
- Olabel_beginMIN = label_begin.OutPort( 'MIN' , 'long' )
- Olabel_beginMAX = label_begin.OutPort( 'MAX' , 'long' )
- Olabel_beginAVERAGE = label_begin.OutPort( 'AVERAGE' , 'double' )
- Olabel_beginSYRLIST = label_begin.OutPort( 'SYRLIST' , 'ListOfSyr' )
- Olabel_beginGate = label_begin.GetOutPort( 'Gate' )
-
- # Creation of Switch Nodes
- Pylabel_test = []
- Pylabel_test.append( 'def L_OneEven( ValOne , ValEven , NT , KT , MIN , MAX , AVERAGE , SYRLIST ):' )
- Pylabel_test.append( ' Finished = ValOne' )
- Pylabel_test.append( ' if Finished == 0 :' )
- Pylabel_test.append( ' Incr = 1' )
- Pylabel_test.append( ' Even = ValEven' )
- Pylabel_test.append( ' if Even == 0 :' )
- Pylabel_test.append( ' Odd = 1' )
- Pylabel_test.append( ' else :' )
- Pylabel_test.append( ' Odd = 0' )
- Pylabel_test.append( ' else :' )
- Pylabel_test.append( ' Incr = 0' )
- Pylabel_test.append( ' Even = 0' )
- Pylabel_test.append( ' Odd = 0' )
- Pylabel_test.append( ' Even = ValEven' )
- Pylabel_test.append( ' return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST' )
- label_test,EndL_OneEven = GraphSyrControlAveNOTValid.SNode( 'L_OneEven' , Pylabel_test )
- EndL_OneEven.SetName( 'EndL_OneEven' )
- EndL_OneEven.SetAuthor( '' )
- EndL_OneEven.SetComment( 'Compute Node' )
- EndL_OneEven.Coords( 1064 , 339 )
- PyEndL_OneEven = []
- EndL_OneEven.SetPyFunction( '' , PyEndL_OneEven )
- IEndL_OneEvenMINT = EndL_OneEven.InPort( 'MINT' , 'long' )
- IEndL_OneEvenMAXT = EndL_OneEven.InPort( 'MAXT' , 'long' )
- IEndL_OneEvenAVERAGET = EndL_OneEven.InPort( 'AVERAGET' , 'double' )
- IEndL_OneEvenDefault = EndL_OneEven.GetInPort( 'Default' )
- OEndL_OneEvenMIN = EndL_OneEven.OutPort( 'MIN' , 'long' )
- OEndL_OneEvenMAX = EndL_OneEven.OutPort( 'MAX' , 'long' )
- OEndL_OneEvenAVERAGE = EndL_OneEven.OutPort( 'AVERAGE' , 'double' )
- OEndL_OneEvenGate = EndL_OneEven.GetOutPort( 'Gate' )
- label_test.SetName( 'label_test' )
- label_test.SetAuthor( '' )
- label_test.SetComment( 'Compute Node' )
- label_test.Coords( 564 , 219 )
- Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
- Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
- Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
- Ilabel_testKT = label_test.InPort( 'KT' , 'long' )
- Ilabel_testMIN = label_test.InPort( 'MIN' , 'long' )
- Ilabel_testMAX = label_test.InPort( 'MAX' , 'long' )
- Ilabel_testAVERAGE = label_test.InPort( 'AVERAGE' , 'double' )
- Ilabel_testSYRLIST = label_test.InPort( 'SYRLIST' , 'ListOfSyr' )
- Ilabel_testGate = label_test.GetInPort( 'Gate' )
- Olabel_testFinished = label_test.OutPort( 'Finished' , 'long' )
- Olabel_testIncr = label_test.OutPort( 'Incr' , 'long' )
- Olabel_testEven = label_test.OutPort( 'Even' , 'long' )
- Olabel_testOdd = label_test.OutPort( 'Odd' , 'long' )
- Olabel_testN = label_test.OutPort( 'N' , 'long' )
- Olabel_testK = label_test.OutPort( 'K' , 'long' )
- Olabel_testMIN = label_test.OutPort( 'MIN' , 'long' )
- Olabel_testMAX = label_test.OutPort( 'MAX' , 'long' )
- Olabel_testAVERAGE = label_test.OutPort( 'AVERAGE' , 'double' )
- Olabel_testSYRLIST = label_test.OutPort( 'SYRLIST' , 'ListOfSyr' )
- Olabel_testDefault = label_test.GetOutPort( 'Default' )
-
- # Creation of GOTO Nodes
- Pycontrol_m3p1 = []
- Pycontrol_m3p1.append( 'def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):' )
- Pycontrol_m3p1.append( ' return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
- control_m3p1 = GraphSyrControlAveNOTValid.GNode( 'C_NotOneIsEven' , Pycontrol_m3p1 , 'label_test' )
- control_m3p1.SetName( 'control_m3p1' )
- control_m3p1.SetAuthor( '' )
- control_m3p1.SetComment( 'Compute Node' )
- control_m3p1.Coords( 1058 , 8 )
- Icontrol_m3p1N = control_m3p1.InPort( 'N' , 'long' )
- Icontrol_m3p1K = control_m3p1.InPort( 'K' , 'long' )
- Icontrol_m3p1MINT = control_m3p1.InPort( 'MINT' , 'long' )
- Icontrol_m3p1MAXT = control_m3p1.InPort( 'MAXT' , 'long' )
- Icontrol_m3p1AVERAGET = control_m3p1.InPort( 'AVERAGET' , 'double' )
- Icontrol_m3p1SYRLISTT = control_m3p1.InPort( 'SYRLISTT' , 'ListOfSyr' )
- Icontrol_m3p1Gate = control_m3p1.GetInPort( 'Gate' )
- Ocontrol_m3p1ValOne = control_m3p1.OutPort( 'ValOne' , 'long' )
- Ocontrol_m3p1ValEven = control_m3p1.OutPort( 'ValEven' , 'long' )
- Ocontrol_m3p1NT = control_m3p1.OutPort( 'NT' , 'long' )
- Ocontrol_m3p1KT = control_m3p1.OutPort( 'KT' , 'long' )
- Ocontrol_m3p1MIN = control_m3p1.OutPort( 'MIN' , 'long' )
- Ocontrol_m3p1MAX = control_m3p1.OutPort( 'MAX' , 'long' )
- Ocontrol_m3p1AVERAGE = control_m3p1.OutPort( 'AVERAGE' , 'double' )
- Ocontrol_m3p1SYRLIST = control_m3p1.OutPort( 'SYRLIST' , 'ListOfSyr' )
- Ocontrol_m3p1Gate = control_m3p1.GetOutPort( 'Gate' )
-
- Pycontrol_div2 = []
- Pycontrol_div2.append( 'def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :' )
- Pycontrol_div2.append( ' return N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
- control_div2 = GraphSyrControlAveNOTValid.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
- control_div2.SetName( 'control_div2' )
- control_div2.SetAuthor( '' )
- control_div2.SetComment( 'Compute Node' )
- control_div2.Coords( 1048 , 555 )
- Icontrol_div2N = control_div2.InPort( 'N' , 'long' )
- Icontrol_div2K = control_div2.InPort( 'K' , 'long' )
- Icontrol_div2MINT = control_div2.InPort( 'MINT' , 'long' )
- Icontrol_div2MAXT = control_div2.InPort( 'MAXT' , 'long' )
- Icontrol_div2AVERAGET = control_div2.InPort( 'AVERAGET' , 'double' )
- Icontrol_div2SYRLISTT = control_div2.InPort( 'SYRLISTT' , 'ListOfSyr' )
- Icontrol_div2Gate = control_div2.GetInPort( 'Gate' )
- Ocontrol_div2NB = control_div2.OutPort( 'NB' , 'long' )
- Ocontrol_div2KB = control_div2.OutPort( 'KB' , 'long' )
- Ocontrol_div2MINB = control_div2.OutPort( 'MINB' , 'long' )
- Ocontrol_div2MAXB = control_div2.OutPort( 'MAXB' , 'long' )
- Ocontrol_div2AVERAGEB = control_div2.OutPort( 'AVERAGEB' , 'double' )
- Ocontrol_div2SYRLISTB = control_div2.OutPort( 'SYRLISTB' , 'ListOfSyr' )
- Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
-
- # Creation of Links
- Ltest_ISEVENBoolEvenlabel_testValEven = GraphSyrControlAveNOTValid.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 544 , 256 )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 544 , 524 )
-
- Ltest_ISONEBoolOnelabel_testValOne = GraphSyrControlAveNOTValid.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 546 , 237 )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 546 , 198 )
-
- Lm3p1anEvenIntegercontrol_m3p1N = GraphSyrControlAveNOTValid.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
- Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 1 , 975 , 38 )
- Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 2 , 976 , 81 )
-
- Ldiv2anIntegercontrol_div2N = GraphSyrControlAveNOTValid.Link( Odiv2anInteger , Icontrol_div2N )
- Ldiv2anIntegercontrol_div2N.AddCoord( 1 , 1012 , 585 )
- Ldiv2anIntegercontrol_div2N.AddCoord( 2 , 1011 , 346 )
-
- LincraNewCountcontrol_div2K = GraphSyrControlAveNOTValid.Link( OincraNewCount , Icontrol_div2K )
- LincraNewCountcontrol_div2K.AddCoord( 1 , 966 , 606 )
- LincraNewCountcontrol_div2K.AddCoord( 2 , 968 , 207 )
-
- LincraNewCountcontrol_m3p1K = GraphSyrControlAveNOTValid.Link( OincraNewCount , Icontrol_m3p1K )
- LincraNewCountcontrol_m3p1K.AddCoord( 1 , 965 , 59 )
- LincraNewCountcontrol_m3p1K.AddCoord( 2 , 966 , 208 )
-
- LincraNewCountC_AVERAGEaCount = GraphSyrControlAveNOTValid.Link( OincraNewCount , IC_AVERAGEaCount )
- LincraNewCountC_AVERAGEaCount.AddCoord( 1 , 751 , 588 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 2 , 751 , 460 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 3 , 965 , 462 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 4 , 968 , 205 )
-
- LC_MINaNewMinValcontrol_m3p1MINT = GraphSyrControlAveNOTValid.Link( OC_MINaNewMinVal , Icontrol_m3p1MINT )
- LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 1 , 991 , 78 )
- LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 2 , 991 , 905 )
-
- LC_MINaNewMinValcontrol_div2MINT = GraphSyrControlAveNOTValid.Link( OC_MINaNewMinVal , Icontrol_div2MINT )
- LC_MINaNewMinValcontrol_div2MINT.AddCoord( 1 , 991 , 626 )
- LC_MINaNewMinValcontrol_div2MINT.AddCoord( 2 , 991 , 905 )
-
- LC_MAXaNewMaxValcontrol_m3p1MAXT = GraphSyrControlAveNOTValid.Link( OC_MAXaNewMaxVal , Icontrol_m3p1MAXT )
- LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 1 , 976 , 98 )
- LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 2 , 974 , 738 )
-
- LC_MAXaNewMaxValcontrol_div2MAXT = GraphSyrControlAveNOTValid.Link( OC_MAXaNewMaxVal , Icontrol_div2MAXT )
- LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 1 , 972 , 648 )
- LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 2 , 974 , 738 )
-
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT = GraphSyrControlAveNOTValid.Link( OC_AVERAGEaNewListOfSyr , Icontrol_m3p1SYRLISTT )
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 1 , 1037 , 137 )
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 2 , 1038 , 556 )
-
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT = GraphSyrControlAveNOTValid.Link( OC_AVERAGEaNewListOfSyr , Icontrol_div2SYRLISTT )
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 1 , 1038 , 686 )
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 2 , 1038 , 555 )
-
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET = GraphSyrControlAveNOTValid.Link( OC_AVERAGEanAverage , Icontrol_m3p1AVERAGET )
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 1 , 1026 , 118 )
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 2 , 1027 , 567 )
-
- LC_AVERAGEanAveragecontrol_div2AVERAGET = GraphSyrControlAveNOTValid.Link( OC_AVERAGEanAverage , Icontrol_div2AVERAGET )
- LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 1 , 1027 , 668 )
- LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 2 , 1026 , 568 )
-
- LC_LISTOFSYRaListOfSyrlabel_beginSYRLISTB = GraphSyrControlAveNOTValid.Link( OC_LISTOFSYRaListOfSyr , Ilabel_beginSYRLISTB )
-
- Llabel_beginNTtest_ISONEanInteger = GraphSyrControlAveNOTValid.Link( Olabel_beginNT , Itest_ISONEanInteger )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 361 , 197 )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 360 , 290 )
-
- Llabel_beginNTlabel_testNT = GraphSyrControlAveNOTValid.Link( Olabel_beginNT , Ilabel_testNT )
-
- Llabel_beginNTtest_ISEVENanInteger = GraphSyrControlAveNOTValid.Link( Olabel_beginNT , Itest_ISEVENanInteger )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 359 , 525 )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 361 , 291 )
-
- Llabel_beginKTlabel_testKT = GraphSyrControlAveNOTValid.Link( Olabel_beginKT , Ilabel_testKT )
-
- Llabel_beginMINlabel_testMIN = GraphSyrControlAveNOTValid.Link( Olabel_beginMIN , Ilabel_testMIN )
-
- Llabel_beginMAXlabel_testMAX = GraphSyrControlAveNOTValid.Link( Olabel_beginMAX , Ilabel_testMAX )
-
- Llabel_beginAVERAGElabel_testAVERAGE = GraphSyrControlAveNOTValid.Link( Olabel_beginAVERAGE , Ilabel_testAVERAGE )
-
- Llabel_beginSYRLISTlabel_testSYRLIST = GraphSyrControlAveNOTValid.Link( Olabel_beginSYRLIST , Ilabel_testSYRLIST )
-
- Llabel_testEvendiv2Gate = GraphSyrControlAveNOTValid.Link( Olabel_testEven , Idiv2Gate )
- Llabel_testEvendiv2Gate.AddCoord( 1 , 777 , 351 )
- Llabel_testEvendiv2Gate.AddCoord( 2 , 777 , 286 )
-
- Llabel_testOddm3p1Gate = GraphSyrControlAveNOTValid.Link( Olabel_testOdd , Im3p1Gate )
- Llabel_testOddm3p1Gate.AddCoord( 1 , 757 , 95 )
- Llabel_testOddm3p1Gate.AddCoord( 2 , 757 , 310 )
-
- Llabel_testNm3p1anOddInteger = GraphSyrControlAveNOTValid.Link( Olabel_testN , Im3p1anOddInteger )
- Llabel_testNm3p1anOddInteger.AddCoord( 1 , 741 , 72 )
- Llabel_testNm3p1anOddInteger.AddCoord( 2 , 741 , 331 )
-
- Llabel_testNdiv2anEvenInteger = GraphSyrControlAveNOTValid.Link( Olabel_testN , Idiv2anEvenInteger )
-
- Llabel_testNC_MINanInteger = GraphSyrControlAveNOTValid.Link( Olabel_testN , IC_MINanInteger )
- Llabel_testNC_MINanInteger.AddCoord( 1 , 744 , 923 )
- Llabel_testNC_MINanInteger.AddCoord( 2 , 742 , 331 )
-
- Llabel_testNC_MAXanInteger = GraphSyrControlAveNOTValid.Link( Olabel_testN , IC_MAXanInteger )
- Llabel_testNC_MAXanInteger.AddCoord( 1 , 742 , 759 )
- Llabel_testNC_MAXanInteger.AddCoord( 2 , 743 , 332 )
-
- Llabel_testNC_AVERAGEanInteger = GraphSyrControlAveNOTValid.Link( Olabel_testN , IC_AVERAGEanInteger )
- Llabel_testNC_AVERAGEanInteger.AddCoord( 1 , 741 , 568 )
- Llabel_testNC_AVERAGEanInteger.AddCoord( 2 , 742 , 330 )
-
- Llabel_testKincraCount = GraphSyrControlAveNOTValid.Link( Olabel_testK , IincraCount )
- Llabel_testKincraCount.AddCoord( 1 , 766 , 207 )
- Llabel_testKincraCount.AddCoord( 2 , 766 , 343 )
-
- Llabel_testMINC_MINaMinVal = GraphSyrControlAveNOTValid.Link( Olabel_testMIN , IC_MINaMinVal )
- Llabel_testMINC_MINaMinVal.AddCoord( 1 , 771 , 902 )
- Llabel_testMINC_MINaMinVal.AddCoord( 2 , 777 , 371 )
- Llabel_testMINC_MINaMinVal.AddCoord( 3 , 777 , 370 )
-
- Llabel_testMAXC_MAXaMaxVal = GraphSyrControlAveNOTValid.Link( Olabel_testMAX , IC_MAXaMaxVal )
- Llabel_testMAXC_MAXaMaxVal.AddCoord( 1 , 764 , 739 )
- Llabel_testMAXC_MAXaMaxVal.AddCoord( 2 , 762 , 390 )
-
- Llabel_testSYRLISTC_AVERAGEaListOfSyr = GraphSyrControlAveNOTValid.Link( Olabel_testSYRLIST , IC_AVERAGEaListOfSyr )
- Llabel_testSYRLISTC_AVERAGEaListOfSyr.AddCoord( 1 , 769 , 546 )
- Llabel_testSYRLISTC_AVERAGEaListOfSyr.AddCoord( 2 , 769 , 431 )
- Llabel_testSYRLISTC_AVERAGEaListOfSyr.AddCoord( 3 , 768 , 431 )
- Llabel_testSYRLISTC_AVERAGEaListOfSyr.AddCoord( 4 , 768 , 430 )
-
- Llabel_testDefaultEndL_OneEvenDefault = GraphSyrControlAveNOTValid.Link( Olabel_testDefault , IEndL_OneEvenDefault )
-
- Lcontrol_m3p1Gatelabel_testGate = GraphSyrControlAveNOTValid.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 553 , 453 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 554 , 1025 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1242 , 1026 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1234 , 204 )
-
- Lcontrol_div2Gatelabel_beginGate = GraphSyrControlAveNOTValid.Link( Ocontrol_div2Gate , Ilabel_beginGate )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 176 , 419 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 176 , 997 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 1217 , 996 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 1223 , 711 )
-
- # Input datas
- Ilabel_beginNB.Input( 31 )
- Ilabel_beginKB.Input( 0 )
- Ilabel_beginMINB.Input( 0 )
- Ilabel_beginMAXB.Input( 0 )
- Ilabel_beginAVERAGEB.Input( 0 )
-
- # Input Ports of the graph
- #IEndL_OneEvenMINT = EndL_OneEven.GetInPort( 'MINT' )
- #IEndL_OneEvenMAXT = EndL_OneEven.GetInPort( 'MAXT' )
- #IEndL_OneEvenAVERAGET = EndL_OneEven.GetInPort( 'AVERAGET' )
-
- # Output Ports of the graph
- #Olabel_testFinished = label_test.GetOutPort( 'Finished' )
- #Olabel_testIncr = label_test.GetOutPort( 'Incr' )
- #Olabel_testAVERAGE = label_test.GetOutPort( 'AVERAGE' )
- #OEndL_OneEvenMIN = EndL_OneEven.GetOutPort( 'MIN' )
- #OEndL_OneEvenMAX = EndL_OneEven.GetOutPort( 'MAX' )
- #OEndL_OneEvenAVERAGE = EndL_OneEven.GetOutPort( 'AVERAGE' )
- return GraphSyrControlAveNOTValid
-
-
-GraphSyrControlAveNOTValid = DefGraphSyrControlAveNOTValid()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSyrControlAveValid
-#
-from SuperV import *
-
-# Graph creation of GraphSyrControlAveValid
-def DefGraphSyrControlAveValid() :
- GraphSyrControlAveValid = Graph( 'GraphSyrControlAveValid' )
- GraphSyrControlAveValid.SetName( 'GraphSyrControlAveValid' )
- GraphSyrControlAveValid.SetAuthor( 'JR' )
- GraphSyrControlAveValid.SetComment( 'Syracuse algorithm' )
- GraphSyrControlAveValid.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- test_ISEVEN = GraphSyrControlAveValid.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( 370 , 455 )
- 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 = GraphSyrControlAveValid.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( 370 , 127 )
- 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 = GraphSyrControlAveValid.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
- m3p1.SetName( 'm3p1' )
- m3p1.SetAuthor( '' )
- m3p1.SetContainer( 'localhost/FactoryServer' )
- m3p1.SetComment( 'C_M3P1 from SyrComponent' )
- m3p1.Coords( 789 , 0 )
- Im3p1anOddInteger = m3p1.GetInPort( 'anOddInteger' )
- Im3p1Gate = m3p1.GetInPort( 'Gate' )
- Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
- Om3p1Gate = m3p1.GetOutPort( 'Gate' )
-
- div2 = GraphSyrControlAveValid.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 789 , 255 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incr = GraphSyrControlAveValid.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incr.SetName( 'incr' )
- incr.SetAuthor( '' )
- incr.SetContainer( 'localhost/FactoryServer' )
- incr.SetComment( 'C_INCR from SyrComponent' )
- incr.Coords( 790 , 136 )
- IincraCount = incr.GetInPort( 'aCount' )
- IincrGate = incr.GetInPort( 'Gate' )
- OincraNewCount = incr.GetOutPort( 'aNewCount' )
- OincrGate = incr.GetOutPort( 'Gate' )
-
- C_MIN = GraphSyrControlAveValid.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MIN' )
- C_MIN.SetName( 'C_MIN' )
- C_MIN.SetAuthor( '' )
- C_MIN.SetContainer( 'localhost/FactoryServer' )
- C_MIN.SetComment( 'C_MIN from SyrComponent' )
- C_MIN.Coords( 798 , 833 )
- IC_MINaMinVal = C_MIN.GetInPort( 'aMinVal' )
- IC_MINanInteger = C_MIN.GetInPort( 'anInteger' )
- IC_MINGate = C_MIN.GetInPort( 'Gate' )
- OC_MINaNewMinVal = C_MIN.GetOutPort( 'aNewMinVal' )
- OC_MINGate = C_MIN.GetOutPort( 'Gate' )
-
- C_MAX = GraphSyrControlAveValid.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MAX' )
- C_MAX.SetName( 'C_MAX' )
- C_MAX.SetAuthor( '' )
- C_MAX.SetContainer( 'localhost/FactoryServer' )
- C_MAX.SetComment( 'C_MAX from SyrComponent' )
- C_MAX.Coords( 798 , 668 )
- IC_MAXaMaxVal = C_MAX.GetInPort( 'aMaxVal' )
- IC_MAXanInteger = C_MAX.GetInPort( 'anInteger' )
- IC_MAXGate = C_MAX.GetInPort( 'Gate' )
- OC_MAXaNewMaxVal = C_MAX.GetOutPort( 'aNewMaxVal' )
- OC_MAXGate = C_MAX.GetOutPort( 'Gate' )
-
- C_AVERAGE = GraphSyrControlAveValid.FNode( 'SyrComponent' , 'SyrComponent' , 'C_AVERAGE' )
- C_AVERAGE.SetName( 'C_AVERAGE' )
- C_AVERAGE.SetAuthor( '' )
- C_AVERAGE.SetContainer( 'localhost/FactoryServer' )
- C_AVERAGE.SetComment( 'C_AVERAGE from SyrComponent' )
- C_AVERAGE.Coords( 784 , 476 )
- IC_AVERAGEaListOfSyr = C_AVERAGE.GetInPort( 'aListOfSyr' )
- IC_AVERAGEanInteger = C_AVERAGE.GetInPort( 'anInteger' )
- IC_AVERAGEaCount = C_AVERAGE.GetInPort( 'aCount' )
- IC_AVERAGEGate = C_AVERAGE.GetInPort( 'Gate' )
- OC_AVERAGEaNewListOfSyr = C_AVERAGE.GetOutPort( 'aNewListOfSyr' )
- OC_AVERAGEanAverage = C_AVERAGE.GetOutPort( 'anAverage' )
- OC_AVERAGEGate = C_AVERAGE.GetOutPort( 'Gate' )
-
- C_LISTOFSYR = GraphSyrControlAveValid.FNode( 'SyrComponent' , 'SyrComponent' , 'C_LISTOFSYR' )
- C_LISTOFSYR.SetName( 'C_LISTOFSYR' )
- C_LISTOFSYR.SetAuthor( '' )
- C_LISTOFSYR.SetContainer( 'localhost/FactoryServer' )
- C_LISTOFSYR.SetComment( 'C_LISTOFSYR from SyrComponent' )
- C_LISTOFSYR.Coords( 5 , 321 )
- IC_LISTOFSYRGate = C_LISTOFSYR.GetInPort( 'Gate' )
- OC_LISTOFSYRaListOfSyr = C_LISTOFSYR.GetOutPort( 'aListOfSyr' )
- OC_LISTOFSYRGate = C_LISTOFSYR.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- Pylabel_begin = []
- Pylabel_begin.append( 'def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :' )
- Pylabel_begin.append( ' return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB' )
- label_begin = GraphSyrControlAveValid.INode( 'label_begin' , Pylabel_begin )
- label_begin.SetName( 'label_begin' )
- label_begin.SetAuthor( '' )
- label_begin.SetComment( 'Python function' )
- label_begin.Coords( 183 , 220 )
- Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
- Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
- Ilabel_beginMINB = label_begin.InPort( 'MINB' , 'long' )
- Ilabel_beginMAXB = label_begin.InPort( 'MAXB' , 'long' )
- Ilabel_beginAVERAGEB = label_begin.InPort( 'AVERAGEB' , 'double' )
- Ilabel_beginSYRLISTB = label_begin.InPort( 'SYRLISTB' , 'ListOfSyr' )
- Ilabel_beginGate = label_begin.GetInPort( 'Gate' )
- Olabel_beginNT = label_begin.OutPort( 'NT' , 'long' )
- Olabel_beginKT = label_begin.OutPort( 'KT' , 'long' )
- Olabel_beginMIN = label_begin.OutPort( 'MIN' , 'long' )
- Olabel_beginMAX = label_begin.OutPort( 'MAX' , 'long' )
- Olabel_beginAVERAGE = label_begin.OutPort( 'AVERAGE' , 'double' )
- Olabel_beginSYRLIST = label_begin.OutPort( 'SYRLIST' , 'ListOfSyr' )
- Olabel_beginGate = label_begin.GetOutPort( 'Gate' )
-
- # Creation of Switch Nodes
- Pylabel_test = []
- Pylabel_test.append( 'def L_OneEven( ValOne , ValEven , NT , KT , MIN , MAX , AVERAGE , SYRLIST ):' )
- Pylabel_test.append( ' Finished = ValOne' )
- Pylabel_test.append( ' if Finished == 0 :' )
- Pylabel_test.append( ' Incr = 1' )
- Pylabel_test.append( ' Even = ValEven' )
- Pylabel_test.append( ' if Even == 0 :' )
- Pylabel_test.append( ' Odd = 1' )
- Pylabel_test.append( ' else :' )
- Pylabel_test.append( ' Odd = 0' )
- Pylabel_test.append( ' else :' )
- Pylabel_test.append( ' Incr = 0' )
- Pylabel_test.append( ' Even = 0' )
- Pylabel_test.append( ' Odd = 0' )
- Pylabel_test.append( ' Even = ValEven' )
- Pylabel_test.append( ' return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST' )
- label_test,EndL_OneEven = GraphSyrControlAveValid.SNode( 'L_OneEven' , Pylabel_test )
- EndL_OneEven.SetName( 'EndL_OneEven' )
- EndL_OneEven.SetAuthor( '' )
- EndL_OneEven.SetComment( 'Compute Node' )
- EndL_OneEven.Coords( 1064 , 339 )
- PyEndL_OneEven = []
- EndL_OneEven.SetPyFunction( '' , PyEndL_OneEven )
- IEndL_OneEvenMINT = EndL_OneEven.InPort( 'MINT' , 'long' )
- IEndL_OneEvenMAXT = EndL_OneEven.InPort( 'MAXT' , 'long' )
- IEndL_OneEvenAVERAGET = EndL_OneEven.InPort( 'AVERAGET' , 'double' )
- IEndL_OneEvenDefault = EndL_OneEven.GetInPort( 'Default' )
- OEndL_OneEvenMIN = EndL_OneEven.OutPort( 'MIN' , 'long' )
- OEndL_OneEvenMAX = EndL_OneEven.OutPort( 'MAX' , 'long' )
- OEndL_OneEvenAVERAGE = EndL_OneEven.OutPort( 'AVERAGE' , 'double' )
- OEndL_OneEvenGate = EndL_OneEven.GetOutPort( 'Gate' )
- label_test.SetName( 'label_test' )
- label_test.SetAuthor( '' )
- label_test.SetComment( 'Compute Node' )
- label_test.Coords( 564 , 219 )
- Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
- Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
- Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
- Ilabel_testKT = label_test.InPort( 'KT' , 'long' )
- Ilabel_testMIN = label_test.InPort( 'MIN' , 'long' )
- Ilabel_testMAX = label_test.InPort( 'MAX' , 'long' )
- Ilabel_testAVERAGE = label_test.InPort( 'AVERAGE' , 'double' )
- Ilabel_testSYRLIST = label_test.InPort( 'SYRLIST' , 'ListOfSyr' )
- Ilabel_testGate = label_test.GetInPort( 'Gate' )
- Olabel_testFinished = label_test.OutPort( 'Finished' , 'long' )
- Olabel_testIncr = label_test.OutPort( 'Incr' , 'long' )
- Olabel_testEven = label_test.OutPort( 'Even' , 'long' )
- Olabel_testOdd = label_test.OutPort( 'Odd' , 'long' )
- Olabel_testN = label_test.OutPort( 'N' , 'long' )
- Olabel_testK = label_test.OutPort( 'K' , 'long' )
- Olabel_testMINT = label_test.OutPort( 'MINT' , 'long' )
- Olabel_testMAXT = label_test.OutPort( 'MAXT' , 'long' )
- Olabel_testAVERAGET = label_test.OutPort( 'AVERAGET' , 'double' )
- Olabel_testSYRLISTT = label_test.OutPort( 'SYRLISTT' , 'ListOfSyr' )
- Olabel_testDefault = label_test.GetOutPort( 'Default' )
-
- # Creation of GOTO Nodes
- Pycontrol_m3p1 = []
- Pycontrol_m3p1.append( 'def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):' )
- Pycontrol_m3p1.append( ' return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
- control_m3p1 = GraphSyrControlAveValid.GNode( 'C_NotOneIsEven' , Pycontrol_m3p1 , 'label_test' )
- control_m3p1.SetName( 'control_m3p1' )
- control_m3p1.SetAuthor( '' )
- control_m3p1.SetComment( 'Compute Node' )
- control_m3p1.Coords( 1058 , 8 )
- Icontrol_m3p1N = control_m3p1.InPort( 'N' , 'long' )
- Icontrol_m3p1K = control_m3p1.InPort( 'K' , 'long' )
- Icontrol_m3p1MINT = control_m3p1.InPort( 'MINT' , 'long' )
- Icontrol_m3p1MAXT = control_m3p1.InPort( 'MAXT' , 'long' )
- Icontrol_m3p1AVERAGET = control_m3p1.InPort( 'AVERAGET' , 'double' )
- Icontrol_m3p1SYRLISTT = control_m3p1.InPort( 'SYRLISTT' , 'ListOfSyr' )
- Icontrol_m3p1Gate = control_m3p1.GetInPort( 'Gate' )
- Ocontrol_m3p1ValOne = control_m3p1.OutPort( 'ValOne' , 'long' )
- Ocontrol_m3p1ValEven = control_m3p1.OutPort( 'ValEven' , 'long' )
- Ocontrol_m3p1NT = control_m3p1.OutPort( 'NT' , 'long' )
- Ocontrol_m3p1KT = control_m3p1.OutPort( 'KT' , 'long' )
- Ocontrol_m3p1MIN = control_m3p1.OutPort( 'MIN' , 'long' )
- Ocontrol_m3p1MAX = control_m3p1.OutPort( 'MAX' , 'long' )
- Ocontrol_m3p1AVERAGE = control_m3p1.OutPort( 'AVERAGE' , 'double' )
- Ocontrol_m3p1SYRLIST = control_m3p1.OutPort( 'SYRLIST' , 'ListOfSyr' )
- Ocontrol_m3p1Gate = control_m3p1.GetOutPort( 'Gate' )
-
- Pycontrol_div2 = []
- Pycontrol_div2.append( 'def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :' )
- Pycontrol_div2.append( ' return N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
- control_div2 = GraphSyrControlAveValid.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
- control_div2.SetName( 'control_div2' )
- control_div2.SetAuthor( '' )
- control_div2.SetComment( 'Compute Node' )
- control_div2.Coords( 1048 , 555 )
- Icontrol_div2N = control_div2.InPort( 'N' , 'long' )
- Icontrol_div2K = control_div2.InPort( 'K' , 'long' )
- Icontrol_div2MINT = control_div2.InPort( 'MINT' , 'long' )
- Icontrol_div2MAXT = control_div2.InPort( 'MAXT' , 'long' )
- Icontrol_div2AVERAGET = control_div2.InPort( 'AVERAGET' , 'double' )
- Icontrol_div2SYRLISTT = control_div2.InPort( 'SYRLISTT' , 'ListOfSyr' )
- Icontrol_div2Gate = control_div2.GetInPort( 'Gate' )
- Ocontrol_div2NB = control_div2.OutPort( 'NB' , 'long' )
- Ocontrol_div2KB = control_div2.OutPort( 'KB' , 'long' )
- Ocontrol_div2MINB = control_div2.OutPort( 'MINB' , 'long' )
- Ocontrol_div2MAXB = control_div2.OutPort( 'MAXB' , 'long' )
- Ocontrol_div2AVERAGEB = control_div2.OutPort( 'AVERAGEB' , 'double' )
- Ocontrol_div2SYRLISTB = control_div2.OutPort( 'SYRLISTB' , 'ListOfSyr' )
- Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
-
- # Creation of Links
- Ltest_ISEVENBoolEvenlabel_testValEven = GraphSyrControlAveValid.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 544 , 256 )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 544 , 524 )
-
- Ltest_ISONEBoolOnelabel_testValOne = GraphSyrControlAveValid.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 546 , 237 )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 546 , 198 )
-
- Lm3p1anEvenIntegercontrol_m3p1N = GraphSyrControlAveValid.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
- Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 1 , 975 , 38 )
- Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 2 , 976 , 81 )
-
- Ldiv2anIntegercontrol_div2N = GraphSyrControlAveValid.Link( Odiv2anInteger , Icontrol_div2N )
- Ldiv2anIntegercontrol_div2N.AddCoord( 1 , 1012 , 585 )
- Ldiv2anIntegercontrol_div2N.AddCoord( 2 , 1011 , 346 )
-
- LincraNewCountcontrol_div2K = GraphSyrControlAveValid.Link( OincraNewCount , Icontrol_div2K )
- LincraNewCountcontrol_div2K.AddCoord( 1 , 966 , 606 )
- LincraNewCountcontrol_div2K.AddCoord( 2 , 968 , 207 )
-
- LincraNewCountcontrol_m3p1K = GraphSyrControlAveValid.Link( OincraNewCount , Icontrol_m3p1K )
- LincraNewCountcontrol_m3p1K.AddCoord( 1 , 965 , 59 )
- LincraNewCountcontrol_m3p1K.AddCoord( 2 , 966 , 208 )
-
- LincraNewCountC_AVERAGEaCount = GraphSyrControlAveValid.Link( OincraNewCount , IC_AVERAGEaCount )
- LincraNewCountC_AVERAGEaCount.AddCoord( 1 , 751 , 588 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 2 , 751 , 460 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 3 , 965 , 462 )
- LincraNewCountC_AVERAGEaCount.AddCoord( 4 , 968 , 205 )
-
- LC_MINaNewMinValcontrol_m3p1MINT = GraphSyrControlAveValid.Link( OC_MINaNewMinVal , Icontrol_m3p1MINT )
- LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 1 , 991 , 78 )
- LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 2 , 991 , 905 )
-
- LC_MINaNewMinValcontrol_div2MINT = GraphSyrControlAveValid.Link( OC_MINaNewMinVal , Icontrol_div2MINT )
- LC_MINaNewMinValcontrol_div2MINT.AddCoord( 1 , 991 , 626 )
- LC_MINaNewMinValcontrol_div2MINT.AddCoord( 2 , 991 , 905 )
-
- LC_MAXaNewMaxValcontrol_m3p1MAXT = GraphSyrControlAveValid.Link( OC_MAXaNewMaxVal , Icontrol_m3p1MAXT )
- LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 1 , 976 , 98 )
- LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 2 , 974 , 738 )
-
- LC_MAXaNewMaxValcontrol_div2MAXT = GraphSyrControlAveValid.Link( OC_MAXaNewMaxVal , Icontrol_div2MAXT )
- LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 1 , 972 , 648 )
- LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 2 , 974 , 738 )
-
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT = GraphSyrControlAveValid.Link( OC_AVERAGEaNewListOfSyr , Icontrol_m3p1SYRLISTT )
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 1 , 1037 , 137 )
- LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 2 , 1038 , 556 )
-
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT = GraphSyrControlAveValid.Link( OC_AVERAGEaNewListOfSyr , Icontrol_div2SYRLISTT )
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 1 , 1038 , 686 )
- LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 2 , 1038 , 555 )
-
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET = GraphSyrControlAveValid.Link( OC_AVERAGEanAverage , Icontrol_m3p1AVERAGET )
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 1 , 1026 , 118 )
- LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 2 , 1027 , 567 )
-
- LC_AVERAGEanAveragecontrol_div2AVERAGET = GraphSyrControlAveValid.Link( OC_AVERAGEanAverage , Icontrol_div2AVERAGET )
- LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 1 , 1027 , 668 )
- LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 2 , 1026 , 568 )
-
- LC_LISTOFSYRaListOfSyrlabel_beginSYRLISTB = GraphSyrControlAveValid.Link( OC_LISTOFSYRaListOfSyr , Ilabel_beginSYRLISTB )
-
- Llabel_beginNTtest_ISONEanInteger = GraphSyrControlAveValid.Link( Olabel_beginNT , Itest_ISONEanInteger )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 361 , 197 )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 360 , 290 )
-
- Llabel_beginNTlabel_testNT = GraphSyrControlAveValid.Link( Olabel_beginNT , Ilabel_testNT )
-
- Llabel_beginNTtest_ISEVENanInteger = GraphSyrControlAveValid.Link( Olabel_beginNT , Itest_ISEVENanInteger )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 359 , 525 )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 361 , 291 )
-
- Llabel_beginKTlabel_testKT = GraphSyrControlAveValid.Link( Olabel_beginKT , Ilabel_testKT )
-
- Llabel_beginMINlabel_testMIN = GraphSyrControlAveValid.Link( Olabel_beginMIN , Ilabel_testMIN )
-
- Llabel_beginMAXlabel_testMAX = GraphSyrControlAveValid.Link( Olabel_beginMAX , Ilabel_testMAX )
-
- Llabel_beginAVERAGElabel_testAVERAGE = GraphSyrControlAveValid.Link( Olabel_beginAVERAGE , Ilabel_testAVERAGE )
-
- Llabel_beginSYRLISTlabel_testSYRLIST = GraphSyrControlAveValid.Link( Olabel_beginSYRLIST , Ilabel_testSYRLIST )
-
- Llabel_testEvendiv2Gate = GraphSyrControlAveValid.Link( Olabel_testEven , Idiv2Gate )
- Llabel_testEvendiv2Gate.AddCoord( 1 , 777 , 351 )
- Llabel_testEvendiv2Gate.AddCoord( 2 , 777 , 286 )
-
- Llabel_testOddm3p1Gate = GraphSyrControlAveValid.Link( Olabel_testOdd , Im3p1Gate )
- Llabel_testOddm3p1Gate.AddCoord( 1 , 757 , 95 )
- Llabel_testOddm3p1Gate.AddCoord( 2 , 757 , 310 )
-
- Llabel_testNm3p1anOddInteger = GraphSyrControlAveValid.Link( Olabel_testN , Im3p1anOddInteger )
- Llabel_testNm3p1anOddInteger.AddCoord( 1 , 741 , 72 )
- Llabel_testNm3p1anOddInteger.AddCoord( 2 , 741 , 331 )
-
- Llabel_testNdiv2anEvenInteger = GraphSyrControlAveValid.Link( Olabel_testN , Idiv2anEvenInteger )
-
- Llabel_testNC_MINanInteger = GraphSyrControlAveValid.Link( Olabel_testN , IC_MINanInteger )
- Llabel_testNC_MINanInteger.AddCoord( 1 , 744 , 923 )
- Llabel_testNC_MINanInteger.AddCoord( 2 , 742 , 331 )
-
- Llabel_testNC_MAXanInteger = GraphSyrControlAveValid.Link( Olabel_testN , IC_MAXanInteger )
- Llabel_testNC_MAXanInteger.AddCoord( 1 , 742 , 759 )
- Llabel_testNC_MAXanInteger.AddCoord( 2 , 743 , 332 )
-
- Llabel_testNC_AVERAGEanInteger = GraphSyrControlAveValid.Link( Olabel_testN , IC_AVERAGEanInteger )
- Llabel_testNC_AVERAGEanInteger.AddCoord( 1 , 741 , 568 )
- Llabel_testNC_AVERAGEanInteger.AddCoord( 2 , 742 , 330 )
-
- Llabel_testKincraCount = GraphSyrControlAveValid.Link( Olabel_testK , IincraCount )
- Llabel_testKincraCount.AddCoord( 1 , 766 , 207 )
- Llabel_testKincraCount.AddCoord( 2 , 766 , 343 )
-
- Llabel_testMINTC_MINaMinVal = GraphSyrControlAveValid.Link( Olabel_testMINT , IC_MINaMinVal )
- Llabel_testMINTC_MINaMinVal.AddCoord( 1 , 760 , 904 )
- Llabel_testMINTC_MINaMinVal.AddCoord( 2 , 756 , 372 )
-
- Llabel_testMINTEndL_OneEvenMINT = GraphSyrControlAveValid.Link( Olabel_testMINT , IEndL_OneEvenMINT )
-
- Llabel_testMAXTC_MAXaMaxVal = GraphSyrControlAveValid.Link( Olabel_testMAXT , IC_MAXaMaxVal )
- Llabel_testMAXTC_MAXaMaxVal.AddCoord( 1 , 765 , 742 )
- Llabel_testMAXTC_MAXaMaxVal.AddCoord( 2 , 766 , 384 )
-
- Llabel_testMAXTEndL_OneEvenMAXT = GraphSyrControlAveValid.Link( Olabel_testMAXT , IEndL_OneEvenMAXT )
-
- Llabel_testAVERAGETEndL_OneEvenAVERAGET = GraphSyrControlAveValid.Link( Olabel_testAVERAGET , IEndL_OneEvenAVERAGET )
-
- Llabel_testSYRLISTTC_AVERAGEaListOfSyr = GraphSyrControlAveValid.Link( Olabel_testSYRLISTT , IC_AVERAGEaListOfSyr )
- Llabel_testSYRLISTTC_AVERAGEaListOfSyr.AddCoord( 1 , 773 , 546 )
- Llabel_testSYRLISTTC_AVERAGEaListOfSyr.AddCoord( 2 , 772 , 424 )
-
- Llabel_testDefaultEndL_OneEvenDefault = GraphSyrControlAveValid.Link( Olabel_testDefault , IEndL_OneEvenDefault )
-
- Lcontrol_m3p1Gatelabel_testGate = GraphSyrControlAveValid.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 553 , 453 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 554 , 1025 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1242 , 1026 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1234 , 204 )
-
- Lcontrol_div2Gatelabel_beginGate = GraphSyrControlAveValid.Link( Ocontrol_div2Gate , Ilabel_beginGate )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 176 , 419 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 176 , 997 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 1217 , 996 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 1223 , 711 )
-
- # Input datas
- Ilabel_beginNB.Input( 31 )
- Ilabel_beginKB.Input( 0 )
- Ilabel_beginMINB.Input( 0 )
- Ilabel_beginMAXB.Input( 0 )
- Ilabel_beginAVERAGEB.Input( 0 )
-
- # Output Ports of the graph
- #Olabel_testFinished = label_test.GetOutPort( 'Finished' )
- #Olabel_testIncr = label_test.GetOutPort( 'Incr' )
- #OEndL_OneEvenMIN = EndL_OneEven.GetOutPort( 'MIN' )
- #OEndL_OneEvenMAX = EndL_OneEven.GetOutPort( 'MAX' )
- #OEndL_OneEvenAVERAGE = EndL_OneEven.GetOutPort( 'AVERAGE' )
- return GraphSyrControlAveValid
-
-
-GraphSyrControlAveValid = DefGraphSyrControlAveValid()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSyrControlDefault
-#
-from SuperV import *
-
-# Graph creation of GraphSyrControlDefault
-def DefGraphSyrControlDefault() :
- GraphSyrControlDefault = Graph( 'GraphSyrControlDefault' )
- GraphSyrControlDefault.SetName( 'GraphSyrControlDefault' )
- GraphSyrControlDefault.SetAuthor( 'JR' )
- GraphSyrControlDefault.SetComment( 'Syracuse algorithm' )
- GraphSyrControlDefault.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- test_ISEVEN = GraphSyrControlDefault.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( 204 , 444 )
- 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 = GraphSyrControlDefault.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 , 52 )
- 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 = GraphSyrControlDefault.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
- m3p1.SetName( 'm3p1' )
- m3p1.SetAuthor( '' )
- m3p1.SetContainer( 'localhost/FactoryServer' )
- m3p1.SetComment( 'C_M3P1 from SyrComponent' )
- m3p1.Coords( 806 , 19 )
- Im3p1anOddInteger = m3p1.GetInPort( 'anOddInteger' )
- Im3p1Gate = m3p1.GetInPort( 'Gate' )
- Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
- Om3p1Gate = m3p1.GetOutPort( 'Gate' )
-
- div2 = GraphSyrControlDefault.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 803 , 451 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incr = GraphSyrControlDefault.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incr.SetName( 'incr' )
- incr.SetAuthor( '' )
- incr.SetContainer( 'localhost/FactoryServer' )
- incr.SetComment( 'C_INCR from SyrComponent' )
- incr.Coords( 802 , 170 )
- IincraCount = incr.GetInPort( 'aCount' )
- IincrGate = incr.GetInPort( 'Gate' )
- OincraNewCount = incr.GetOutPort( 'aNewCount' )
- OincrGate = incr.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- Pylabel_begin = []
- Pylabel_begin.append( 'def label_begin( NB , KB ):' )
- Pylabel_begin.append( ' print "label_begin",NB,KB' )
- Pylabel_begin.append( ' return NB,KB' )
- label_begin = GraphSyrControlDefault.INode( 'label_begin' , Pylabel_begin )
- label_begin.SetName( 'label_begin' )
- label_begin.SetAuthor( '' )
- label_begin.SetComment( 'Python function' )
- label_begin.Coords( 12 , 264 )
- Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
- Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
- Ilabel_beginGate = label_begin.GetInPort( 'Gate' )
- Olabel_beginNT = label_begin.OutPort( 'NT' , 'long' )
- Olabel_beginKT = label_begin.OutPort( 'KT' , 'long' )
- Olabel_beginGate = label_begin.GetOutPort( 'Gate' )
-
- Pylabel_test = []
- 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 = GraphSyrControlDefault.INode( 'label_test' , Pylabel_test )
- label_test.SetName( 'label_test' )
- label_test.SetAuthor( '' )
- label_test.SetComment( 'Python function' )
- label_test.Coords( 415 , 206 )
- Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
- Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
- Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
- Ilabel_testKT = label_test.InPort( 'KT' , 'long' )
- Ilabel_testGate = label_test.GetInPort( 'Gate' )
- Olabel_testValEven = label_test.OutPort( 'ValEven' , 'long' )
- Olabel_testValOne = label_test.OutPort( 'ValOne' , 'long' )
- Olabel_testNT = label_test.OutPort( 'NT' , 'long' )
- Olabel_testKT = label_test.OutPort( 'KT' , 'long' )
- Olabel_testGate = label_test.GetOutPort( 'Gate' )
-
- # Creation of Switch Nodes
- Pytest = []
- Pytest.append( 'def Switch_OneEven( ValOne , ValEven , NT , KT ) :' )
- Pytest.append( ' Finished = ValOne' )
- Pytest.append( ' if Finished == 0 :' )
- Pytest.append( ' Incr = 1' )
- Pytest.append( ' Even = ValEven' )
- Pytest.append( ' if Even == 0 :' )
- Pytest.append( ' Odd = 1' )
- Pytest.append( ' else :' )
- Pytest.append( ' Odd = 0' )
- Pytest.append( ' else :' )
- Pytest.append( ' Incr = 0' )
- Pytest.append( ' Even = 0' )
- Pytest.append( ' Odd = 0' )
- Pytest.append( ' Even = ValEven' )
- Pytest.append( ' return Incr,Even,Odd,NT,KT' )
- test,EndSwitch_OneEven = GraphSyrControlDefault.SNode( 'Switch_OneEven' , Pytest )
- EndSwitch_OneEven.SetName( 'EndSwitch_OneEven' )
- EndSwitch_OneEven.SetAuthor( '' )
- EndSwitch_OneEven.SetComment( 'Compute Node' )
- EndSwitch_OneEven.Coords( 1074 , 367 )
- PyEndSwitch_OneEven = []
- EndSwitch_OneEven.SetPyFunction( '' , PyEndSwitch_OneEven )
- IEndSwitch_OneEvenK = EndSwitch_OneEven.InPort( 'K' , 'long' )
- IEndSwitch_OneEvenDefault = EndSwitch_OneEven.GetInPort( 'Default' )
- OEndSwitch_OneEvenK = EndSwitch_OneEven.OutPort( 'K' , 'long' )
- OEndSwitch_OneEvenGate = EndSwitch_OneEven.GetOutPort( 'Gate' )
- test.SetName( 'test' )
- test.SetAuthor( '' )
- test.SetComment( 'Compute Node' )
- test.Coords( 597 , 251 )
- ItestValOne = test.InPort( 'ValOne' , 'long' )
- ItestValEven = test.InPort( 'ValEven' , 'long' )
- ItestNT = test.InPort( 'NT' , 'long' )
- ItestKT = test.InPort( 'KT' , 'long' )
- ItestGate = test.GetInPort( 'Gate' )
- OtestIncr = test.OutPort( 'Incr' , 'long' )
- OtestEven = test.OutPort( 'Even' , 'long' )
- OtestOdd = test.OutPort( 'Odd' , 'long' )
- OtestN = test.OutPort( 'N' , 'long' )
- OtestK = test.OutPort( 'K' , 'long' )
- OtestDefault = test.GetOutPort( 'Default' )
-
- # Creation of GOTO Nodes
- Pycontrol_m3p1 = []
- Pycontrol_m3p1.append( 'def control_m3p1( N , K ):' )
- Pycontrol_m3p1.append( ' return 0,1,N,K' )
- control_m3p1 = GraphSyrControlDefault.GNode( 'control_m3p1' , Pycontrol_m3p1 , 'label_test' )
- control_m3p1.SetName( 'control_m3p1' )
- control_m3p1.SetAuthor( '' )
- control_m3p1.SetComment( 'Compute Node' )
- control_m3p1.Coords( 1002 , 64 )
- Icontrol_m3p1N = control_m3p1.InPort( 'N' , 'long' )
- Icontrol_m3p1K = control_m3p1.InPort( 'K' , 'long' )
- Icontrol_m3p1Gate = control_m3p1.GetInPort( 'Gate' )
- Ocontrol_m3p1ValOne = control_m3p1.OutPort( 'ValOne' , 'long' )
- Ocontrol_m3p1ValEven = control_m3p1.OutPort( 'ValEven' , 'long' )
- Ocontrol_m3p1NT = control_m3p1.OutPort( 'NT' , 'long' )
- Ocontrol_m3p1KT = control_m3p1.OutPort( 'KT' , 'long' )
- Ocontrol_m3p1Gate = control_m3p1.GetOutPort( 'Gate' )
-
- Pycontrol_div2 = []
- Pycontrol_div2.append( 'def control_div2( N , NB ) :' )
- Pycontrol_div2.append( ' return N,NB' )
- control_div2 = GraphSyrControlDefault.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
- control_div2.SetName( 'control_div2' )
- control_div2.SetAuthor( '' )
- control_div2.SetComment( 'Compute Node' )
- control_div2.Coords( 1013 , 496 )
- Icontrol_div2N = control_div2.InPort( 'N' , 'long' )
- Icontrol_div2K = control_div2.InPort( 'K' , 'long' )
- Icontrol_div2Gate = control_div2.GetInPort( 'Gate' )
- Ocontrol_div2NB = control_div2.OutPort( 'NB' , 'long' )
- Ocontrol_div2KB = control_div2.OutPort( 'KB' , 'long' )
- Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
-
- # Creation of Links
- Ltest_ISEVENBoolEvenlabel_testValEven = GraphSyrControlDefault.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 381 , 286 )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 382 , 524 )
-
- Ltest_ISONEBoolOnelabel_testValOne = GraphSyrControlDefault.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 393 , 314 )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 393 , 133 )
-
- Lm3p1anEvenIntegercontrol_m3p1N = GraphSyrControlDefault.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
-
- Ldiv2anIntegercontrol_div2N = GraphSyrControlDefault.Link( Odiv2anInteger , Icontrol_div2N )
-
- LincraNewCountcontrol_m3p1K = GraphSyrControlDefault.Link( OincraNewCount , Icontrol_m3p1K )
- LincraNewCountcontrol_m3p1K.AddCoord( 1 , 985 , 128 )
- LincraNewCountcontrol_m3p1K.AddCoord( 2 , 985 , 250 )
-
- LincraNewCountcontrol_div2K = GraphSyrControlDefault.Link( OincraNewCount , Icontrol_div2K )
- LincraNewCountcontrol_div2K.AddCoord( 1 , 987 , 559 )
- LincraNewCountcontrol_div2K.AddCoord( 2 , 985 , 250 )
-
- Llabel_beginNTlabel_testNT = GraphSyrControlDefault.Link( Olabel_beginNT , Ilabel_testNT )
-
- Llabel_beginNTtest_ISEVENanInteger = GraphSyrControlDefault.Link( Olabel_beginNT , Itest_ISEVENanInteger )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 191 , 524 )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 192 , 345 )
-
- Llabel_beginNTtest_ISONEanInteger = GraphSyrControlDefault.Link( Olabel_beginNT , Itest_ISONEanInteger )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 192 , 131 )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 193 , 345 )
-
- Llabel_beginKTlabel_testKT = GraphSyrControlDefault.Link( Olabel_beginKT , Ilabel_testKT )
-
- Llabel_testValEventestValEven = GraphSyrControlDefault.Link( Olabel_testValEven , ItestValEven )
-
- Llabel_testValOnetestValOne = GraphSyrControlDefault.Link( Olabel_testValOne , ItestValOne )
-
- Llabel_testNTtestNT = GraphSyrControlDefault.Link( Olabel_testNT , ItestNT )
-
- Llabel_testKTtestKT = GraphSyrControlDefault.Link( Olabel_testKT , ItestKT )
-
- LtestEvendiv2Gate = GraphSyrControlDefault.Link( OtestEven , Idiv2Gate )
- LtestEvendiv2Gate.AddCoord( 1 , 793 , 567 )
- LtestEvendiv2Gate.AddCoord( 2 , 792 , 314 )
-
- LtestOddm3p1Gate = GraphSyrControlDefault.Link( OtestOdd , Im3p1Gate )
- LtestOddm3p1Gate.AddCoord( 1 , 786 , 132 )
- LtestOddm3p1Gate.AddCoord( 2 , 785 , 343 )
-
- LtestNm3p1anOddInteger = GraphSyrControlDefault.Link( OtestN , Im3p1anOddInteger )
- LtestNm3p1anOddInteger.AddCoord( 1 , 767 , 100 )
- LtestNm3p1anOddInteger.AddCoord( 2 , 767 , 371 )
-
- LtestNdiv2anEvenInteger = GraphSyrControlDefault.Link( OtestN , Idiv2anEvenInteger )
- LtestNdiv2anEvenInteger.AddCoord( 1 , 768 , 531 )
- LtestNdiv2anEvenInteger.AddCoord( 2 , 767 , 371 )
-
- LtestKEndSwitch_OneEvenK = GraphSyrControlDefault.Link( OtestK , IEndSwitch_OneEvenK )
-
- LtestKincraCount = GraphSyrControlDefault.Link( OtestK , IincraCount )
- LtestKincraCount.AddCoord( 1 , 773 , 251 )
- LtestKincraCount.AddCoord( 2 , 774 , 400 )
-
- LtestDefaultEndSwitch_OneEvenDefault = GraphSyrControlDefault.Link( OtestDefault , IEndSwitch_OneEvenDefault )
-
- Lcontrol_m3p1Gatelabel_testGate = GraphSyrControlDefault.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 402 , 406 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 403 , 4 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1174 , 5 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1175 , 219 )
-
- Lcontrol_div2Gatelabel_beginGate = GraphSyrControlDefault.Link( Ocontrol_div2Gate , Ilabel_beginGate )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 3 , 409 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 2 , 671 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 1199 , 670 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 1198 , 592 )
-
- # Input datas
- Ilabel_beginNB.Input( 7 )
- Ilabel_beginKB.Input( 0 )
-
- # Output Ports of the graph
- #OtestIncr = test.GetOutPort( 'Incr' )
- #OEndSwitch_OneEvenK = EndSwitch_OneEven.GetOutPort( 'K' )
- return GraphSyrControlDefault
-
-
-GraphSyrControlDefault = DefGraphSyrControlDefault()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphSyrControlGUI_2
-#
-from SuperV import *
-
-# Graph creation of GraphSyrControlGUI_2
-def DefGraphSyrControlGUI_2() :
- GraphSyrControlGUI_2 = Graph( 'GraphSyrControlGUI_2' )
- GraphSyrControlGUI_2.SetName( 'GraphSyrControlGUI_2' )
- GraphSyrControlGUI_2.SetAuthor( 'JR' )
- GraphSyrControlGUI_2.SetComment( 'Syracuse algorithm' )
- GraphSyrControlGUI_2.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- test_ISEVEN = GraphSyrControlGUI_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( 288 , 337 )
- 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 = GraphSyrControlGUI_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( 293 , 130 )
- 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 = GraphSyrControlGUI_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
- m3p1.SetName( 'm3p1' )
- m3p1.SetAuthor( '' )
- m3p1.SetContainer( 'localhost/FactoryServer' )
- m3p1.SetComment( 'C_M3P1 from SyrComponent' )
- m3p1.Coords( 761 , 19 )
- Im3p1anOddInteger = m3p1.GetInPort( 'anOddInteger' )
- Im3p1Gate = m3p1.GetInPort( 'Gate' )
- Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
- Om3p1Gate = m3p1.GetOutPort( 'Gate' )
-
- div2 = GraphSyrControlGUI_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
- div2.SetName( 'div2' )
- div2.SetAuthor( '' )
- div2.SetContainer( 'localhost/FactoryServer' )
- div2.SetComment( 'C_DIV2 from SyrComponent' )
- div2.Coords( 770 , 384 )
- Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
- Idiv2Gate = div2.GetInPort( 'Gate' )
- Odiv2anInteger = div2.GetOutPort( 'anInteger' )
- Odiv2Gate = div2.GetOutPort( 'Gate' )
-
- incr = GraphSyrControlGUI_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
- incr.SetName( 'incr' )
- incr.SetAuthor( '' )
- incr.SetContainer( 'localhost/FactoryServer' )
- incr.SetComment( 'C_INCR from SyrComponent' )
- incr.Coords( 764 , 179 )
- IincraCount = incr.GetInPort( 'aCount' )
- IincrGate = incr.GetInPort( 'Gate' )
- OincraNewCount = incr.GetOutPort( 'aNewCount' )
- OincrGate = incr.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- Pylabel_begin = []
- Pylabel_begin.append( 'def label_begin( NB , KB ) :' )
- Pylabel_begin.append( ' return NB,KB' )
- label_begin = GraphSyrControlGUI_2.INode( 'label_begin' , Pylabel_begin )
- label_begin.SetName( 'label_begin' )
- label_begin.SetAuthor( '' )
- label_begin.SetComment( 'Python function' )
- label_begin.Coords( 58 , 189 )
- Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
- Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
- Ilabel_beginGate = label_begin.GetInPort( 'Gate' )
- Olabel_beginNT = label_begin.OutPort( 'NT' , 'long' )
- Olabel_beginKT = label_begin.OutPort( 'KT' , 'long' )
- Olabel_beginGate = label_begin.GetOutPort( 'Gate' )
-
- # Creation of Switch Nodes
- Pylabel_test = []
- Pylabel_test.append( 'def L_OneEven( ValOne , ValEven , NT , KT ):' )
- Pylabel_test.append( ' Finished = ValOne' )
- Pylabel_test.append( ' if Finished == 0 :' )
- Pylabel_test.append( ' Incr = 1' )
- Pylabel_test.append( ' Even = ValEven' )
- Pylabel_test.append( ' if Even == 0 :' )
- Pylabel_test.append( ' Odd = 1' )
- Pylabel_test.append( ' else :' )
- Pylabel_test.append( ' Odd = 0' )
- Pylabel_test.append( ' else :' )
- Pylabel_test.append( ' Incr = 0' )
- Pylabel_test.append( ' Even = 0' )
- Pylabel_test.append( ' Odd = 0' )
- Pylabel_test.append( ' Even = ValEven' )
- Pylabel_test.append( ' return Finished,Incr,Even,Odd,NT,KT' )
- label_test,EndL_OneEven = GraphSyrControlGUI_2.SNode( 'L_OneEven' , Pylabel_test )
- EndL_OneEven.SetName( 'EndL_OneEven' )
- EndL_OneEven.SetAuthor( '' )
- EndL_OneEven.SetComment( 'Compute Node' )
- EndL_OneEven.Coords( 1069 , 310 )
- PyEndL_OneEven = []
- EndL_OneEven.SetPyFunction( '' , PyEndL_OneEven )
- IEndL_OneEvenDefault = EndL_OneEven.GetInPort( 'Default' )
- OEndL_OneEvenGate = EndL_OneEven.GetOutPort( 'Gate' )
- label_test.SetName( 'label_test' )
- label_test.SetAuthor( '' )
- label_test.SetComment( 'Compute Node' )
- label_test.Coords( 515 , 190 )
- Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
- Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
- Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
- Ilabel_testKT = label_test.InPort( 'KT' , 'long' )
- Ilabel_testGate = label_test.GetInPort( 'Gate' )
- Olabel_testFinished = label_test.OutPort( 'Finished' , 'long' )
- Olabel_testIncr = label_test.OutPort( 'Incr' , 'long' )
- Olabel_testEven = label_test.OutPort( 'Even' , 'long' )
- Olabel_testOdd = label_test.OutPort( 'Odd' , 'long' )
- Olabel_testN = label_test.OutPort( 'N' , 'long' )
- Olabel_testK = label_test.OutPort( 'K' , 'long' )
- Olabel_testDefault = label_test.GetOutPort( 'Default' )
-
- # Creation of GOTO Nodes
- Pycontrol_m3p1 = []
- Pycontrol_m3p1.append( 'def C_NotOneIsEven( N , K ):' )
- Pycontrol_m3p1.append( ' return 0,1,N,K' )
- control_m3p1 = GraphSyrControlGUI_2.GNode( 'C_NotOneIsEven' , Pycontrol_m3p1 , 'label_test' )
- control_m3p1.SetName( 'control_m3p1' )
- control_m3p1.SetAuthor( '' )
- control_m3p1.SetComment( 'Compute Node' )
- control_m3p1.Coords( 973 , 59 )
- Icontrol_m3p1N = control_m3p1.InPort( 'N' , 'long' )
- Icontrol_m3p1K = control_m3p1.InPort( 'K' , 'long' )
- Icontrol_m3p1Gate = control_m3p1.GetInPort( 'Gate' )
- Ocontrol_m3p1ValOne = control_m3p1.OutPort( 'ValOne' , 'long' )
- Ocontrol_m3p1ValEven = control_m3p1.OutPort( 'ValEven' , 'long' )
- Ocontrol_m3p1NT = control_m3p1.OutPort( 'NT' , 'long' )
- Ocontrol_m3p1KT = control_m3p1.OutPort( 'KT' , 'long' )
- Ocontrol_m3p1Gate = control_m3p1.GetOutPort( 'Gate' )
-
- Pycontrol_div2 = []
- Pycontrol_div2.append( 'def control_div2( N , K ) :' )
- Pycontrol_div2.append( ' return N,K' )
- control_div2 = GraphSyrControlGUI_2.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
- control_div2.SetName( 'control_div2' )
- control_div2.SetAuthor( '' )
- control_div2.SetComment( 'Compute Node' )
- control_div2.Coords( 973 , 424 )
- Icontrol_div2N = control_div2.InPort( 'N' , 'long' )
- Icontrol_div2K = control_div2.InPort( 'K' , 'long' )
- Icontrol_div2Gate = control_div2.GetInPort( 'Gate' )
- Ocontrol_div2NB = control_div2.OutPort( 'NB' , 'long' )
- Ocontrol_div2KB = control_div2.OutPort( 'KB' , 'long' )
- Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
-
- # Creation of Links
- Ltest_ISEVENBoolEvenlabel_testValEven = GraphSyrControlGUI_2.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 493 , 241 )
- Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 492 , 405 )
-
- Ltest_ISONEBoolOnelabel_testValOne = GraphSyrControlGUI_2.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 476 , 222 )
- Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 476 , 202 )
-
- Lm3p1anEvenIntegercontrol_m3p1N = GraphSyrControlGUI_2.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
-
- Ldiv2anIntegercontrol_div2N = GraphSyrControlGUI_2.Link( Odiv2anInteger , Icontrol_div2N )
-
- LincraNewCountcontrol_div2K = GraphSyrControlGUI_2.Link( OincraNewCount , Icontrol_div2K )
- LincraNewCountcontrol_div2K.AddCoord( 1 , 954 , 475 )
- LincraNewCountcontrol_div2K.AddCoord( 2 , 953 , 251 )
-
- LincraNewCountcontrol_m3p1K = GraphSyrControlGUI_2.Link( OincraNewCount , Icontrol_m3p1K )
- LincraNewCountcontrol_m3p1K.AddCoord( 1 , 955 , 110 )
- LincraNewCountcontrol_m3p1K.AddCoord( 2 , 953 , 250 )
-
- Llabel_beginNTtest_ISONEanInteger = GraphSyrControlGUI_2.Link( Olabel_beginNT , Itest_ISONEanInteger )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 275 , 201 )
- Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 275 , 260 )
-
- Llabel_beginNTlabel_testNT = GraphSyrControlGUI_2.Link( Olabel_beginNT , Ilabel_testNT )
-
- Llabel_beginNTtest_ISEVENanInteger = GraphSyrControlGUI_2.Link( Olabel_beginNT , Itest_ISEVENanInteger )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 275 , 408 )
- Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 275 , 261 )
-
- Llabel_beginKTlabel_testKT = GraphSyrControlGUI_2.Link( Olabel_beginKT , Ilabel_testKT )
- Llabel_beginKTlabel_testKT.AddCoord( 1 , 476 , 282 )
- Llabel_beginKTlabel_testKT.AddCoord( 2 , 475 , 515 )
- Llabel_beginKTlabel_testKT.AddCoord( 3 , 260 , 515 )
- Llabel_beginKTlabel_testKT.AddCoord( 4 , 260 , 280 )
-
- Llabel_testEvendiv2Gate = GraphSyrControlGUI_2.Link( Olabel_testEven , Idiv2Gate )
- Llabel_testEvendiv2Gate.AddCoord( 1 , 722 , 480 )
- Llabel_testEvendiv2Gate.AddCoord( 2 , 722 , 261 )
-
- Llabel_testOddm3p1Gate = GraphSyrControlGUI_2.Link( Olabel_testOdd , Im3p1Gate )
- Llabel_testOddm3p1Gate.AddCoord( 1 , 698 , 114 )
- Llabel_testOddm3p1Gate.AddCoord( 2 , 698 , 281 )
-
- Llabel_testNm3p1anOddInteger = GraphSyrControlGUI_2.Link( Olabel_testN , Im3p1anOddInteger )
- Llabel_testNm3p1anOddInteger.AddCoord( 1 , 745 , 90 )
- Llabel_testNm3p1anOddInteger.AddCoord( 2 , 747 , 301 )
-
- Llabel_testNdiv2anEvenInteger = GraphSyrControlGUI_2.Link( Olabel_testN , Idiv2anEvenInteger )
- Llabel_testNdiv2anEvenInteger.AddCoord( 1 , 746 , 455 )
- Llabel_testNdiv2anEvenInteger.AddCoord( 2 , 748 , 301 )
-
- Llabel_testKincraCount = GraphSyrControlGUI_2.Link( Olabel_testK , IincraCount )
- Llabel_testKincraCount.AddCoord( 1 , 733 , 250 )
- Llabel_testKincraCount.AddCoord( 2 , 734 , 321 )
-
- Llabel_testDefaultEndL_OneEvenDefault = GraphSyrControlGUI_2.Link( Olabel_testDefault , IEndL_OneEvenDefault )
-
- Lcontrol_m3p1Gatelabel_testGate = GraphSyrControlGUI_2.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 504 , 344 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 505 , 5 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1149 , 5 )
- Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1150 , 174 )
-
- Lcontrol_div2Gatelabel_beginGate = GraphSyrControlGUI_2.Link( Ocontrol_div2Gate , Ilabel_beginGate )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 34 , 304 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 34 , 592 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 1145 , 586 )
- Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 1145 , 499 )
-
- # Input datas
- Ilabel_beginNB.Input( 7 )
- Ilabel_beginKB.Input( 0 )
-
- # Output Ports of the graph
- #Olabel_testFinished = label_test.GetOutPort( 'Finished' )
- #Olabel_testIncr = label_test.GetOutPort( 'Incr' )
- return GraphSyrControlGUI_2
-
-
-GraphSyrControlGUI_2 = DefGraphSyrControlGUI_2()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-from SuperV import *
-
-GraphSyracuseControl = Graph( 'GraphSyracuseControl' )
-print GraphSyracuseControl.SetName( 'GraphSyracuseControl' )
-print GraphSyracuseControl.SetAuthor( 'JR' )
-print GraphSyracuseControl.SetComment( 'Syracuse algorithm' )
-GraphSyracuseControl.Coords( 0 , 0 )
-
-
-test_ISEVEN = GraphSyracuseControl.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
-print test_ISEVEN.SetName( 'test_ISEVEN' )
-print test_ISEVEN.SetAuthor( '' )
-print test_ISEVEN.SetContainer( 'localhost/FactoryServer' )
-print test_ISEVEN.SetComment( '' )
-test_ISEVEN.Coords( 190 , 338 )
-test_ISONE = GraphSyracuseControl.Node( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
-print test_ISONE.SetName( 'test_ISONE' )
-print test_ISONE.SetAuthor( '' )
-print test_ISONE.SetContainer( 'localhost/FactoryServer' )
-print test_ISONE.SetComment( '' )
-test_ISONE.Coords( 196 , 131 )
-m3p1 = GraphSyracuseControl.Node( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
-print m3p1.SetName( 'm3p1' )
-print m3p1.SetAuthor( '' )
-print m3p1.SetContainer( 'localhost/FactoryServer' )
-print m3p1.SetComment( '' )
-m3p1.Coords( 621 , 14 )
-div2 = GraphSyracuseControl.Node( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
-print div2.SetName( 'div2' )
-print div2.SetAuthor( '' )
-print div2.SetContainer( 'localhost/FactoryServer' )
-print div2.SetComment( '' )
-div2.Coords( 624 , 391 )
-incr = GraphSyracuseControl.Node( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
-print incr.SetName( 'incr' )
-print incr.SetAuthor( '' )
-print incr.SetContainer( 'localhost/FactoryServer' )
-print incr.SetComment( '' )
-incr.Coords( 622 , 199 )
-label_begin = GraphSyracuseControl.LNode( 'label_begin' )
-print label_begin.SetName( 'label_begin' )
-print label_begin.SetAuthor( '' )
-print label_begin.SetContainer( 'localhost/FactoryServerPy' )
-print label_begin.SetComment( '' )
-label_begin.Coords( 7 , 216 )
-label_test = GraphSyracuseControl.LService( 'SyrControlComponent' , 'SyrControlComponent' , 'L_OneEven' )
-print label_test.SetName( 'label_test' )
-print label_test.SetAuthor( '' )
-print label_test.SetContainer( 'localhost/FactoryServerPy' )
-print label_test.SetComment( '' )
-label_test.Coords( 399 , 176 )
-control_m3p1 = GraphSyracuseControl.CService( 'SyrControlComponent' , 'SyrControlComponent' , 'C_NotOneIsEven' )
-print control_m3p1.SetName( 'control_m3p1' )
-print control_m3p1.SetAuthor( '' )
-print control_m3p1.SetContainer( 'localhost/FactoryServerPy' )
-print control_m3p1.SetComment( '' )
-control_m3p1.Coords( 814 , 13 )
-control_div2 = GraphSyracuseControl.CNode( 'control_div2' )
-print control_div2.SetName( 'control_div2' )
-print control_div2.SetAuthor( '' )
-print control_div2.SetContainer( 'localhost/FactoryServerPy' )
-print control_div2.SetComment( '' )
-control_div2.Coords( 812 , 414 )
-
-
-label_begin.BusPorts( 'NB' , 'long' , 'NT' , 'long' )
-label_begin.BusPorts( 'KB' , 'long' , 'KT' , 'long' )
-label_test.BusPorts( 'NT' , 'long' , 'N' , 'long' )
-label_test.BusPorts( 'KT' , 'long' , 'K' , 'long' )
-control_m3p1.BusPorts( 'N' , 'long' , 'NT' , 'long' )
-control_m3p1.BusPorts( 'K' , 'long' , 'KT' , 'long' )
-control_div2.BusPorts( 'N' , 'long' , 'NB' , 'long' )
-control_div2.BusPorts( 'K' , 'long' , 'KB' , 'long' )
-
-
-GraphSyracuseControl.Link( label_begin.Port( 'NT' ) , label_test.Port( 'NT' ) )
-GraphSyracuseControl.Link( label_begin.Port( 'KT' ) , label_test.Port( 'KT' ) )
-GraphSyracuseControl.Link( label_begin.Port( 'NT' ) , test_ISEVEN.Port( 'anInteger' ) )
-GraphSyracuseControl.Link( label_begin.Port( 'NT' ) , test_ISONE.Port( 'anInteger' ) )
-
-GraphSyracuseControl.Link( test_ISEVEN.Port( 'BoolEven' ) , label_test.Port( 'ValEven' ) )
-GraphSyracuseControl.Link( test_ISONE.Port( 'BoolOne' ) , label_test.Port( 'ValOne' ) )
-GraphSyracuseControl.Link( label_test.Port( 'N' ) , m3p1.Port( 'anOddInteger' ) )
-GraphSyracuseControl.Link( label_test.Port( 'N' ) , div2.Port( 'anEvenInteger' ) )
-GraphSyracuseControl.Link( label_test.Port( 'K' ) , incr.Port( 'aCount' ) )
-GraphSyracuseControl.Link( label_test.Port( 'Incr' ) , incr.Port( 'InGate' ) )
-GraphSyracuseControl.Link( label_test.Port( 'Even' ) , div2.Port( 'InGate' ) )
-GraphSyracuseControl.Link( label_test.Port( 'Odd' ) , m3p1.Port( 'InGate' ) )
-
-GraphSyracuseControl.Link( m3p1.Port( 'anEvenInteger' ) , control_m3p1.Port( 'N' ) )
-GraphSyracuseControl.Link( div2.Port( 'anInteger' ) , control_div2.Port( 'N' ) )
-GraphSyracuseControl.Link( incr.Port( 'aNewCount' ) , control_m3p1.Port( 'K' ) )
-GraphSyracuseControl.Link( incr.Port( 'aNewCount' ) , control_div2.Port( 'K' ) )
-
-GraphSyracuseControl.Link( control_m3p1.Port( 'OutGate' ) , label_test.Port( 'InGate' ) )
-GraphSyracuseControl.Link( control_div2.Port( 'OutGate' ) , label_begin.Port( 'InGate' ) )
-
-GraphSyracuseControl.IsValid()
-
-GraphSyracuseControl.ThreadsMax()
-
-GraphSyracuseControl.LevelMax()
-
-GraphSyracuseControl.GraphsNumber()
-
-label_begin.Input( 'NB' , 31 )
-label_begin.Input( 'KB' , 0 )
-
-GraphSyracuseControl.IsExecutable()
-
-GraphSyracuseControl.Export('../GraphSyrControl')
-
-
-GraphSyracuseControl.Run()
-
-GraphSyracuseControl.DoneW()
-
-print GraphSyracuseControl.State()
-
-GraphSyracuseControl.PrintPorts()
-
-label_test.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-from SuperV import *
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphEssai.xml'
-GraphMacroNodes = Graph( anXmlFile )
-
-GraphMacroNodes.PrintLinks()
-
-GraphMacroNodes.SetName('GraphMacroNodes')
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/SyrStruct.xml'
-Macro_SyrStruct = GraphMacroNodes.MNode( anXmlFile )
-
-Macro_SyrStruct.PrintPorts()
-
-GraphMacroNodes.PrintPorts()
-
-GraphMacroNodes.PrintLinks()
-
-GraphMacroNodes.Print()
-
-Macro_SyrStruct.Print()
-
-exec GraphMacroNodes.ListNodes('GraphMacroNodes')
-
-Macro_SyrStruct.Print()
-
-Macro_SyrStruct.IsMacro()
-Macro_SyrStruct.IsFlowMacro()
-Macro_SyrStruct.IsStreamMacro()
-
-SyrStruct = Macro_SyrStruct.FlowObjRef()
-
-SyrStruct.Print()
-
-SyrStruct.PrintPorts()
-
-SyrStruct.PrintLinks()
-
-SyrStruct.IsValid()
-SyrStruct.IsExecutable()
-
-exec SyrStruct.ListNodes('SyrStruct')
-
-m3incr.Print()
-
-m3incr.PrintPorts()
-
-m3incr.PrintLinks()
-
-EndOffori.Print()
-
-EndOffori.PrintPorts()
-
-EndOffori.PrintLinks()
-
-EndOfwhileEven.Print()
-
-EndOfwhileEven.PrintPorts()
-
-EndOfwhileEven.PrintLinks()
-
-MSyrStruct = SyrStruct.FlowObjRef()
-
-MSyrStruct.Print()
-
-MSyrStruct.PrintPorts()
-
-GraphMacroNodes.IsValid()
-GraphMacroNodes.IsExecutable()
-
-GraphMacroNodes.PrintPorts()
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/SyrStruct.xml'
-Macro_SyrStruct_1 = GraphMacroNodes.MNode( anXmlFile )
-
-Macro_SyrStruct_1.Print()
-
-Macro_SyrStruct_1.IsMacro()
-Macro_SyrStruct_1.IsFlowMacro()
-Macro_SyrStruct_1.IsStreamMacro()
-
-SyrStruct_1 = Macro_SyrStruct_1.FlowObjRef()
-
-SyrStruct_1.Print()
-
-GraphMacroNodes.IsValid()
-GraphMacroNodes.IsExecutable()
-
-GraphMacroNodes.PrintPorts()
-
-MSyrStruct_1 = SyrStruct_1.FlowObjRef()
-
-MSyrStruct_1.Print()
-
-MSyrStruct_1.PrintPorts()
-
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphMacroNodes.xml'
-GraphMacroNodes.Export( anXmlFile )
-
-SyrStruct.Name()
-SyrStruct_1.Name()
-
-GraphMacroNodes.Run()
-
-GraphMacroNodes.DoneW()
-
-GraphMacroNodes.State()
-
-Macro_SyrStruct.State()
-
-Macro_SyrStruct_1.State()
-
-
-
-
-
-from SuperV import *
-
-anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphMacroNodes.xml'
-GraphMacroNodes = Graph( anXmlFile )
-
-GraphMacroNodes.Name()
-
-GraphMacroNodes.Export( '/tmp/GraphMacroNodes.xml' )
-
-exec GraphMacroNodes.ListNodes('GraphMacroNodes')
-
-GraphMacroNodes.PrintPorts()
-
-GraphMacroNodes.PrintLinks()
-
-Macro_SyrStruct.IsMacro()
-Macro_SyrStruct.IsFlowMacro()
-Macro_SyrStruct.IsStreamMacro()
-
-Macro_SyrStruct.Print()
-
-SyrStruct = Macro_SyrStruct.FlowObjRef()
-
-SyrStruct.Print()
-
-SyrStruct.PrintPorts()
-
-SyrStruct.PrintLinks()
-
-exec SyrStruct.ListNodes('SyrStruct')
-
-Macro_SyrStruct.IsMacro()
-Macro_SyrStruct.IsFlowMacro()
-Macro_SyrStruct.IsStreamMacro()
-
-Macro_SyrStruct.IsValid()
-
-Macro_SyrStruct.IsExecutable()
-
-Macro_SyrStruct_1.Print()
-
-SyrStruct_1 = Macro_SyrStruct_1.FlowObjRef()
-
-SyrStruct_1.Print()
-
-SyrStruct_1.PrintPorts()
-
-SyrStruct_1.PrintLinks()
-
-exec SyrStruct_1.ListNodes('SyrStruct_1')
-
-MSyrStruct = SyrStruct.FlowObjRef()
-
-MSyrStruct.Print()
-
-MSyrStruct_1 = SyrStruct_1.FlowObjRef()
-
-MSyrStruct_1.Print()
-
-GraphMacroNodes.Run()
-
-GraphMacroNodes.DoneW()
-
-GraphMacroNodes.State()
-
-Macro_SyrStruct.State()
-
-Macro_SyrStruct_1.State()
-
-
-
-
-from SuperV import *
-
-from GraphMacroNodes import *
-
-GraphMacroNodes.IsExecutable()
-
-GraphMacroNodes.Run()
-
-exec GraphMacroNodes.ListNodes('GraphMacroNodes')
-
-SyrStruct = Macro_SyrStruct.FlowObjRef()
-
-SyrStruct.IsExecutable()
-
-GraphMacroNodes.DoneW()
-
-GraphMacroNodes.State()
-
-Macro_SyrStruct.State()
-
-Macro_SyrStruct_1.State()
-
-SyrStruct = Macro_SyrStruct.FlowObjRef()
-
-exec SyrStruct.ListNodes('SyrStruct')
-
-EndOfforN.State()
-
-SyrStruct.DoneW()
-
-SyrStruct.State()
-
-SyrStruct_1 = Macro_SyrStruct_1.FlowObjRef()
-
-exec SyrStruct_1.ListNodes('SyrStruct')
-
-EndOfforN.State()
-
-SyrStruct_1.DoneW()
-
-SyrStruct_1.State()
-
-SyrStruct.PrintPorts()
-
-Macro_SyrStruct.PrintPorts()
-
-GraphMacroNodes.PrintPorts()
-
-GraphMacroNodes.Run()
-
-GraphMacroNodes.DoneW()
-
-GraphMacroNodes.State()
-
-Macro_SyrStruct.State()
-
-Macro_SyrStruct_1.State()
-
-
-
-
-SyrStruct.Export('/tmp/SubSyrStruct.xml')
-
-
-SubSyrStruct = Graph('/tmp/SubSyrStruct.xml')
-
-SubSyrStruct.IsValid()
-
-SubSyrStruct.IsExecutable()
-
-SubSyrStruct.Run()
-
-SubSyrStruct.DoneW()
-
-SubSyrStruct.State()
-
-SubSyrStruct.PrintPorts()
-
-
-
-
-
-from SuperV import *
-
-from GraphMacroNodes import *
-
-exec GraphMacroNodes.ListNodes('GraphMacroNodes')
-
-SyrStruct = Macro_SyrStruct.FlowObjRef()
-
-exec SyrStruct.ListNodes('SyrStruct')
-
-Unused = SyrComponent.InPort('Unused','long')
-
-SyrComponent.PrintPorts()
-
-SyrComponent.Print()
-
-SyrStruct.IsValid()
-
-SyrStruct.PrintPorts()
-
-Macro_SyrStruct.PrintPorts()
-
-GraphMacroNodes.PrintPorts()
-
-Unused.Destroy()
-
-GraphMacroNodes.PrintPorts()
-
-Macro_SyrStruct.PrintPorts()
-
-SyrStruct.PrintPorts()
-
-GraphMacroNodes.Run()
-
-GraphMacroNodes.DoneW()
-
-GraphMacroNodes.State()
-
-Macro_SyrStruct.State()
-
-Macro_SyrStruct_1.State()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphTwoLoops
-#
-from SuperV import *
-
-# Graph creation of GraphTwoLoops
-def DefGraphTwoLoops() :
- GraphTwoLoops = Graph( 'GraphTwoLoops' )
- GraphTwoLoops.SetName( 'GraphTwoLoops' )
- GraphTwoLoops.SetAuthor( 'JR' )
- GraphTwoLoops.SetComment( '' )
- GraphTwoLoops.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of Loop Nodes
- PyLoop1 = []
- PyLoop1.append( 'def Loop1(Index,Max) : ' )
- PyLoop1.append( ' return Index,Max ' )
- PyLoop1.append( '' )
- PyMoreLoop1 = []
- PyMoreLoop1.append( 'import time ' )
- PyMoreLoop1.append( 'def More(Index,Max) : ' )
- PyMoreLoop1.append( ' time.sleep(2) ' )
- PyMoreLoop1.append( ' DoLoop = 0 ' )
- PyMoreLoop1.append( ' if Index < Max : ' )
- PyMoreLoop1.append( ' DoLoop = 1 ' )
- PyMoreLoop1.append( ' return DoLoop,Index,Max ' )
- PyMoreLoop1.append( '' )
- PyNextLoop1 = []
- PyNextLoop1.append( 'def Next(Index,Max) : ' )
- PyNextLoop1.append( ' Index = Index + 1 ' )
- PyNextLoop1.append( ' return Index,Max ' )
- PyNextLoop1.append( '' )
- Loop1,EndLoop1 = GraphTwoLoops.LNode( 'Loop1' , PyLoop1 , 'More' , PyMoreLoop1 , 'Next' , PyNextLoop1 )
- EndLoop1.SetName( 'EndLoop1' )
- EndLoop1.SetAuthor( '' )
- EndLoop1.SetComment( 'Compute Node' )
- EndLoop1.Coords( 634 , 177 )
- PyEndLoop1 = []
- EndLoop1.SetPyFunction( 'EndLoop1' , PyEndLoop1 )
- ILoop1DoLoop = Loop1.GetInPort( 'DoLoop' )
- ILoop1Index = Loop1.InPort( 'Index' , 'long' )
- ILoop1Max = Loop1.InPort( 'Max' , 'long' )
- ILoop1Gate = Loop1.GetInPort( 'Gate' )
- OLoop1DoLoop = Loop1.GetOutPort( 'DoLoop' )
- OLoop1Index = Loop1.GetOutPort( 'Index' )
- OLoop1Max = Loop1.GetOutPort( 'Max' )
- IEndLoop1DoLoop = EndLoop1.GetInPort( 'DoLoop' )
- IEndLoop1Index = EndLoop1.GetInPort( 'Index' )
- IEndLoop1Max = EndLoop1.GetInPort( 'Max' )
- IEndLoop1Gate = EndLoop1.GetInPort( 'Gate' )
- OEndLoop1DoLoop = EndLoop1.GetOutPort( 'DoLoop' )
- OEndLoop1Index = EndLoop1.GetOutPort( 'Index' )
- OEndLoop1Max = EndLoop1.GetOutPort( 'Max' )
- OEndLoop1Gate = EndLoop1.GetOutPort( 'Gate' )
- Loop1.SetName( 'Loop1' )
- Loop1.SetAuthor( '' )
- Loop1.SetComment( 'Compute Node' )
- Loop1.Coords( 7 , 175 )
-
- PyLoop = []
- PyMoreLoop = []
- PyMoreLoop.append( '' )
- PyNextLoop = []
- PyNextLoop.append( 'def Next(Index,Max) : ' )
- PyNextLoop.append( ' Index = Index + 1 ' )
- PyNextLoop.append( ' return Index,Max ' )
- PyNextLoop.append( '' )
- Loop,EndLoop = GraphTwoLoops.LNode( '' , PyLoop , '' , PyMoreLoop , 'Next' , PyNextLoop )
- EndLoop.SetName( 'EndLoop' )
- EndLoop.SetAuthor( '' )
- EndLoop.SetComment( 'Compute Node' )
- EndLoop.Coords( 426 , 180 )
- PyEndLoop = []
- PyEndLoop.append( 'import time ' )
- PyEndLoop.append( 'def EndLoop(DoLoop,Index,Max) : ' )
- PyEndLoop.append( ' time.sleep(1) ' )
- PyEndLoop.append( ' DoLoop = 0 ' )
- PyEndLoop.append( ' if Index < Max : ' )
- PyEndLoop.append( ' DoLoop = 1 ' )
- PyEndLoop.append( ' return DoLoop,Index,Max ' )
- PyEndLoop.append( '' )
- EndLoop.SetPyFunction( 'EndLoop' , PyEndLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- IEndLoopDoLoop = EndLoop.GetInPort( 'DoLoop' )
- IEndLoopIndex = EndLoop.GetInPort( 'Index' )
- IEndLoopMax = EndLoop.GetInPort( 'Max' )
- IEndLoopGate = EndLoop.GetInPort( 'Gate' )
- OEndLoopDoLoop = EndLoop.GetOutPort( 'DoLoop' )
- OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- OEndLoopGate = EndLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 208 , 179 )
-
- # Creation of Links
- LLoop1IndexEndLoop1Index = GraphTwoLoops.Link( OLoop1Index , IEndLoop1Index )
-
- LLoop1MaxEndLoop1Max = GraphTwoLoops.Link( OLoop1Max , IEndLoop1Max )
-
- LLoop1GateLoopGate = GraphTwoLoops.Link( OLoop1Gate , ILoopGate )
-
- LLoopIndexEndLoopIndex = GraphTwoLoops.Link( OLoopIndex , IEndLoopIndex )
-
- LLoopMaxEndLoopMax = GraphTwoLoops.Link( OLoopMax , IEndLoopMax )
-
- LEndLoopGateEndLoop1Gate = GraphTwoLoops.Link( OEndLoopGate , IEndLoop1Gate )
-
- # Input datas
- ILoop1Index.Input( 5 )
- ILoop1Max.Input( 15 )
- ILoopIndex.Input( 2 )
- ILoopMax.Input( 20 )
-
- # Output Ports of the graph
- #OEndLoop1Index = EndLoop1.GetOutPort( 'Index' )
- #OEndLoop1Max = EndLoop1.GetOutPort( 'Max' )
- #OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- #OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- return GraphTwoLoops
-
-
-GraphTwoLoops = DefGraphTwoLoops()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphTwoLoops1
-#
-from SuperV import *
-
-# Graph creation of GraphTwoLoops1
-def DefGraphTwoLoops1() :
- GraphTwoLoops1 = Graph( 'GraphTwoLoops1' )
- GraphTwoLoops1.SetName( 'GraphTwoLoops1' )
- GraphTwoLoops1.SetAuthor( 'JR' )
- GraphTwoLoops1.SetComment( '' )
- GraphTwoLoops1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of Loop Nodes
- PyLoop1 = []
- PyLoop1.append( 'def Loop1(Index,Max) : ' )
- PyLoop1.append( ' return Index,Max ' )
- PyLoop1.append( '' )
- PyMoreLoop1 = []
- PyMoreLoop1.append( 'import time ' )
- PyMoreLoop1.append( 'def More(Index,Max) : ' )
- PyMoreLoop1.append( ' time.sleep(2) ' )
- PyMoreLoop1.append( ' DoLoop = 0 ' )
- PyMoreLoop1.append( ' if Index < Max : ' )
- PyMoreLoop1.append( ' DoLoop = 1 ' )
- PyMoreLoop1.append( ' return DoLoop,Index,Max ' )
- PyMoreLoop1.append( '' )
- PyNextLoop1 = []
- PyNextLoop1.append( 'def Next(Index,Max) : ' )
- PyNextLoop1.append( ' Index = Index + 1 ' )
- PyNextLoop1.append( ' return Index,Max ' )
- PyNextLoop1.append( '' )
- Loop1,EndLoop1 = GraphTwoLoops1.LNode( 'Loop1' , PyLoop1 , 'More' , PyMoreLoop1 , 'Next' , PyNextLoop1 )
- EndLoop1.SetName( 'EndLoop1' )
- EndLoop1.SetAuthor( '' )
- EndLoop1.SetComment( 'Compute Node' )
- EndLoop1.Coords( 634 , 177 )
- PyEndLoop1 = []
- EndLoop1.SetPyFunction( 'EndLoop1' , PyEndLoop1 )
- ILoop1DoLoop = Loop1.GetInPort( 'DoLoop' )
- ILoop1Index = Loop1.InPort( 'Index' , 'long' )
- ILoop1Max = Loop1.InPort( 'Max' , 'long' )
- ILoop1Gate = Loop1.GetInPort( 'Gate' )
- OLoop1DoLoop = Loop1.GetOutPort( 'DoLoop' )
- OLoop1Index = Loop1.GetOutPort( 'Index' )
- OLoop1Max = Loop1.GetOutPort( 'Max' )
- IEndLoop1DoLoop = EndLoop1.GetInPort( 'DoLoop' )
- IEndLoop1Index = EndLoop1.GetInPort( 'Index' )
- IEndLoop1Max = EndLoop1.GetInPort( 'Max' )
- IEndLoop1Gate = EndLoop1.GetInPort( 'Gate' )
- OEndLoop1DoLoop = EndLoop1.GetOutPort( 'DoLoop' )
- OEndLoop1Index = EndLoop1.GetOutPort( 'Index' )
- OEndLoop1Max = EndLoop1.GetOutPort( 'Max' )
- OEndLoop1Gate = EndLoop1.GetOutPort( 'Gate' )
- Loop1.SetName( 'Loop1' )
- Loop1.SetAuthor( '' )
- Loop1.SetComment( 'Compute Node' )
- Loop1.Coords( 7 , 175 )
-
- PyLoop = []
- PyMoreLoop = []
- PyMoreLoop.append( '' )
- PyNextLoop = []
- PyNextLoop.append( 'def Next(Index,Max) : ' )
- PyNextLoop.append( ' Index = Index + 1 ' )
- PyNextLoop.append( ' return Index,Max ' )
- PyNextLoop.append( '' )
- Loop,EndLoop = GraphTwoLoops1.LNode( '' , PyLoop , '' , PyMoreLoop , 'Next' , PyNextLoop )
- EndLoop.SetName( 'EndLoop' )
- EndLoop.SetAuthor( '' )
- EndLoop.SetComment( 'Compute Node' )
- EndLoop.Coords( 426 , 180 )
- PyEndLoop = []
- PyEndLoop.append( 'import time ' )
- PyEndLoop.append( 'def EndLoop(DoLoop,Index,Max) : ' )
- PyEndLoop.append( ' time.sleep(1) ' )
- PyEndLoop.append( ' DoLoop = 0 ' )
- PyEndLoop.append( ' if Index < Max : ' )
- PyEndLoop.append( ' DoLoop = 1 ' )
- PyEndLoop.append( ' return DoLoop,Index,Max ' )
- PyEndLoop.append( '' )
- EndLoop.SetPyFunction( 'EndLoop' , PyEndLoop )
- ILoopDoLoop = Loop.GetInPort( 'DoLoop' )
- ILoopIndex = Loop.InPort( 'Index' , 'long' )
- ILoopMax = Loop.InPort( 'Max' , 'long' )
- ILoopGate = Loop.GetInPort( 'Gate' )
- OLoopDoLoop = Loop.GetOutPort( 'DoLoop' )
- OLoopIndex = Loop.GetOutPort( 'Index' )
- OLoopMax = Loop.GetOutPort( 'Max' )
- IEndLoopDoLoop = EndLoop.GetInPort( 'DoLoop' )
- IEndLoopIndex = EndLoop.GetInPort( 'Index' )
- IEndLoopMax = EndLoop.GetInPort( 'Max' )
- IEndLoopGate = EndLoop.GetInPort( 'Gate' )
- OEndLoopDoLoop = EndLoop.GetOutPort( 'DoLoop' )
- OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- OEndLoopGate = EndLoop.GetOutPort( 'Gate' )
- Loop.SetName( 'Loop' )
- Loop.SetAuthor( '' )
- Loop.SetComment( 'Compute Node' )
- Loop.Coords( 208 , 179 )
-
- # Creation of Links
- LLoop1IndexEndLoop1Index = GraphTwoLoops1.Link( OLoop1Index , IEndLoop1Index )
-
- LLoop1IndexLoopIndex = GraphTwoLoops1.Link( OLoop1Index , ILoopIndex )
-
- LLoop1MaxEndLoop1Max = GraphTwoLoops1.Link( OLoop1Max , IEndLoop1Max )
-
- LLoop1GateLoopGate = GraphTwoLoops1.Link( OLoop1Gate , ILoopGate )
-
- LLoopIndexEndLoopIndex = GraphTwoLoops1.Link( OLoopIndex , IEndLoopIndex )
-
- LLoopMaxEndLoopMax = GraphTwoLoops1.Link( OLoopMax , IEndLoopMax )
-
- LEndLoopGateEndLoop1Gate = GraphTwoLoops1.Link( OEndLoopGate , IEndLoop1Gate )
-
- # Input datas
- ILoop1Index.Input( 5 )
- ILoop1Max.Input( 15 )
- ILoopMax.Input( 20 )
-
- # Output Ports of the graph
- #OEndLoop1Index = EndLoop1.GetOutPort( 'Index' )
- #OEndLoop1Max = EndLoop1.GetOutPort( 'Max' )
- #OEndLoopIndex = EndLoop.GetOutPort( 'Index' )
- #OEndLoopMax = EndLoop.GetOutPort( 'Max' )
- return GraphTwoLoops1
-
-
-GraphTwoLoops1 = DefGraphTwoLoops1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphTypesCheck
-#
-from SuperV import *
-# Graph creation
-GraphTypesCheck = Graph( 'GraphTypesCheck' )
-GraphTypesCheck.SetName( 'GraphTypesCheck' )
-GraphTypesCheck.SetAuthor( 'JR' )
-GraphTypesCheck.SetComment( '' )
-GraphTypesCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-BoolCheck = GraphTypesCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'BoolCheck' )
-BoolCheck.SetName( 'BoolCheck' )
-BoolCheck.SetAuthor( '' )
-BoolCheck.SetContainer( 'localhost/FactoryServer' )
-BoolCheck.SetComment( 'BoolCheck from TypesCheck' )
-BoolCheck.Coords( 202 , 108 )
-
-CharCheck = GraphTypesCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'CharCheck' )
-CharCheck.SetName( 'CharCheck' )
-CharCheck.SetAuthor( '' )
-CharCheck.SetContainer( 'localhost/FactoryServer' )
-CharCheck.SetComment( 'CharCheck from TypesCheck' )
-CharCheck.Coords( 13 , 166 )
-
-ShortCheck = GraphTypesCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'ShortCheck' )
-ShortCheck.SetName( 'ShortCheck' )
-ShortCheck.SetAuthor( '' )
-ShortCheck.SetContainer( 'localhost/FactoryServer' )
-ShortCheck.SetComment( 'ShortCheck from TypesCheck' )
-ShortCheck.Coords( 205 , 258 )
-
-FloatCheck = GraphTypesCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'FloatCheck' )
-FloatCheck.SetName( 'FloatCheck' )
-FloatCheck.SetAuthor( '' )
-FloatCheck.SetContainer( 'localhost/FactoryServer' )
-FloatCheck.SetComment( 'FloatCheck from TypesCheck' )
-FloatCheck.Coords( 204 , 409 )
-
-Addition = GraphTypesCheck.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
-Addition.SetName( 'Addition' )
-Addition.SetAuthor( '' )
-Addition.SetContainer( 'localhost/FactoryServer' )
-Addition.SetComment( 'Addition from AddComponent' )
-Addition.Coords( 16 , 459 )
-
-LongCheck = GraphTypesCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'LongCheck' )
-LongCheck.SetName( 'LongCheck' )
-LongCheck.SetAuthor( '' )
-LongCheck.SetContainer( 'localhost/FactoryServer' )
-LongCheck.SetComment( 'LongCheck from TypesCheck' )
-LongCheck.Coords( 17 , 318 )
-
-MiscTypes = GraphTypesCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 431 , 170 )
-
-StringCheck = GraphTypesCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'StringCheck' )
-StringCheck.SetName( 'StringCheck' )
-StringCheck.SetAuthor( '' )
-StringCheck.SetContainer( 'localhost/FactoryServer' )
-StringCheck.SetComment( 'StringCheck from TypesCheck' )
-StringCheck.Coords( 13 , 10 )
-
-# Creation of Links
-BoolCheckOutBool = BoolCheck.Port( 'OutBool' )
-MiscTypesInBool = GraphTypesCheck.Link( BoolCheckOutBool , MiscTypes.Port( 'InBool' ) )
-MiscTypesInBool.AddCoord( 1 , 402 , 280 )
-MiscTypesInBool.AddCoord( 2 , 401 , 188 )
-
-CharCheckOutChar = CharCheck.Port( 'OutChar' )
-MiscTypesInChar = GraphTypesCheck.Link( CharCheckOutChar , MiscTypes.Port( 'InChar' ) )
-MiscTypesInChar.AddCoord( 1 , 382 , 307 )
-MiscTypesInChar.AddCoord( 2 , 382 , 247 )
-
-ShortCheckOutShort = ShortCheck.Port( 'OutShort' )
-MiscTypesInShort = GraphTypesCheck.Link( ShortCheckOutShort , MiscTypes.Port( 'InShort' ) )
-
-FloatCheckOutFloat = FloatCheck.Port( 'OutFloat' )
-MiscTypesInFloat = GraphTypesCheck.Link( FloatCheckOutFloat , MiscTypes.Port( 'InFloat' ) )
-MiscTypesInFloat.AddCoord( 1 , 400 , 395 )
-MiscTypesInFloat.AddCoord( 2 , 399 , 490 )
-
-AdditionAdder = Addition.Port( 'Adder' )
-MiscTypesInObjRef = GraphTypesCheck.Link( AdditionAdder , MiscTypes.Port( 'InObjRef' ) )
-MiscTypesInObjRef.AddCoord( 1 , 415 , 453 )
-MiscTypesInObjRef.AddCoord( 2 , 415 , 540 )
-
-LongCheckOutLong = LongCheck.Port( 'OutLong' )
-MiscTypesInLong = GraphTypesCheck.Link( LongCheckOutLong , MiscTypes.Port( 'InLong' ) )
-MiscTypesInLong.AddCoord( 1 , 383 , 367 )
-MiscTypesInLong.AddCoord( 2 , 383 , 399 )
-
-StringCheckOutString = StringCheck.Port( 'OutString' )
-MiscTypesInString = GraphTypesCheck.Link( StringCheckOutString , MiscTypes.Port( 'InString' ) )
-MiscTypesInString.AddCoord( 1 , 412 , 251 )
-MiscTypesInString.AddCoord( 2 , 411 , 91 )
-
-# Creation of Input datas
-BoolCheckInBool = BoolCheck.Input( 'InBool' , 1)
-CharCheckInChar = CharCheck.Input( 'InChar' , 255)
-ShortCheckInShort = ShortCheck.Input( 'InShort' , 16383)
-FloatCheckInFloat = FloatCheck.Input( 'InFloat' , 3.14159)
-LongCheckInLong = LongCheck.Input( 'InLong' , 2147483647)
-MiscTypesInDouble = MiscTypes.Input( 'InDouble' , 3.14159)
-StringCheckInString = StringCheck.Input( 'InString' , 'aString')
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphTypesCheck.Run()
-GraphTypesCheck.DoneW()
-GraphTypesCheck.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphUnValid
-#
-from SuperV import *
-
-# Graph creation of GraphUnValid
-def DefGraphUnValid() :
- GraphUnValid = Graph( 'GraphUnValid' )
- GraphUnValid.SetName( 'GraphUnValid' )
- GraphUnValid.SetAuthor( 'JR' )
- GraphUnValid.SetComment( '' )
- GraphUnValid.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphUnValid.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 8 , 62 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- Sub = GraphUnValid.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'FactoryServer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 203 , 4 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- Mul = GraphUnValid.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
- Mul.SetName( 'Mul' )
- Mul.SetAuthor( '' )
- Mul.SetContainer( 'FactoryServer' )
- Mul.SetComment( 'Mul from MulComponent' )
- Mul.Coords( 390 , 62 )
- IMulx = Mul.GetInPort( 'x' )
- IMuly = Mul.GetInPort( 'y' )
- IMulGate = Mul.GetInPort( 'Gate' )
- OMulz = Mul.GetOutPort( 'z' )
- OMulGate = Mul.GetOutPort( 'Gate' )
-
- Div = GraphUnValid.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
- Div.SetName( 'Div' )
- Div.SetAuthor( '' )
- Div.SetContainer( 'FactoryServer' )
- Div.SetComment( 'Div from DivComponent' )
- Div.Coords( 575 , 11 )
- IDivx = Div.GetInPort( 'x' )
- IDivy = Div.GetInPort( 'y' )
- IDivGate = Div.GetInPort( 'Gate' )
- ODivz = Div.GetOutPort( 'z' )
- ODivGate = Div.GetOutPort( 'Gate' )
-
- # Creation of Links
- LAddzMuly = GraphUnValid.Link( OAddz , IMuly )
-
- LAddzSuby = GraphUnValid.Link( OAddz , ISuby )
- LAddzSuby.AddCoord( 1 , 182 , 113 )
- LAddzSuby.AddCoord( 2 , 183 , 170 )
-
- LSubzDivx = GraphUnValid.Link( OSubz , IDivx )
- LSubzDivx.AddCoord( 1 , 566 , 91 )
- LSubzDivx.AddCoord( 2 , 566 , 49 )
- LSubzDivx.AddCoord( 3 , 380 , 49 )
- LSubzDivx.AddCoord( 4 , 379 , 84 )
-
- LSubzMulx = GraphUnValid.Link( OSubz , IMulx )
- LSubzMulx.AddCoord( 1 , 379 , 141 )
- LSubzMulx.AddCoord( 2 , 378 , 85 )
-
- LMulzDivy = GraphUnValid.Link( OMulz , IDivy )
- LMulzDivy.AddCoord( 1 , 565 , 120 )
- LMulzDivy.AddCoord( 2 , 565 , 141 )
-
- LMulzSubx = GraphUnValid.Link( OMulz , ISubx )
- LMulzSubx.AddCoord( 1 , 194 , 84 )
- LMulzSubx.AddCoord( 2 , 195 , 252 )
- LMulzSubx.AddCoord( 3 , 566 , 252 )
- LMulzSubx.AddCoord( 4 , 565 , 141 )
-
- # Input datas
- IAddx.Input( 3 )
- IAddy.Input( 4.5 )
-
- # Output Ports of the graph
- #OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- #ODivz = Div.GetOutPort( 'z' )
- return GraphUnValid
-
-
-GraphUnValid = DefGraphUnValid()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphUndefinedSymbol
-#
-from SuperV import *
-
-# Graph creation of GraphUndefinedSymbol
-def DefGraphUndefinedSymbol() :
- GraphUndefinedSymbol = Graph( 'GraphUndefinedSymbol' )
- GraphUndefinedSymbol.SetName( 'GraphUndefinedSymbol' )
- GraphUndefinedSymbol.SetAuthor( 'JR' )
- GraphUndefinedSymbol.SetComment( '' )
- GraphUndefinedSymbol.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- UndefinedSymbol = GraphUndefinedSymbol.FNode( 'UndefinedSymbolComponent' , 'UndefinedSymbolComponent' , 'UndefinedSymbol' )
- UndefinedSymbol.SetName( 'UndefinedSymbol' )
- UndefinedSymbol.SetAuthor( '' )
- UndefinedSymbol.SetContainer( 'localhost/FactoryServer' )
- UndefinedSymbol.SetComment( 'UndefinedSymbol from UndefinedSymbolComponent' )
- UndefinedSymbol.Coords( 146 , 166 )
- IUndefinedSymbolGate = UndefinedSymbol.GetInPort( 'Gate' )
- OUndefinedSymbolreturn = UndefinedSymbol.GetOutPort( 'return' )
- OUndefinedSymbolGate = UndefinedSymbol.GetOutPort( 'Gate' )
-
- # Output Ports of the graph
- #OUndefinedSymbolreturn = UndefinedSymbol.GetOutPort( 'return' )
- return GraphUndefinedSymbol
-
-
-GraphUndefinedSymbol = DefGraphUndefinedSymbol()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphNonVoidEndLoop_1
-#
-from SuperV import *
-
-# Graph creation of GraphNonVoidEndLoop_1
-def DefGraphNonVoidEndLoop_1() :
- GraphNonVoidEndLoop_1 = Graph( 'GraphNonVoidEndLoop_1' )
- GraphNonVoidEndLoop_1.SetName( 'GraphNonVoidEndLoop_1' )
- GraphNonVoidEndLoop_1.SetAuthor( '' )
- GraphNonVoidEndLoop_1.SetComment( '' )
- GraphNonVoidEndLoop_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'def Init(Index,Min,Max,Incr) : ' )
- PyInit.append( ' if Min <= Max : ' )
- PyInit.append( ' Index = Min ' )
- PyInit.append( ' else : ' )
- PyInit.append( ' Index = Max ' )
- PyInit.append( ' print 'Init',Index,Min,Max,Incr ' )
- PyInit.append( ' return Index,Min,Max,Incr ' )
- PyMoreInit = []
- PyMoreInit.append( ' ' )
- PyNextInit = []
- PyNextInit.append( 'import time ' )
- PyNextInit.append( 'def Next(Index,Min,Max,Incr) : ' )
- PyNextInit.append( ' time.sleep(2) ' )
- PyNextInit.append( ' Index = Index + Incr ' )
- PyNextInit.append( ' print 'Next', Index,Min,Max,Incr ' )
- PyNextInit.append( ' return Index,Min,Max,Incr ' )
- Init,EndInit = GraphNonVoidEndLoop_1.LNode( 'Init' , PyInit , '' , PyMoreInit , 'Next' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( '' )
- EndInit.SetComment( 'Compute Node' )
- EndInit.Coords( 411 , 260 )
- PyEndInit = []
- PyEndInit.append( 'def EndLoop(DoLoop,Index,Min,Max,Incr) : ' )
- PyEndInit.append( ' print 'EndLoop',DoLoop,Index,Min,Max,Incr ' )
- PyEndInit.append( ' if Index == Max : ' )
- PyEndInit.append( ' DoLoop = 0 ' )
- PyEndInit.append( ' return DoLoop,Index,Min,Max,Incr ' )
- PyEndInit.append( '' )
- EndInit.SetPyFunction( 'EndLoop' , PyEndInit )
- IInitInitLoop = Init.GetInPort( 'InitLoop' )
- IInitIndex = Init.InPort( 'Index' , 'long' )
- IInitMin = Init.InPort( 'Min' , 'long' )
- IInitMax = Init.InPort( 'Max' , 'long' )
- IInitIncr = Init.InPort( 'Incr' , 'long' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitIndex = Init.GetOutPort( 'Index' )
- OInitMin = Init.GetOutPort( 'Min' )
- OInitMax = Init.GetOutPort( 'Max' )
- OInitIncr = Init.GetOutPort( 'Incr' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitIndex = EndInit.GetInPort( 'Index' )
- IEndInitMin = EndInit.GetInPort( 'Min' )
- IEndInitMax = EndInit.GetInPort( 'Max' )
- IEndInitIncr = EndInit.GetInPort( 'Incr' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitIndex = EndInit.GetOutPort( 'Index' )
- OEndInitMin = EndInit.GetOutPort( 'Min' )
- OEndInitMax = EndInit.GetOutPort( 'Max' )
- OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- Init.SetName( 'Init' )
- Init.SetAuthor( '' )
- Init.SetComment( 'Compute Node' )
- Init.Coords( 17 , 257 )
-
- # Creation of Links
- LInitIndexEndInitIndex = GraphNonVoidEndLoop_1.Link( OInitIndex , IEndInitIndex )
-
- LInitMinEndInitMin = GraphNonVoidEndLoop_1.Link( OInitMin , IEndInitMin )
-
- LInitMaxEndInitMax = GraphNonVoidEndLoop_1.Link( OInitMax , IEndInitMax )
-
- LInitIncrEndInitIncr = GraphNonVoidEndLoop_1.Link( OInitIncr , IEndInitIncr )
-
- # Input datas
- IInitIndex.Input( 0 )
- IInitMin.Input( 5 )
- IInitMax.Input( 10 )
- IInitIncr.Input( 1 )
-
- # Output Ports of the graph
- #OEndInitIndex = EndInit.GetOutPort( 'Index' )
- #OEndInitMin = EndInit.GetOutPort( 'Min' )
- #OEndInitMax = EndInit.GetOutPort( 'Max' )
- #OEndInitIncr = EndInit.GetOutPort( 'Incr' )
- return GraphNonVoidEndLoop_1
-
-
-GraphNonVoidEndLoop_1 = DefGraphNonVoidEndLoop_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphWrongContainerOrComponent
-#
-from SuperV import *
-
-# Graph creation of GraphWrongContainerOrComponent
-def DefGraphWrongContainerOrComponent() :
- GraphWrongContainerOrComponent = Graph( 'GraphWrongContainerOrComponent' )
- GraphWrongContainerOrComponent.SetName( 'GraphWrongContainerOrComponent' )
- GraphWrongContainerOrComponent.SetAuthor( 'JR' )
- GraphWrongContainerOrComponent.SetComment( '' )
- GraphWrongContainerOrComponent.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Add = GraphWrongContainerOrComponent.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
- Add.SetName( 'Add' )
- Add.SetAuthor( '' )
- Add.SetContainer( 'FactoryServer' )
- Add.SetComment( 'Add from AddComponent' )
- Add.Coords( 99 , 304 )
- IAddx = Add.GetInPort( 'x' )
- IAddy = Add.GetInPort( 'y' )
- IAddGate = Add.GetInPort( 'Gate' )
- OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- OAddz = Add.GetOutPort( 'z' )
- OAddGate = Add.GetOutPort( 'Gate' )
-
- Sub = GraphWrongContainerOrComponent.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
- Sub.SetName( 'Sub' )
- Sub.SetAuthor( '' )
- Sub.SetContainer( 'FactoryServer' )
- Sub.SetComment( 'Sub from SubComponent' )
- Sub.Coords( 98 , 59 )
- ISubx = Sub.GetInPort( 'x' )
- ISuby = Sub.GetInPort( 'y' )
- ISubGate = Sub.GetInPort( 'Gate' )
- OSubz = Sub.GetOutPort( 'z' )
- OSubGate = Sub.GetOutPort( 'Gate' )
-
- # Input datas
- IAddx.Input( 3 )
- IAddy.Input( 4.5 )
- ISubx.Input( 1.5 )
- ISuby.Input( 0 )
-
- # Output Ports of the graph
- #OAddFuncValue = Add.GetOutPort( 'FuncValue' )
- #OAddz = Add.GetOutPort( 'z' )
- #OSubz = Sub.GetOutPort( 'z' )
- return GraphWrongContainerOrComponent
-
-
-GraphWrongContainerOrComponent = DefGraphWrongContainerOrComponent()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphWrongPythonFunctions_1
-#
-from SuperV import *
-
-# Graph creation of GraphWrongPythonFunctions_1
-def DefGraphWrongPythonFunctions_1() :
- GraphWrongPythonFunctions_1 = Graph( 'GraphWrongPythonFunctions_1' )
- GraphWrongPythonFunctions_1.SetName( 'GraphWrongPythonFunctions_1' )
- GraphWrongPythonFunctions_1.SetAuthor( 'JR' )
- GraphWrongPythonFunctions_1.SetComment( '' )
- GraphWrongPythonFunctions_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyIsOdd = []
- PyIsOdd.append( 'from timed import * ' )
- PyIsOdd.append( 'def IsOdd(a) : ' )
- PyIsOdd.append( ' print a,"IsOdd (GraphLoopSwitch1)" ' )
- PyIsOdd.append( ' sleep( 1 ) ' )
- PyIsOdd.append( ' return a ' )
- IsOdd = GraphWrongPythonFunctions_1.INode( 'IsOdd' , PyIsOdd )
- IsOdd.SetName( 'IsOdd' )
- IsOdd.SetAuthor( '' )
- IsOdd.SetComment( 'Python function' )
- IsOdd.Coords( 397 , 1 )
- IIsOdda = IsOdd.InPort( 'a' , 'long' )
- IIsOddGate = IsOdd.GetInPort( 'Gate' )
- OIsOdda = IsOdd.OutPort( 'a' , 'long' )
- OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-
- PyValEven = []
- PyValEven.append( 'from timed import * ' )
- PyValEven.append( 'def ValEven(Even) : ' )
- PyValEven.append( ' sleep(1) ' )
- PyValEven.append( ' return Even ' )
- PyValEven.append( '' )
- ValEven = GraphWrongPythonFunctions_1.INode( 'ValEven' , PyValEven )
- ValEven.SetName( 'ValEven' )
- ValEven.SetAuthor( '' )
- ValEven.SetComment( 'Compute Node' )
- ValEven.Coords( 396 , 222 )
- IValEvenEven = ValEven.InPort( 'Even' , 'long' )
- IValEvenGate = ValEven.GetInPort( 'Gate' )
- OValEvenEven = ValEven.OutPort( 'Even' , 'long' )
- OValEvenGate = ValEven.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInitLoop = []
- PyInitLoop.append( 'def InitLoop(Index,Min,Max) ' )
- PyInitLoop.append( ' Index = Min ' )
- PyInitLoop.append( ' return Index,Min,Max ' )
- PyInitLoop.append( ' ' )
- PyMoreInitLoop = []
- PyMoreInitLoop.append( 'def More() ' )
- PyMoreInitLoop.append( ' return toto ' )
- PyNextInitLoop = []
- PyNextInitLoop.append( 'def Next(...) ' )
- PyNextInitLoop.append( ' return Ok ' )
- InitLoop,EndOfInitLoop = GraphWrongPythonFunctions_1.LNode( 'InitLoop' , PyInitLoop , 'More' , PyMoreInitLoop , 'Next' , PyNextInitLoop )
- EndOfInitLoop.SetName( 'EndOfInitLoop' )
- EndOfInitLoop.SetAuthor( '' )
- EndOfInitLoop.SetComment( 'Compute Node' )
- EndOfInitLoop.Coords( 767 , 102 )
- PyEndOfInitLoop = []
- PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) : ' )
- PyEndOfInitLoop.append( ' Index = Index + 1 ' )
- PyEndOfInitLoop.append( ' if Index <= Max : ' )
- PyEndOfInitLoop.append( ' DoLoop = 1 ' )
- PyEndOfInitLoop.append( ' else : ' )
- PyEndOfInitLoop.append( ' DoLoop = 0 ' )
- PyEndOfInitLoop.append( ' return DoLoop,Index,Min,Max : ' )
- EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
- IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
- IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
- IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
- IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
- 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 , 108 )
-
- # Creation of Switch Nodes
- PySwitch = []
- PySwitch.append( 'from time import * ' )
- PySwitch.append( 'def Switch(a) ' )
- PySwitch.append( ' if a & 1 == 0 : ' )
- PySwitch.append( ' sleep(1) ' )
- PySwitch.append( ' return a & 1,1-(a&1),a ' )
- Switch,EndSwitch = GraphWrongPythonFunctions_1.SNode( 'Switch' , PySwitch )
- EndSwitch.SetName( 'EndSwitch' )
- EndSwitch.SetAuthor( '' )
- EndSwitch.SetComment( 'Compute Node' )
- EndSwitch.Coords( 587 , 103 )
- PyEndSwitch = []
- PyEndSwitch.append( 'def EndSwitch(a,Even) ' )
- PyEndSwitch.append( ' sleep(1) ' )
- PyEndSwitch.append( ' return a, ' )
- EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
- IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
- IEndSwitchEven = EndSwitch.InPort( 'Even' , 'long' )
- IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
- OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
- OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
- Switch.SetName( 'Switch' )
- Switch.SetAuthor( '' )
- Switch.SetComment( 'Compute Node' )
- Switch.Coords( 194 , 109 )
- 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
- LIsOddaEndSwitcha = GraphWrongPythonFunctions_1.Link( OIsOdda , IEndSwitcha )
-
- LInitLoopIndexSwitcha = GraphWrongPythonFunctions_1.Link( OInitLoopIndex , ISwitcha )
-
- LInitLoopMinEndOfInitLoopMin = GraphWrongPythonFunctions_1.Link( OInitLoopMin , IEndOfInitLoopMin )
-
- LInitLoopMaxEndOfInitLoopMax = GraphWrongPythonFunctions_1.Link( OInitLoopMax , IEndOfInitLoopMax )
-
- LSwitchOddIsOddGate = GraphWrongPythonFunctions_1.Link( OSwitchOdd , IIsOddGate )
-
- LSwitchEvenValEvenEven = GraphWrongPythonFunctions_1.Link( OSwitchEven , IValEvenEven )
-
- LSwitchaIsOdda = GraphWrongPythonFunctions_1.Link( OSwitcha , IIsOdda )
-
- LSwitchDefaultEndSwitchDefault = GraphWrongPythonFunctions_1.Link( OSwitchDefault , IEndSwitchDefault )
-
- LEndSwitchaEndOfInitLoopIndex = GraphWrongPythonFunctions_1.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
- LValEvenEvenEndSwitchEven = GraphWrongPythonFunctions_1.Link( OValEvenEven , IEndSwitchEven )
-
- # Input datas
- IInitLoopIndex.Input( 0 )
- IInitLoopMin.Input( 5 )
- IInitLoopMax.Input( 23 )
-
- # Output Ports of the graph
- #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
- #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
- #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
- return GraphWrongPythonFunctions_1
-
-
-GraphWrongPythonFunctions_1 = DefGraphWrongPythonFunctions_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph Graphs
-#
-from SuperV import *
-# Graph creation
-Graphs = Graph( 'Graphs' )
-Graphs.SetName( 'Graphs' )
-Graphs.SetAuthor( '' )
-Graphs.SetComment( '' )
-Graphs.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-Add = Graphs.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetContainer( 'localhost/FactoryServer' )
-Add.SetComment( 'Add from AddComponent' )
-Add.Coords( 30 , 8 )
-
-Sub = Graphs.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
-Sub.SetName( 'Sub' )
-Sub.SetAuthor( '' )
-Sub.SetContainer( 'localhost/FactoryServer' )
-Sub.SetComment( 'Sub from SubComponent' )
-Sub.Coords( 241 , 38 )
-
-Mul = Graphs.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
-Mul.SetName( 'Mul' )
-Mul.SetAuthor( '' )
-Mul.SetContainer( 'localhost/FactoryServer' )
-Mul.SetComment( 'Mul from MulComponent' )
-Mul.Coords( 439 , 39 )
-
-Div = Graphs.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
-Div.SetName( 'Div' )
-Div.SetAuthor( '' )
-Div.SetContainer( 'localhost/FactoryServer' )
-Div.SetComment( 'Div from DivComponent' )
-Div.Coords( 633 , 120 )
-
-Add_1 = Graphs.FNode( 'AddComponent' , 'AddComponent' , 'Add' )
-Add_1.SetName( 'Add_1' )
-Add_1.SetAuthor( '' )
-Add_1.SetContainer( 'localhost/FactoryServer' )
-Add_1.SetComment( 'Add from AddComponent' )
-Add_1.Coords( 13 , 297 )
-
-Sub_1 = Graphs.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
-Sub_1.SetName( 'Sub_1' )
-Sub_1.SetAuthor( '' )
-Sub_1.SetContainer( 'localhost/FactoryServer' )
-Sub_1.SetComment( 'Sub from SubComponent' )
-Sub_1.Coords( 235 , 217 )
-
-Mul_1 = Graphs.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
-Mul_1.SetName( 'Mul_1' )
-Mul_1.SetAuthor( '' )
-Mul_1.SetContainer( 'localhost/FactoryServer' )
-Mul_1.SetComment( 'Mul from MulComponent' )
-Mul_1.Coords( 423 , 375 )
-
-Div_1 = Graphs.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
-Div_1.SetName( 'Div_1' )
-Div_1.SetAuthor( '' )
-Div_1.SetContainer( 'localhost/FactoryServer' )
-Div_1.SetComment( 'Div from DivComponent' )
-Div_1.Coords( 630 , 284 )
-
-# Creation of Links
-Addz = Add.Port( 'z' )
-Subx = Graphs.Link( Addz , Sub.Port( 'x' ) )
-
-Subz = Sub.Port( 'z' )
-Divx = Graphs.Link( Subz , Div.Port( 'x' ) )
-Divx.AddCoord( 1 , 426 , 201 )
-Divx.AddCoord( 2 , 425 , 119 )
-
-Mulx = Graphs.Link( Subz , Mul.Port( 'x' ) )
-
-Mulz = Mul.Port( 'z' )
-Divy = Graphs.Link( Mulz , Div.Port( 'y' ) )
-Divy.AddCoord( 1 , 619 , 230 )
-Divy.AddCoord( 2 , 620 , 120 )
-
-Add_1FuncValue = Add_1.Port( 'FuncValue' )
-Mul_1x = Graphs.Link( Add_1FuncValue , Mul_1.Port( 'x' ) )
-Mul_1x.AddCoord( 1 , 396 , 455 )
-Mul_1x.AddCoord( 2 , 395 , 378 )
-
-Sub_1x = Graphs.Link( Add_1FuncValue , Sub_1.Port( 'x' ) )
-Sub_1x.AddCoord( 1 , 215 , 297 )
-Sub_1x.AddCoord( 2 , 215 , 378 )
-
-Add_1z = Add_1.Port( 'z' )
-Sub_1y = Graphs.Link( Add_1z , Sub_1.Port( 'y' ) )
-Sub_1y.AddCoord( 1 , 197 , 327 )
-Sub_1y.AddCoord( 2 , 196 , 406 )
-
-Sub_1z = Sub_1.Port( 'z' )
-Div_1x = Graphs.Link( Sub_1z , Div_1.Port( 'x' ) )
-Div_1x.AddCoord( 1 , 604 , 364 )
-Div_1x.AddCoord( 2 , 603 , 297 )
-
-Mul_1z = Mul_1.Port( 'z' )
-Div_1y = Graphs.Link( Mul_1z , Div_1.Port( 'y' ) )
-Div_1y.AddCoord( 1 , 610 , 394 )
-Div_1y.AddCoord( 2 , 610 , 455 )
-
-# Creation of Input datas
-Addx = Add.Input( 'x' , 3)
-Addy = Add.Input( 'y' , 5)
-Suby = Sub.Input( 'y' , 7)
-Muly = Mul.Input( 'y' , 11)
-Add_1x = Add_1.Input( 'x' , 1)
-Add_1y = Add_1.Input( 'y' , 2)
-Mul_1y = Mul_1.Input( 'y' , 4)
-
-# Creation of Output variables
-AddFuncValue = Add.Port( 'FuncValue' )
-Divz = Div.Port( 'z' )
-Div_1z = Div_1.Port( 'z' )
-
-Graphs.Run()
-
-Graphs.DoneW()
-
-Graphs.State()
-
-Graphs.PrintPorts()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-#####################################################################
-#Created :17/02/2005
-#Auhtor :KOVALTCHUK Alexey
-#####################################################################
-#
-def Geometry(y1=50, y2=90):
- from batchmode_geompy import *
- import math
- import os
- #Sketcher_1 creation
- Sketcher_1 = MakeSketcher("Sketcher:F 100 -57.7:TT 100 57.7:TT 0 115.47:TT -100 57.7:TT -100 -57.7:TT 0 -115.47:WW")
- addToStudy(Sketcher_1, "Sketcher_1")
- Face_1 = MakeFace(Sketcher_1, 1)
- addToStudy(Face_1, "Face_1")
- #Line creation
- Line_1 = MakeLineTwoPnt(MakeVertex(0,0,0), MakeVertex(0,0,100))
- addToStudy(Line_1, "Line_1")
- #Prism creation
- Prism_1 = MakePrismVecH(Face_1, Line_1, 100)
- addToStudy(Prism_1, "Prism_1")
- #Sketcher_2 creation
- #"Sketcher:F 50 0:TT 80 0:TT 112 13:TT 112 48:TT 80 63:TT 80 90:TT 50 90:WW"
- command = "Sketcher:F " + str(y1)+ " 0:TT 80 0:TT 112 13:TT 112 48:TT 80 63:TT 80 " + str(y2)+ ":TT " + str(y1) + " " + str(y2) + ":WW"
- Sketcher_2 = MakeSketcher(command, [0,0,0, 1,0,0, 0,1,0])
- addToStudy(Sketcher_2, "Sketcher_2")
- Face_2 = MakeFace(Sketcher_2, 1)
- addToStudy(Face_2, "Face_2")
- #Revolution creation
- Revolution_1 = MakeRevolution(Face_2, Line_1, 2*math.pi)
- addToStudy(Revolution_1, "Revolution_1")
- #Common applying
- Common_1 = MakeBoolean(Revolution_1, Prism_1, 1)
- addToStudy(Common_1, "Common_1")
- #Explode Common_1 on edges
- CommonExplodedListEdges = SubShapeAll(Common_1, ShapeType["EDGE"])
- for i in range(0, len(CommonExplodedListEdges)):
- name = "Edge_"+str(i+1)
- addToStudyInFather(Common_1, CommonExplodedListEdges[i], name)
- #Fillet applying
- ID = GetSubShapeID(Common_1, CommonExplodedListEdges[0])
- Fillet_1 = MakeFillet(Common_1, 10, ShapeType["EDGE"], [6])
- addToStudy(Fillet_1, "Fillet_1")
- #Chamfer applying
- Chamfer_1 = MakeChamferEdge(Fillet_1, 10, 10, 16, 50 )
- addToStudy(Chamfer_1, "Chamfer_1")
- Chamfer_2 = MakeChamferEdge(Chamfer_1, 10, 10, 21, 31 )
- addToStudy(Chamfer_2, "Chamfer_2")
- #Import of the shape from "slots.brep"
- thePath = os.getenv("DATA_DIR")
- theFileName = thePath + "/Shapes/Brep/slots.brep"
- theShapeForCut = ImportBREP(theFileName)
- addToStudy(theShapeForCut, "slot.brep_1")
- #Cut applying
- Cut_1 = MakeBoolean(Chamfer_2, theShapeForCut, 2)
- addToStudy(Cut_1, "Cut_1")
- return Cut_1
-
-
-def Mesh(theNameOfTheShape = "Cut_1", theAverageLength = 5, theMaxElementArea = 20, theMaxElementVolume = 150):
- #Format of the <theNameOfTheShape> parameter is: "[[first level object/[second level object/[.../]]]Name"
- from batchmode_smesh import *
- import StdMeshers
- smesh.SetCurrentStudy(myStudy)
- theNameOfTheShape = "/Geometry/"+ str(theNameOfTheShape)
- SObject = myStudy.FindObjectByPath(theNameOfTheShape)
- if SObject == None:
- raise RuntimeError, "It is an incorrect object name..."
- shape_mesh = IDToObject( SObject.GetID() )
- mesh = smesh.CreateMesh(shape_mesh)
- idmesh = ObjectToID(mesh)
- SetName( idmesh, "Mesh" )
-
- #HYPOTHESIS CREATION
- print "-------------------------- Average length"
- theName = "AverageLength" + str(theAverageLength)
- hAvLength = smesh.CreateHypothesis( "LocalLength", "libStdMeshersEngine.so" )
- hAvLength.SetLength( theAverageLength )
- print hAvLength.GetName()
- print hAvLength.GetId()
- SetName(ObjectToID(hAvLength), theName)
-
- print "-------------------------- MaxElementArea"
- theName = "MaxElementArea" + str( theMaxElementArea )
- hArea = smesh.CreateHypothesis( "MaxElementArea", "libStdMeshersEngine.so" )
- hArea.SetMaxElementArea( theMaxElementArea )
- print hArea.GetName()
- print hArea.GetId()
- print hArea.GetMaxElementArea()
- SetName(ObjectToID(hArea), theName)
-
- print "-------------------------- MaxElementVolume"
- theName = "MaxElementVolume" + str( theMaxElementVolume )
- hVolume = smesh.CreateHypothesis( "MaxElementVolume", "libStdMeshersEngine.so" )
- hVolume.SetMaxElementVolume( theMaxElementVolume )
- print hVolume.GetName()
- print hVolume.GetId()
- print hVolume.GetMaxElementVolume()
- SetName(ObjectToID(hVolume), theName)
-
- mesh.AddHypothesis(shape_mesh, hAvLength)
- mesh.AddHypothesis(shape_mesh, hArea)
- mesh.AddHypothesis(shape_mesh, hVolume)
-
- print "-------------------------- Regular_1D"
-
- algoReg1D = smesh.CreateHypothesis( "Regular_1D", "libStdMeshersEngine.so" )
- listHyp = algoReg1D.GetCompatibleHypothesis()
- for hyp in listHyp:
- print hyp
- print algoReg1D.GetName()
- print algoReg1D.GetId()
- SetName(ObjectToID(algoReg1D), "Wire discretisation")
-
- print "-------------------------- MEFISTO_2D"
- algoMef = smesh.CreateHypothesis( "MEFISTO_2D", "libStdMeshersEngine.so" )
- listHyp = algoMef.GetCompatibleHypothesis()
- for hyp in listHyp:
- print hyp
- print algoMef.GetName()
- print algoMef.GetId()
- SetName(ObjectToID(algoMef), "Triangle (Mefisto)")
-
- print "-------------------------- NETGEN_3D"
- algoNg = smesh.CreateHypothesis( "NETGEN_3D", "libNETGENEngine.so" )
- for hyp in listHyp:
- print hyp
- print algoNg.GetName()
- print algoNg.GetId()
- SetName(ObjectToID(algoNg), "Tetrahedron (NETGEN)")
- mesh.AddHypothesis(shape_mesh, algoReg1D)
- mesh.AddHypothesis(shape_mesh, algoMef)
- mesh.AddHypothesis(shape_mesh, algoNg)
- smesh.Compute(mesh,shape_mesh)
-
- print "Information about the mesh:"
- print "Number of nodes : ", mesh.NbNodes()
- print "Number of edges : ", mesh.NbEdges()
- print "Number of faces : ", mesh.NbFaces()
- print "Number of triangles : ", mesh.NbTriangles()
- print "Number of quadrangles : ", mesh.NbQuadrangles()
- print "Number of volumes : ", mesh.NbVolumes()
- print "Number of tetrahedrons: ", mesh.NbTetras()
-
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow
-def DefaNewDataFlow() :
- aNewDataFlow = Graph( 'aNewDataFlow' )
- aNewDataFlow.SetName( 'aNewDataFlow' )
- aNewDataFlow.SetAuthor( '' )
- aNewDataFlow.SetComment( '' )
- aNewDataFlow.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- TranslateDXDYDZ = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetName( 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetAuthor( '' )
- TranslateDXDYDZ.SetContainer( 'localhost/FactoryServer' )
- TranslateDXDYDZ.SetComment( 'TranslateDXDYDZ from GEOM_Superv' )
- TranslateDXDYDZ.Coords( 735 , 14 )
- ITranslateDXDYDZtheObject = TranslateDXDYDZ.GetInPort( 'theObject' )
- ITranslateDXDYDZtheDX = TranslateDXDYDZ.GetInPort( 'theDX' )
- ITranslateDXDYDZtheDY = TranslateDXDYDZ.GetInPort( 'theDY' )
- ITranslateDXDYDZtheDZ = TranslateDXDYDZ.GetInPort( 'theDZ' )
- ITranslateDXDYDZGate = TranslateDXDYDZ.GetInPort( 'Gate' )
- OTranslateDXDYDZreturn = TranslateDXDYDZ.GetOutPort( 'return' )
- OTranslateDXDYDZGate = TranslateDXDYDZ.GetOutPort( 'Gate' )
-
- MakeCopy = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
- MakeCopy.SetName( 'MakeCopy' )
- MakeCopy.SetAuthor( '' )
- MakeCopy.SetContainer( 'localhost/FactoryServer' )
- MakeCopy.SetComment( 'MakeCopy from GEOM_Superv' )
- MakeCopy.Coords( 477 , 14 )
- IMakeCopytheOriginal = MakeCopy.GetInPort( 'theOriginal' )
- IMakeCopyGate = MakeCopy.GetInPort( 'Gate' )
- OMakeCopyreturn = MakeCopy.GetOutPort( 'return' )
- OMakeCopyGate = MakeCopy.GetOutPort( 'Gate' )
-
- MakeBox = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeBox' )
- MakeBox.SetName( 'MakeBox' )
- MakeBox.SetAuthor( '' )
- MakeBox.SetContainer( 'localhost/FactoryServer' )
- MakeBox.SetComment( 'MakeBox from GEOM_Superv' )
- MakeBox.Coords( 219 , 14 )
- IMakeBoxtheX1 = MakeBox.GetInPort( 'theX1' )
- IMakeBoxtheY1 = MakeBox.GetInPort( 'theY1' )
- IMakeBoxtheZ1 = MakeBox.GetInPort( 'theZ1' )
- IMakeBoxtheX2 = MakeBox.GetInPort( 'theX2' )
- IMakeBoxtheY2 = MakeBox.GetInPort( 'theY2' )
- IMakeBoxtheZ2 = MakeBox.GetInPort( 'theZ2' )
- IMakeBoxGate = MakeBox.GetInPort( 'Gate' )
- OMakeBoxreturn = MakeBox.GetOutPort( 'return' )
- OMakeBoxGate = MakeBox.GetOutPort( 'Gate' )
-
- MakeCopy_1 = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
- MakeCopy_1.SetName( 'MakeCopy_1' )
- MakeCopy_1.SetAuthor( '' )
- MakeCopy_1.SetContainer( 'localhost/FactoryServer' )
- MakeCopy_1.SetComment( 'MakeCopy from GEOM_Superv' )
- MakeCopy_1.Coords( 482 , 306 )
- IMakeCopy_1theOriginal = MakeCopy_1.GetInPort( 'theOriginal' )
- IMakeCopy_1Gate = MakeCopy_1.GetInPort( 'Gate' )
- OMakeCopy_1return = MakeCopy_1.GetOutPort( 'return' )
- OMakeCopy_1Gate = MakeCopy_1.GetOutPort( 'Gate' )
-
- MakeFuse = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeFuse' )
- MakeFuse.SetName( 'MakeFuse' )
- MakeFuse.SetAuthor( '' )
- MakeFuse.SetContainer( 'localhost/FactoryServer' )
- MakeFuse.SetComment( 'MakeFuse from GEOM_Superv' )
- MakeFuse.Coords( 950 , 121 )
- IMakeFusetheShape1 = MakeFuse.GetInPort( 'theShape1' )
- IMakeFusetheShape2 = MakeFuse.GetInPort( 'theShape2' )
- IMakeFuseGate = MakeFuse.GetInPort( 'Gate' )
- OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
- OMakeFuseGate = MakeFuse.GetOutPort( 'Gate' )
-
- MakeSphere = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeSphere' )
- MakeSphere.SetName( 'MakeSphere' )
- MakeSphere.SetAuthor( '' )
- MakeSphere.SetContainer( 'localhost/FactoryServer' )
- MakeSphere.SetComment( 'MakeSphere from GEOM_Superv' )
- MakeSphere.Coords( 227 , 409 )
- IMakeSpheretheX = MakeSphere.GetInPort( 'theX' )
- IMakeSpheretheY = MakeSphere.GetInPort( 'theY' )
- IMakeSpheretheZ = MakeSphere.GetInPort( 'theZ' )
- IMakeSpheretheRadius = MakeSphere.GetInPort( 'theRadius' )
- IMakeSphereGate = MakeSphere.GetInPort( 'Gate' )
- OMakeSpherereturn = MakeSphere.GetOutPort( 'return' )
- OMakeSphereGate = MakeSphere.GetOutPort( 'Gate' )
-
- MakeFuse_1 = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeFuse' )
- MakeFuse_1.SetName( 'MakeFuse_1' )
- MakeFuse_1.SetAuthor( '' )
- MakeFuse_1.SetContainer( 'localhost/FactoryServer' )
- MakeFuse_1.SetComment( 'MakeFuse from GEOM_Superv' )
- MakeFuse_1.Coords( 1217 , 389 )
- IMakeFuse_1theShape1 = MakeFuse_1.GetInPort( 'theShape1' )
- IMakeFuse_1theShape2 = MakeFuse_1.GetInPort( 'theShape2' )
- IMakeFuse_1Gate = MakeFuse_1.GetInPort( 'Gate' )
- OMakeFuse_1return = MakeFuse_1.GetOutPort( 'return' )
- OMakeFuse_1Gate = MakeFuse_1.GetOutPort( 'Gate' )
-
- SetStudyID = aNewDataFlow.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'SetStudyID' )
- SetStudyID.SetName( 'SetStudyID' )
- SetStudyID.SetAuthor( '' )
- SetStudyID.SetContainer( 'localhost/FactoryServer' )
- SetStudyID.SetComment( 'SetStudyID from GEOM_Superv' )
- SetStudyID.Coords( 7 , 269 )
- ISetStudyIDtheStudyID = SetStudyID.GetInPort( 'theStudyID' )
- ISetStudyIDGate = SetStudyID.GetInPort( 'Gate' )
- OSetStudyIDGate = SetStudyID.GetOutPort( 'Gate' )
-
- # Creation of Macro Nodes
- aNewDataFlow_1 = DefaNewDataFlow_1()
- Macro_aNewDataFlow_1 = aNewDataFlow.GraphMNode( aNewDataFlow_1 )
- Macro_aNewDataFlow_1.SetCoupled( 'aNewDataFlow_1' )
- Macro_aNewDataFlow_1.SetName( 'Macro_aNewDataFlow_1' )
- Macro_aNewDataFlow_1.SetAuthor( '' )
- Macro_aNewDataFlow_1.SetComment( 'Macro Node' )
- Macro_aNewDataFlow_1.Coords( 480 , 145 )
- IMacro_aNewDataFlow_1sum__a = Macro_aNewDataFlow_1.GetInPort( 'sum__a' )
- IMacro_aNewDataFlow_1sum__b = Macro_aNewDataFlow_1.GetInPort( 'sum__b' )
- IMacro_aNewDataFlow_1Gate = Macro_aNewDataFlow_1.GetInPort( 'Gate' )
- OMacro_aNewDataFlow_1Mult__b = Macro_aNewDataFlow_1.GetOutPort( 'Mult__b' )
- OMacro_aNewDataFlow_1Gate = Macro_aNewDataFlow_1.GetOutPort( 'Gate' )
-
- # Creation of Links
- LMacro_aNewDataFlow_1Mult__bTranslateDXDYDZtheDY = aNewDataFlow.Link( OMacro_aNewDataFlow_1Mult__b , ITranslateDXDYDZtheDY )
-
- LTranslateDXDYDZreturnMakeFusetheShape1 = aNewDataFlow.Link( OTranslateDXDYDZreturn , IMakeFusetheShape1 )
-
- LMakeCopyreturnTranslateDXDYDZtheObject = aNewDataFlow.Link( OMakeCopyreturn , ITranslateDXDYDZtheObject )
-
- LMakeBoxreturnMakeCopytheOriginal = aNewDataFlow.Link( OMakeBoxreturn , IMakeCopytheOriginal )
-
- LMakeBoxreturnMakeCopy_1theOriginal = aNewDataFlow.Link( OMakeBoxreturn , IMakeCopy_1theOriginal )
-
- LMakeCopy_1returnMakeFusetheShape2 = aNewDataFlow.Link( OMakeCopy_1return , IMakeFusetheShape2 )
-
- LMakeFusereturnMakeFuse_1theShape1 = aNewDataFlow.Link( OMakeFusereturn , IMakeFuse_1theShape1 )
-
- LMakeSpherereturnMakeFuse_1theShape2 = aNewDataFlow.Link( OMakeSpherereturn , IMakeFuse_1theShape2 )
-
- LSetStudyIDGateMakeBoxGate = aNewDataFlow.Link( OSetStudyIDGate , IMakeBoxGate )
-
- LSetStudyIDGateMakeSphereGate = aNewDataFlow.Link( OSetStudyIDGate , IMakeSphereGate )
-
- # Input datas
- IMacro_aNewDataFlow_1sum__a.Input( 1 )
- IMacro_aNewDataFlow_1sum__b.Input( 2 )
- ITranslateDXDYDZtheDX.Input( 25 )
- ITranslateDXDYDZtheDZ.Input( 25 )
- IMakeBoxtheX1.Input( 0 )
- IMakeBoxtheY1.Input( 0 )
- IMakeBoxtheZ1.Input( 0 )
- IMakeBoxtheX2.Input( 50 )
- IMakeBoxtheY2.Input( 50 )
- IMakeBoxtheZ2.Input( 50 )
- IMakeSpheretheX.Input( 0 )
- IMakeSpheretheY.Input( 0 )
- IMakeSpheretheZ.Input( 0 )
- IMakeSpheretheRadius.Input( 12 )
- ISetStudyIDtheStudyID.Input( 1 )
-
- # Output Ports of the graph
- #OMakeFuse_1return = MakeFuse_1.GetOutPort( 'return' )
- return aNewDataFlow
-
-# Graph creation of aNewDataFlow_1
-def DefaNewDataFlow_1() :
- aNewDataFlow_1 = Graph( 'aNewDataFlow_1' )
- aNewDataFlow_1.SetCoupled( 'Macro_aNewDataFlow_1' )
- aNewDataFlow_1.SetName( 'aNewDataFlow_1' )
- aNewDataFlow_1.SetAuthor( '' )
- aNewDataFlow_1.SetComment( '' )
- aNewDataFlow_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyMult = []
- PyMult.append( 'def Mult(a): ' )
- PyMult.append( ' b = a*3 ' )
- PyMult.append( ' return b ' )
- Mult = aNewDataFlow_1.INode( 'Mult' , PyMult )
- Mult.SetName( 'Mult' )
- Mult.SetAuthor( '' )
- Mult.SetComment( 'Compute Node' )
- Mult.Coords( 382 , 78 )
- IMulta = Mult.InPort( 'a' , 'double' )
- IMultGate = Mult.GetInPort( 'Gate' )
- OMultb = Mult.OutPort( 'b' , 'double' )
- OMultGate = Mult.GetOutPort( 'Gate' )
-
- Pysum = []
- Pysum.append( 'def sum(a, b): ' )
- Pysum.append( ' return a+b' )
- sum = aNewDataFlow_1.INode( 'sum' , Pysum )
- sum.SetName( 'sum' )
- sum.SetAuthor( '' )
- sum.SetComment( 'Compute Node' )
- sum.Coords( 47 , 87 )
- Isuma = sum.InPort( 'a' , 'double' )
- Isumb = sum.InPort( 'b' , 'double' )
- IsumGate = sum.GetInPort( 'Gate' )
- Osums = sum.OutPort( 's' , 'double' )
- OsumGate = sum.GetOutPort( 'Gate' )
-
- # Creation of Links
- LsumsMulta = aNewDataFlow_1.Link( Osums , IMulta )
-
- # Input Ports of the graph
- #Isuma = sum.GetInPort( 'a' )
- #Isumb = sum.GetInPort( 'b' )
-
- # Output Ports of the graph
- #OMultb = Mult.GetOutPort( 'b' )
- return aNewDataFlow_1
-
-
-aNewDataFlow = DefaNewDataFlow()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow_1_4
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow_1_4
-def DefaNewDataFlow_1_4() :
- aNewDataFlow_1_4 = Graph( 'aNewDataFlow_1_4' )
- aNewDataFlow_1_4.SetName( 'aNewDataFlow_1_4' )
- aNewDataFlow_1_4.SetAuthor( '' )
- aNewDataFlow_1_4.SetComment( '' )
- aNewDataFlow_1_4.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- TranslateDXDYDZ = aNewDataFlow_1_4.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetName( 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetAuthor( '' )
- TranslateDXDYDZ.SetContainer( 'localhost/FactoryServer' )
- TranslateDXDYDZ.SetComment( 'TranslateDXDYDZ from GEOM_Superv' )
- TranslateDXDYDZ.Coords( 1051 , 118 )
- ITranslateDXDYDZtheObject = TranslateDXDYDZ.GetInPort( 'theObject' )
- ITranslateDXDYDZtheDX = TranslateDXDYDZ.GetInPort( 'theDX' )
- ITranslateDXDYDZtheDY = TranslateDXDYDZ.GetInPort( 'theDY' )
- ITranslateDXDYDZtheDZ = TranslateDXDYDZ.GetInPort( 'theDZ' )
- ITranslateDXDYDZGate = TranslateDXDYDZ.GetInPort( 'Gate' )
- OTranslateDXDYDZreturn = TranslateDXDYDZ.GetOutPort( 'return' )
- OTranslateDXDYDZGate = TranslateDXDYDZ.GetOutPort( 'Gate' )
-
- MakeCopy = aNewDataFlow_1_4.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
- MakeCopy.SetName( 'MakeCopy' )
- MakeCopy.SetAuthor( '' )
- MakeCopy.SetContainer( 'localhost/FactoryServer' )
- MakeCopy.SetComment( 'MakeCopy from GEOM_Superv' )
- MakeCopy.Coords( 656 , 101 )
- IMakeCopytheOriginal = MakeCopy.GetInPort( 'theOriginal' )
- IMakeCopyGate = MakeCopy.GetInPort( 'Gate' )
- OMakeCopyreturn = MakeCopy.GetOutPort( 'return' )
- OMakeCopyGate = MakeCopy.GetOutPort( 'Gate' )
-
- MakeBox = aNewDataFlow_1_4.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeBox' )
- MakeBox.SetName( 'MakeBox' )
- MakeBox.SetAuthor( '' )
- MakeBox.SetContainer( 'localhost/FactoryServer' )
- MakeBox.SetComment( 'MakeBox from GEOM_Superv' )
- MakeBox.Coords( 219 , 14 )
- IMakeBoxtheX1 = MakeBox.GetInPort( 'theX1' )
- IMakeBoxtheY1 = MakeBox.GetInPort( 'theY1' )
- IMakeBoxtheZ1 = MakeBox.GetInPort( 'theZ1' )
- IMakeBoxtheX2 = MakeBox.GetInPort( 'theX2' )
- IMakeBoxtheY2 = MakeBox.GetInPort( 'theY2' )
- IMakeBoxtheZ2 = MakeBox.GetInPort( 'theZ2' )
- IMakeBoxGate = MakeBox.GetInPort( 'Gate' )
- OMakeBoxreturn = MakeBox.GetOutPort( 'return' )
- OMakeBoxGate = MakeBox.GetOutPort( 'Gate' )
-
- MakeCopy_1 = aNewDataFlow_1_4.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
- MakeCopy_1.SetName( 'MakeCopy_1' )
- MakeCopy_1.SetAuthor( '' )
- MakeCopy_1.SetContainer( 'localhost/FactoryServer' )
- MakeCopy_1.SetComment( 'MakeCopy from GEOM_Superv' )
- MakeCopy_1.Coords( 1286 , 14 )
- IMakeCopy_1theOriginal = MakeCopy_1.GetInPort( 'theOriginal' )
- IMakeCopy_1Gate = MakeCopy_1.GetInPort( 'Gate' )
- OMakeCopy_1return = MakeCopy_1.GetOutPort( 'return' )
- OMakeCopy_1Gate = MakeCopy_1.GetOutPort( 'Gate' )
-
- MakeFuse = aNewDataFlow_1_4.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeFuse' )
- MakeFuse.SetName( 'MakeFuse' )
- MakeFuse.SetAuthor( '' )
- MakeFuse.SetContainer( 'localhost/FactoryServer' )
- MakeFuse.SetComment( 'MakeFuse from GEOM_Superv' )
- MakeFuse.Coords( 1549 , 146 )
- IMakeFusetheShape1 = MakeFuse.GetInPort( 'theShape1' )
- IMakeFusetheShape2 = MakeFuse.GetInPort( 'theShape2' )
- IMakeFuseGate = MakeFuse.GetInPort( 'Gate' )
- OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
- OMakeFuseGate = MakeFuse.GetOutPort( 'Gate' )
-
- MakeSphere = aNewDataFlow_1_4.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeSphere' )
- MakeSphere.SetName( 'MakeSphere' )
- MakeSphere.SetAuthor( '' )
- MakeSphere.SetContainer( 'localhost/FactoryServer' )
- MakeSphere.SetComment( 'MakeSphere from GEOM_Superv' )
- MakeSphere.Coords( 1749 , 41 )
- IMakeSpheretheX = MakeSphere.GetInPort( 'theX' )
- IMakeSpheretheY = MakeSphere.GetInPort( 'theY' )
- IMakeSpheretheZ = MakeSphere.GetInPort( 'theZ' )
- IMakeSpheretheRadius = MakeSphere.GetInPort( 'theRadius' )
- IMakeSphereGate = MakeSphere.GetInPort( 'Gate' )
- OMakeSpherereturn = MakeSphere.GetOutPort( 'return' )
- OMakeSphereGate = MakeSphere.GetOutPort( 'Gate' )
-
- MakeFuse_1 = aNewDataFlow_1_4.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeFuse' )
- MakeFuse_1.SetName( 'MakeFuse_1' )
- MakeFuse_1.SetAuthor( '' )
- MakeFuse_1.SetContainer( 'localhost/FactoryServer' )
- MakeFuse_1.SetComment( 'MakeFuse from GEOM_Superv' )
- MakeFuse_1.Coords( 2007 , 210 )
- IMakeFuse_1theShape1 = MakeFuse_1.GetInPort( 'theShape1' )
- IMakeFuse_1theShape2 = MakeFuse_1.GetInPort( 'theShape2' )
- IMakeFuse_1Gate = MakeFuse_1.GetInPort( 'Gate' )
- OMakeFuse_1return = MakeFuse_1.GetOutPort( 'return' )
- OMakeFuse_1Gate = MakeFuse_1.GetOutPort( 'Gate' )
-
- SetStudyID = aNewDataFlow_1_4.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'SetStudyID' )
- SetStudyID.SetName( 'SetStudyID' )
- SetStudyID.SetAuthor( '' )
- SetStudyID.SetContainer( 'localhost/FactoryServer' )
- SetStudyID.SetComment( 'SetStudyID from GEOM_Superv' )
- SetStudyID.Coords( 7 , 269 )
- ISetStudyIDtheStudyID = SetStudyID.GetInPort( 'theStudyID' )
- ISetStudyIDGate = SetStudyID.GetInPort( 'Gate' )
- OSetStudyIDGate = SetStudyID.GetOutPort( 'Gate' )
-
- # Creation of Macro Nodes
- aNewDataFlow_1_1_2 = DefaNewDataFlow_1_1_2()
- Macro_aNewDataFlow_1 = aNewDataFlow_1_4.GraphMNode( aNewDataFlow_1_1_2 )
- Macro_aNewDataFlow_1.SetCoupled( 'aNewDataFlow_1_1_2' )
- Macro_aNewDataFlow_1.SetName( 'Macro_aNewDataFlow_1' )
- Macro_aNewDataFlow_1.SetAuthor( '' )
- Macro_aNewDataFlow_1.SetComment( 'Macro Node' )
- Macro_aNewDataFlow_1.Coords( 718 , 263 )
- IMacro_aNewDataFlow_1sum__a = Macro_aNewDataFlow_1.GetInPort( 'sum__a' )
- IMacro_aNewDataFlow_1sum__b = Macro_aNewDataFlow_1.GetInPort( 'sum__b' )
- IMacro_aNewDataFlow_1Gate = Macro_aNewDataFlow_1.GetInPort( 'Gate' )
- OMacro_aNewDataFlow_1Mult__b = Macro_aNewDataFlow_1.GetOutPort( 'Mult__b' )
- OMacro_aNewDataFlow_1Gate = Macro_aNewDataFlow_1.GetOutPort( 'Gate' )
-
- # Creation of Links
- LMacro_aNewDataFlow_1Mult__bTranslateDXDYDZtheDY = aNewDataFlow_1_4.Link( OMacro_aNewDataFlow_1Mult__b , ITranslateDXDYDZtheDY )
-
- LTranslateDXDYDZreturnMakeFusetheShape1 = aNewDataFlow_1_4.Link( OTranslateDXDYDZreturn , IMakeFusetheShape1 )
-
- LTranslateDXDYDZGateMakeCopy_1Gate = aNewDataFlow_1_4.Link( OTranslateDXDYDZGate , IMakeCopy_1Gate )
-
- LMakeCopyreturnTranslateDXDYDZtheObject = aNewDataFlow_1_4.Link( OMakeCopyreturn , ITranslateDXDYDZtheObject )
-
- LMakeCopyGateTranslateDXDYDZGate = aNewDataFlow_1_4.Link( OMakeCopyGate , ITranslateDXDYDZGate )
-
- LMakeBoxreturnMakeCopytheOriginal = aNewDataFlow_1_4.Link( OMakeBoxreturn , IMakeCopytheOriginal )
-
- LMakeBoxreturnMakeCopy_1theOriginal = aNewDataFlow_1_4.Link( OMakeBoxreturn , IMakeCopy_1theOriginal )
-
- LMakeBoxGateMakeCopyGate = aNewDataFlow_1_4.Link( OMakeBoxGate , IMakeCopyGate )
-
- LMakeCopy_1returnMakeFusetheShape2 = aNewDataFlow_1_4.Link( OMakeCopy_1return , IMakeFusetheShape2 )
-
- LMakeCopy_1GateMakeFuseGate = aNewDataFlow_1_4.Link( OMakeCopy_1Gate , IMakeFuseGate )
-
- LMakeFusereturnMakeFuse_1theShape1 = aNewDataFlow_1_4.Link( OMakeFusereturn , IMakeFuse_1theShape1 )
-
- LMakeFuseGateMakeSphereGate = aNewDataFlow_1_4.Link( OMakeFuseGate , IMakeSphereGate )
-
- LMakeSpherereturnMakeFuse_1theShape2 = aNewDataFlow_1_4.Link( OMakeSpherereturn , IMakeFuse_1theShape2 )
-
- LMakeSphereGateMakeFuse_1Gate = aNewDataFlow_1_4.Link( OMakeSphereGate , IMakeFuse_1Gate )
-
- LSetStudyIDGateMakeBoxGate = aNewDataFlow_1_4.Link( OSetStudyIDGate , IMakeBoxGate )
-
- # Input datas
- IMacro_aNewDataFlow_1sum__a.Input( 1 )
- IMacro_aNewDataFlow_1sum__b.Input( 2 )
- ITranslateDXDYDZtheDX.Input( 25 )
- ITranslateDXDYDZtheDZ.Input( 25 )
- IMakeBoxtheX1.Input( 0 )
- IMakeBoxtheY1.Input( 0 )
- IMakeBoxtheZ1.Input( 0 )
- IMakeBoxtheX2.Input( 50 )
- IMakeBoxtheY2.Input( 50 )
- IMakeBoxtheZ2.Input( 50 )
- IMakeSpheretheX.Input( 0 )
- IMakeSpheretheY.Input( 0 )
- IMakeSpheretheZ.Input( 0 )
- IMakeSpheretheRadius.Input( 12 )
- ISetStudyIDtheStudyID.Input( 12 )
-
- # Output Ports of the graph
- #OMakeFuse_1return = MakeFuse_1.GetOutPort( 'return' )
- return aNewDataFlow_1_4
-
-# Graph creation of aNewDataFlow_1_1_2
-def DefaNewDataFlow_1_1_2() :
- aNewDataFlow_1_1_2 = Graph( 'aNewDataFlow_1_1_2' )
- aNewDataFlow_1_1_2.SetCoupled( 'Macro_aNewDataFlow_1' )
- aNewDataFlow_1_1_2.SetName( 'aNewDataFlow_1_1_2' )
- aNewDataFlow_1_1_2.SetAuthor( '' )
- aNewDataFlow_1_1_2.SetComment( '' )
- aNewDataFlow_1_1_2.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyMult = []
- PyMult.append( 'def Mult(a): ' )
- PyMult.append( ' b = a*3 ' )
- PyMult.append( ' return b ' )
- Mult = aNewDataFlow_1_1_2.INode( 'Mult' , PyMult )
- Mult.SetName( 'Mult' )
- Mult.SetAuthor( '' )
- Mult.SetComment( 'Compute Node' )
- Mult.Coords( 382 , 78 )
- IMulta = Mult.InPort( 'a' , 'double' )
- IMultGate = Mult.GetInPort( 'Gate' )
- OMultb = Mult.OutPort( 'b' , 'double' )
- OMultGate = Mult.GetOutPort( 'Gate' )
-
- Pysum = []
- Pysum.append( 'def sum(a, b): ' )
- Pysum.append( ' return a+b' )
- sum = aNewDataFlow_1_1_2.INode( 'sum' , Pysum )
- sum.SetName( 'sum' )
- sum.SetAuthor( '' )
- sum.SetComment( 'Compute Node' )
- sum.Coords( 47 , 87 )
- Isuma = sum.InPort( 'a' , 'double' )
- Isumb = sum.InPort( 'b' , 'double' )
- IsumGate = sum.GetInPort( 'Gate' )
- Osums = sum.OutPort( 's' , 'double' )
- OsumGate = sum.GetOutPort( 'Gate' )
-
- # Creation of Links
- LsumsMulta = aNewDataFlow_1_1_2.Link( Osums , IMulta )
-
- # Input Ports of the graph
- #Isuma = sum.GetInPort( 'a' )
- #Isumb = sum.GetInPort( 'b' )
-
- # Output Ports of the graph
- #OMultb = Mult.GetOutPort( 'b' )
- return aNewDataFlow_1_1_2
-
-
-aNewDataFlow_1_4 = DefaNewDataFlow_1_4()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow_1_4_1_1_1_1
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow_1_4_1_1_1_1
-def DefaNewDataFlow_1_4_1_1_1_1() :
- aNewDataFlow_1_4_1_1_1_1 = Graph( 'aNewDataFlow_1_4_1_1_1_1' )
- aNewDataFlow_1_4_1_1_1_1.SetName( 'aNewDataFlow_1_4_1_1_1_1' )
- aNewDataFlow_1_4_1_1_1_1.SetAuthor( '' )
- aNewDataFlow_1_4_1_1_1_1.SetComment( '' )
- aNewDataFlow_1_4_1_1_1_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- Pygag = []
- Pygag.append( 'from batchmode_geompy import * ' )
- Pygag.append( 'def gag(): ' )
- Pygag.append( ' # This is a gag ' )
- Pygag.append( ' return 1 ' )
- gag = aNewDataFlow_1_4_1_1_1_1.INode( 'gag' , Pygag )
- gag.SetName( 'gag' )
- gag.SetAuthor( '' )
- gag.SetComment( 'Compute Node' )
- gag.Coords( 0 , 123 )
- IgagGate = gag.GetInPort( 'Gate' )
- OgagGate = gag.GetOutPort( 'Gate' )
-
- PyMakeBox1 = []
- PyMakeBox1.append( 'def MakeBox1(x1,y1,z1,x2,y2,z2): ' )
- PyMakeBox1.append( ' aBox = MakeBox(x1,y1,z1,x2,y2,z2) ' )
- PyMakeBox1.append( ' return aBox ' )
- MakeBox1 = aNewDataFlow_1_4_1_1_1_1.INode( 'MakeBox1' , PyMakeBox1 )
- MakeBox1.SetName( 'MakeBox1' )
- MakeBox1.SetAuthor( '' )
- MakeBox1.SetComment( 'Compute Node' )
- MakeBox1.Coords( 194 , 3 )
- IMakeBox1x1 = MakeBox1.InPort( 'x1' , 'double' )
- IMakeBox1y1 = MakeBox1.InPort( 'y1' , 'double' )
- IMakeBox1z1 = MakeBox1.InPort( 'z1' , 'double' )
- IMakeBox1x2 = MakeBox1.InPort( 'x2' , 'double' )
- IMakeBox1y2 = MakeBox1.InPort( 'y2' , 'double' )
- IMakeBox1z2 = MakeBox1.InPort( 'z2' , 'double' )
- IMakeBox1Gate = MakeBox1.GetInPort( 'Gate' )
- OMakeBox1shape = MakeBox1.OutPort( 'shape' , 'objref' )
- OMakeBox1Gate = MakeBox1.GetOutPort( 'Gate' )
-
- PyMakeCopy_1 = []
- PyMakeCopy_1.append( 'def MakeCopy_1(shape1): ' )
- PyMakeCopy_1.append( ' shape=MakeCopy(shape1) ' )
- PyMakeCopy_1.append( ' return shape ' )
- MakeCopy_1 = aNewDataFlow_1_4_1_1_1_1.INode( 'MakeCopy_1' , PyMakeCopy_1 )
- MakeCopy_1.SetName( 'MakeCopy_1' )
- MakeCopy_1.SetAuthor( '' )
- MakeCopy_1.SetComment( 'Compute Node' )
- MakeCopy_1.Coords( 389 , 3 )
- IMakeCopy_1shape1 = MakeCopy_1.InPort( 'shape1' , 'objref' )
- IMakeCopy_1Gate = MakeCopy_1.GetInPort( 'Gate' )
- OMakeCopy_1shape = MakeCopy_1.OutPort( 'shape' , 'objref' )
- OMakeCopy_1Gate = MakeCopy_1.GetOutPort( 'Gate' )
-
- PyMakeCopy_2 = []
- PyMakeCopy_2.append( 'def MakeCopy_2(shape1): ' )
- PyMakeCopy_2.append( ' shape=MakeCopy(shape1) ' )
- PyMakeCopy_2.append( ' return shape ' )
- MakeCopy_2 = aNewDataFlow_1_4_1_1_1_1.INode( 'MakeCopy_2' , PyMakeCopy_2 )
- MakeCopy_2.SetName( 'MakeCopy_2' )
- MakeCopy_2.SetAuthor( '' )
- MakeCopy_2.SetComment( 'Compute Node' )
- MakeCopy_2.Coords( 391 , 264 )
- IMakeCopy_2shape1 = MakeCopy_2.InPort( 'shape1' , 'objref' )
- IMakeCopy_2Gate = MakeCopy_2.GetInPort( 'Gate' )
- OMakeCopy_2shape = MakeCopy_2.OutPort( 'shape' , 'objref' )
- OMakeCopy_2Gate = MakeCopy_2.GetOutPort( 'Gate' )
-
- PyMakeSphere_1 = []
- PyMakeSphere_1.append( 'def MakeSphere_1(x1,y1,z1,radius): ' )
- PyMakeSphere_1.append( ' apoint=MakeVertex(x1,y1,z1) ' )
- PyMakeSphere_1.append( ' shape=MakeSpherePntR(apoint,radius) ' )
- PyMakeSphere_1.append( ' return shape ' )
- MakeSphere_1 = aNewDataFlow_1_4_1_1_1_1.INode( 'MakeSphere_1' , PyMakeSphere_1 )
- MakeSphere_1.SetName( 'MakeSphere_1' )
- MakeSphere_1.SetAuthor( '' )
- MakeSphere_1.SetComment( 'Compute Node' )
- MakeSphere_1.Coords( 641 , 326 )
- IMakeSphere_1x1 = MakeSphere_1.InPort( 'x1' , 'double' )
- IMakeSphere_1y1 = MakeSphere_1.InPort( 'y1' , 'double' )
- IMakeSphere_1z1 = MakeSphere_1.InPort( 'z1' , 'double' )
- IMakeSphere_1radius = MakeSphere_1.InPort( 'radius' , 'double' )
- IMakeSphere_1Gate = MakeSphere_1.GetInPort( 'Gate' )
- OMakeSphere_1shape = MakeSphere_1.OutPort( 'shape' , 'objref' )
- OMakeSphere_1Gate = MakeSphere_1.GetOutPort( 'Gate' )
-
- PyMakeFuse_1 = []
- PyMakeFuse_1.append( 'def MakeFuse_1(shape1,shape2): ' )
- PyMakeFuse_1.append( ' # fuse operation 3 ' )
- PyMakeFuse_1.append( ' shape = MakeBoolean(shape1,shape2,3) ' )
- PyMakeFuse_1.append( ' return shape ' )
- MakeFuse_1 = aNewDataFlow_1_4_1_1_1_1.INode( 'MakeFuse_1' , PyMakeFuse_1 )
- MakeFuse_1.SetName( 'MakeFuse_1' )
- MakeFuse_1.SetAuthor( '' )
- MakeFuse_1.SetComment( 'Compute Node' )
- MakeFuse_1.Coords( 823 , 116 )
- IMakeFuse_1shape1 = MakeFuse_1.InPort( 'shape1' , 'objref' )
- IMakeFuse_1shape2 = MakeFuse_1.InPort( 'shape2' , 'objref' )
- IMakeFuse_1Gate = MakeFuse_1.GetInPort( 'Gate' )
- OMakeFuse_1shape = MakeFuse_1.OutPort( 'shape' , 'objref' )
- OMakeFuse_1Gate = MakeFuse_1.GetOutPort( 'Gate' )
-
- PyMakeFuse_2 = []
- PyMakeFuse_2.append( 'def MakeFuse_2(shape1,shape2): ' )
- PyMakeFuse_2.append( ' # fuse operation 3 ' )
- PyMakeFuse_2.append( ' shape = MakeBoolean(shape1,shape2,3) ' )
- PyMakeFuse_2.append( ' from SALOME_NamingServicePy import SALOME_NamingServicePy_i ' )
- PyMakeFuse_2.append( ' myNamingService = SALOME_NamingServicePy_i(orb) ' )
- PyMakeFuse_2.append( ' aSession = myNamingService.Resolve('/Kernel/Session') ' )
- PyMakeFuse_2.append( ' aStudyId = aSession.GetActiveStudyId() ' )
- PyMakeFuse_2.append( ' myStudyManager = myNamingService.Resolve('/myStudyManager') ' )
- PyMakeFuse_2.append( ' aStudy = myStudyManager.GetStudyByID(aStudyId) ' )
- PyMakeFuse_2.append( ' aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ' )
- PyMakeFuse_2.append( ' return shape ' )
- MakeFuse_2 = aNewDataFlow_1_4_1_1_1_1.INode( 'MakeFuse_2' , PyMakeFuse_2 )
- MakeFuse_2.SetName( 'MakeFuse_2' )
- MakeFuse_2.SetAuthor( '' )
- MakeFuse_2.SetComment( 'Compute Node' )
- MakeFuse_2.Coords( 1049 , 295 )
- IMakeFuse_2shape1 = MakeFuse_2.InPort( 'shape1' , 'objref' )
- IMakeFuse_2shape2 = MakeFuse_2.InPort( 'shape2' , 'objref' )
- IMakeFuse_2Gate = MakeFuse_2.GetInPort( 'Gate' )
- OMakeFuse_2shape = MakeFuse_2.OutPort( 'shape' , 'objref' )
- OMakeFuse_2Gate = MakeFuse_2.GetOutPort( 'Gate' )
-
- PyMakeTranslation_1 = []
- PyMakeTranslation_1.append( 'def MakeTranslation_1(shape1,x1,y1,z1): ' )
- PyMakeTranslation_1.append( ' shape = MakeTranslation(shape1,x1,y1,z1) ' )
- PyMakeTranslation_1.append( ' return shape' )
- MakeTranslation_1 = aNewDataFlow_1_4_1_1_1_1.INode( 'MakeTranslation_1' , PyMakeTranslation_1 )
- MakeTranslation_1.SetName( 'MakeTranslation_1' )
- MakeTranslation_1.SetAuthor( '' )
- MakeTranslation_1.SetComment( 'Compute Node' )
- MakeTranslation_1.Coords( 621 , 12 )
- IMakeTranslation_1shape1 = MakeTranslation_1.InPort( 'shape1' , 'objref' )
- IMakeTranslation_1x1 = MakeTranslation_1.InPort( 'x1' , 'double' )
- IMakeTranslation_1y1 = MakeTranslation_1.InPort( 'y1' , 'double' )
- IMakeTranslation_1z1 = MakeTranslation_1.InPort( 'z1' , 'double' )
- IMakeTranslation_1Gate = MakeTranslation_1.GetInPort( 'Gate' )
- OMakeTranslation_1shape = MakeTranslation_1.OutPort( 'shape' , 'objref' )
- OMakeTranslation_1Gate = MakeTranslation_1.GetOutPort( 'Gate' )
-
- # Creation of Macro Nodes
- aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1 = DefaNewDataFlow_1_5_1_1_3_3_1_1_1_3_1()
- Macro_aNewDataFlow_1_5_1_1 = aNewDataFlow_1_4_1_1_1_1.GraphMNode( aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1 )
- Macro_aNewDataFlow_1_5_1_1.SetCoupled( 'aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1' )
- Macro_aNewDataFlow_1_5_1_1.SetName( 'Macro_aNewDataFlow_1_5_1_1' )
- Macro_aNewDataFlow_1_5_1_1.SetAuthor( '' )
- Macro_aNewDataFlow_1_5_1_1.SetComment( 'Macro Node' )
- Macro_aNewDataFlow_1_5_1_1.Coords( 391 , 121 )
- IMacro_aNewDataFlow_1_5_1_1sum__a = Macro_aNewDataFlow_1_5_1_1.GetInPort( 'sum__a' )
- IMacro_aNewDataFlow_1_5_1_1sum__b = Macro_aNewDataFlow_1_5_1_1.GetInPort( 'sum__b' )
- IMacro_aNewDataFlow_1_5_1_1Gate = Macro_aNewDataFlow_1_5_1_1.GetInPort( 'Gate' )
- OMacro_aNewDataFlow_1_5_1_1Mult__b = Macro_aNewDataFlow_1_5_1_1.GetOutPort( 'Mult__b' )
- OMacro_aNewDataFlow_1_5_1_1Gate = Macro_aNewDataFlow_1_5_1_1.GetOutPort( 'Gate' )
-
- # Creation of Links
- LgagGateMakeBox1Gate = aNewDataFlow_1_4_1_1_1_1.Link( OgagGate , IMakeBox1Gate )
-
- LMakeBox1shapeMakeCopy_1shape1 = aNewDataFlow_1_4_1_1_1_1.Link( OMakeBox1shape , IMakeCopy_1shape1 )
-
- LMakeBox1shapeMakeCopy_2shape1 = aNewDataFlow_1_4_1_1_1_1.Link( OMakeBox1shape , IMakeCopy_2shape1 )
- LMakeBox1shapeMakeCopy_2shape1.AddCoord( 1 , 373 , 211 )
-
- LMakeBox1GateMakeCopy_1Gate = aNewDataFlow_1_4_1_1_1_1.Link( OMakeBox1Gate , IMakeCopy_1Gate )
-
- LMakeCopy_1shapeMakeTranslation_1shape1 = aNewDataFlow_1_4_1_1_1_1.Link( OMakeCopy_1shape , IMakeTranslation_1shape1 )
-
- LMakeCopy_1GateMakeCopy_2Gate = aNewDataFlow_1_4_1_1_1_1.Link( OMakeCopy_1Gate , IMakeCopy_2Gate )
- LMakeCopy_1GateMakeCopy_2Gate.AddCoord( 1 , 365 , 359 )
- LMakeCopy_1GateMakeCopy_2Gate.AddCoord( 2 , 570 , 98 )
-
- LMakeCopy_2shapeMakeFuse_1shape2 = aNewDataFlow_1_4_1_1_1_1.Link( OMakeCopy_2shape , IMakeFuse_1shape2 )
- LMakeCopy_2shapeMakeFuse_1shape2.AddCoord( 1 , 674 , 207 )
-
- LMakeCopy_2GateMakeSphere_1Gate = aNewDataFlow_1_4_1_1_1_1.Link( OMakeCopy_2Gate , IMakeSphere_1Gate )
-
- LMakeSphere_1shapeMakeFuse_2shape2 = aNewDataFlow_1_4_1_1_1_1.Link( OMakeSphere_1shape , IMakeFuse_2shape2 )
-
- LMakeSphere_1GateMakeTranslation_1Gate = aNewDataFlow_1_4_1_1_1_1.Link( OMakeSphere_1Gate , IMakeTranslation_1Gate )
- LMakeSphere_1GateMakeTranslation_1Gate.AddCoord( 1 , 593 , 167 )
- LMakeSphere_1GateMakeTranslation_1Gate.AddCoord( 2 , 828 , 481 )
-
- LMakeFuse_1shapeMakeFuse_2shape1 = aNewDataFlow_1_4_1_1_1_1.Link( OMakeFuse_1shape , IMakeFuse_2shape1 )
- LMakeFuse_1shapeMakeFuse_2shape1.AddCoord( 1 , 1017 , 366 )
- LMakeFuse_1shapeMakeFuse_2shape1.AddCoord( 2 , 1017 , 187 )
-
- LMakeFuse_1GateMakeFuse_2Gate = aNewDataFlow_1_4_1_1_1_1.Link( OMakeFuse_1Gate , IMakeFuse_2Gate )
- LMakeFuse_1GateMakeFuse_2Gate.AddCoord( 1 , 1001 , 410 )
- LMakeFuse_1GateMakeFuse_2Gate.AddCoord( 2 , 1001 , 231 )
-
- LMacro_aNewDataFlow_1_5_1_1Mult__bMakeTranslation_1y1 = aNewDataFlow_1_4_1_1_1_1.Link( OMacro_aNewDataFlow_1_5_1_1Mult__b , IMakeTranslation_1y1 )
-
- LMakeTranslation_1shapeMakeFuse_1shape1 = aNewDataFlow_1_4_1_1_1_1.Link( OMakeTranslation_1shape , IMakeFuse_1shape1 )
-
- LMakeTranslation_1GateMakeFuse_1Gate = aNewDataFlow_1_4_1_1_1_1.Link( OMakeTranslation_1Gate , IMakeFuse_1Gate )
-
- # Input datas
- IMakeBox1x1.Input( 0 )
- IMakeBox1y1.Input( 0 )
- IMakeBox1z1.Input( 0 )
- IMakeBox1x2.Input( 50 )
- IMakeBox1y2.Input( 50 )
- IMakeBox1z2.Input( 50 )
- IMakeSphere_1x1.Input( 0 )
- IMakeSphere_1y1.Input( 0 )
- IMakeSphere_1z1.Input( 0 )
- IMakeSphere_1radius.Input( 12 )
- IMacro_aNewDataFlow_1_5_1_1sum__a.Input( 1 )
- IMacro_aNewDataFlow_1_5_1_1sum__b.Input( 2 )
- IMakeTranslation_1x1.Input( 25 )
- IMakeTranslation_1z1.Input( 25 )
-
- # Output Ports of the graph
- #OMakeFuse_2shape = MakeFuse_2.GetOutPort( 'shape' )
- return aNewDataFlow_1_4_1_1_1_1
-
-# Graph creation of aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1
-def DefaNewDataFlow_1_5_1_1_3_3_1_1_1_3_1() :
- aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1 = Graph( 'aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1' )
- aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.SetCoupled( 'Macro_aNewDataFlow_1_5_1_1' )
- aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.SetName( 'aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1' )
- aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.SetAuthor( '' )
- aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.SetComment( '' )
- aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- Pysum = []
- Pysum.append( 'def sum(a, b): ' )
- Pysum.append( ' return a+b ' )
- sum = aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.INode( 'sum' , Pysum )
- sum.SetName( 'sum' )
- sum.SetAuthor( '' )
- sum.SetComment( 'Compute Node' )
- sum.Coords( 52 , 80 )
- Isuma = sum.InPort( 'a' , 'double' )
- Isumb = sum.InPort( 'b' , 'double' )
- IsumGate = sum.GetInPort( 'Gate' )
- Osums = sum.OutPort( 's' , 'double' )
- OsumGate = sum.GetOutPort( 'Gate' )
-
- PyMult = []
- PyMult.append( 'def Mult(a): ' )
- PyMult.append( ' b = a*3 ' )
- PyMult.append( ' return b ' )
- Mult = aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.INode( 'Mult' , PyMult )
- Mult.SetName( 'Mult' )
- Mult.SetAuthor( '' )
- Mult.SetComment( 'Compute Node' )
- Mult.Coords( 298 , 72 )
- IMulta = Mult.InPort( 'a' , 'double' )
- IMultGate = Mult.GetInPort( 'Gate' )
- OMultb = Mult.OutPort( 'b' , 'double' )
- OMultGate = Mult.GetOutPort( 'Gate' )
-
- # Creation of Links
- LsumsMulta = aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.Link( Osums , IMulta )
-
- # Input Ports of the graph
- #Isuma = sum.GetInPort( 'a' )
- #Isumb = sum.GetInPort( 'b' )
-
- # Output Ports of the graph
- #OMultb = Mult.GetOutPort( 'b' )
- return aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1
-
-
-aNewDataFlow_1_4_1_1_1_1 = DefaNewDataFlow_1_4_1_1_1_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow_1_4_1_1_1_1
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow_1_4_1_1_1_1
-def DefaNewDataFlow_1_4_1_1_1_1() :
- aNewDataFlow_1_4_1_1_1_1 = Graph( 'aNewDataFlow_1_4_1_1_1_1' )
- aNewDataFlow_1_4_1_1_1_1.SetName( 'aNewDataFlow_1_4_1_1_1_1' )
- aNewDataFlow_1_4_1_1_1_1.SetAuthor( '' )
- aNewDataFlow_1_4_1_1_1_1.SetComment( '' )
- aNewDataFlow_1_4_1_1_1_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- Pygag = []
- Pygag.append( 'from batchmode_geompy import * ' )
- Pygag.append( 'def gag(): ' )
- Pygag.append( ' # This is a gag ' )
- Pygag.append( ' return 1 ' )
- gag = aNewDataFlow_1_4_1_1_1_1.INode( 'gag' , Pygag )
- gag.SetName( 'gag' )
- gag.SetAuthor( '' )
- gag.SetComment( 'Compute Node' )
- gag.Coords( 0 , 123 )
- IgagGate = gag.GetInPort( 'Gate' )
- OgagGate = gag.GetOutPort( 'Gate' )
-
- PyMakeBox1 = []
- PyMakeBox1.append( 'def MakeBox1(x1,y1,z1,x2,y2,z2): ' )
- PyMakeBox1.append( ' aBox = MakeBox(x1,y1,z1,x2,y2,z2) ' )
- PyMakeBox1.append( ' return aBox ' )
- MakeBox1 = aNewDataFlow_1_4_1_1_1_1.INode( 'MakeBox1' , PyMakeBox1 )
- MakeBox1.SetName( 'MakeBox1' )
- MakeBox1.SetAuthor( '' )
- MakeBox1.SetComment( 'Compute Node' )
- MakeBox1.Coords( 194 , 3 )
- IMakeBox1x1 = MakeBox1.InPort( 'x1' , 'double' )
- IMakeBox1y1 = MakeBox1.InPort( 'y1' , 'double' )
- IMakeBox1z1 = MakeBox1.InPort( 'z1' , 'double' )
- IMakeBox1x2 = MakeBox1.InPort( 'x2' , 'double' )
- IMakeBox1y2 = MakeBox1.InPort( 'y2' , 'double' )
- IMakeBox1z2 = MakeBox1.InPort( 'z2' , 'double' )
- IMakeBox1Gate = MakeBox1.GetInPort( 'Gate' )
- OMakeBox1shape = MakeBox1.OutPort( 'shape' , 'objref' )
- OMakeBox1Gate = MakeBox1.GetOutPort( 'Gate' )
-
- PyMakeCopy_1 = []
- PyMakeCopy_1.append( 'def MakeCopy_1(shape1): ' )
- PyMakeCopy_1.append( ' shape=MakeCopy(shape1) ' )
- PyMakeCopy_1.append( ' return shape ' )
- MakeCopy_1 = aNewDataFlow_1_4_1_1_1_1.INode( 'MakeCopy_1' , PyMakeCopy_1 )
- MakeCopy_1.SetName( 'MakeCopy_1' )
- MakeCopy_1.SetAuthor( '' )
- MakeCopy_1.SetComment( 'Compute Node' )
- MakeCopy_1.Coords( 389 , 3 )
- IMakeCopy_1shape1 = MakeCopy_1.InPort( 'shape1' , 'objref' )
- IMakeCopy_1Gate = MakeCopy_1.GetInPort( 'Gate' )
- OMakeCopy_1shape = MakeCopy_1.OutPort( 'shape' , 'objref' )
- OMakeCopy_1Gate = MakeCopy_1.GetOutPort( 'Gate' )
-
- PyMakeCopy_2 = []
- PyMakeCopy_2.append( 'def MakeCopy_2(shape1): ' )
- PyMakeCopy_2.append( ' shape=MakeCopy(shape1) ' )
- PyMakeCopy_2.append( ' return shape ' )
- MakeCopy_2 = aNewDataFlow_1_4_1_1_1_1.INode( 'MakeCopy_2' , PyMakeCopy_2 )
- MakeCopy_2.SetName( 'MakeCopy_2' )
- MakeCopy_2.SetAuthor( '' )
- MakeCopy_2.SetComment( 'Compute Node' )
- MakeCopy_2.Coords( 391 , 264 )
- IMakeCopy_2shape1 = MakeCopy_2.InPort( 'shape1' , 'objref' )
- IMakeCopy_2Gate = MakeCopy_2.GetInPort( 'Gate' )
- OMakeCopy_2shape = MakeCopy_2.OutPort( 'shape' , 'objref' )
- OMakeCopy_2Gate = MakeCopy_2.GetOutPort( 'Gate' )
-
- PyMakeSphere_1 = []
- PyMakeSphere_1.append( 'def MakeSphere_1(x1,y1,z1,radius): ' )
- PyMakeSphere_1.append( ' apoint=MakeVertex(x1,y1,z1) ' )
- PyMakeSphere_1.append( ' shape=MakeSpherePntR(apoint,radius) ' )
- PyMakeSphere_1.append( ' return shape ' )
- MakeSphere_1 = aNewDataFlow_1_4_1_1_1_1.INode( 'MakeSphere_1' , PyMakeSphere_1 )
- MakeSphere_1.SetName( 'MakeSphere_1' )
- MakeSphere_1.SetAuthor( '' )
- MakeSphere_1.SetComment( 'Compute Node' )
- MakeSphere_1.Coords( 203 , 315 )
- IMakeSphere_1x1 = MakeSphere_1.InPort( 'x1' , 'double' )
- IMakeSphere_1y1 = MakeSphere_1.InPort( 'y1' , 'double' )
- IMakeSphere_1z1 = MakeSphere_1.InPort( 'z1' , 'double' )
- IMakeSphere_1radius = MakeSphere_1.InPort( 'radius' , 'double' )
- IMakeSphere_1Gate = MakeSphere_1.GetInPort( 'Gate' )
- OMakeSphere_1shape = MakeSphere_1.OutPort( 'shape' , 'objref' )
- OMakeSphere_1Gate = MakeSphere_1.GetOutPort( 'Gate' )
-
- PyMakeFuse_1 = []
- PyMakeFuse_1.append( 'def MakeFuse_1(shape1,shape2): ' )
- PyMakeFuse_1.append( ' # fuse operation 3 ' )
- PyMakeFuse_1.append( ' shape = MakeBoolean(shape1,shape2,3) ' )
- PyMakeFuse_1.append( ' return shape ' )
- MakeFuse_1 = aNewDataFlow_1_4_1_1_1_1.INode( 'MakeFuse_1' , PyMakeFuse_1 )
- MakeFuse_1.SetName( 'MakeFuse_1' )
- MakeFuse_1.SetAuthor( '' )
- MakeFuse_1.SetComment( 'Compute Node' )
- MakeFuse_1.Coords( 823 , 116 )
- IMakeFuse_1shape1 = MakeFuse_1.InPort( 'shape1' , 'objref' )
- IMakeFuse_1shape2 = MakeFuse_1.InPort( 'shape2' , 'objref' )
- IMakeFuse_1Gate = MakeFuse_1.GetInPort( 'Gate' )
- OMakeFuse_1shape = MakeFuse_1.OutPort( 'shape' , 'objref' )
- OMakeFuse_1Gate = MakeFuse_1.GetOutPort( 'Gate' )
-
- PyMakeFuse_2 = []
- PyMakeFuse_2.append( 'def MakeFuse_2(shape1,shape2): ' )
- PyMakeFuse_2.append( ' # fuse operation 3 ' )
- PyMakeFuse_2.append( ' shape = MakeBoolean(shape1,shape2,3) ' )
- PyMakeFuse_2.append( ' from SALOME_NamingServicePy import SALOME_NamingServicePy_i ' )
- PyMakeFuse_2.append( ' myNamingService = SALOME_NamingServicePy_i(orb) ' )
- PyMakeFuse_2.append( ' aSession = myNamingService.Resolve('/Kernel/Session') ' )
- PyMakeFuse_2.append( ' aStudyId = aSession.GetActiveStudyId() ' )
- PyMakeFuse_2.append( ' myStudyManager = myNamingService.Resolve('/myStudyManager') ' )
- PyMakeFuse_2.append( ' aStudy = myStudyManager.GetStudyByID(aStudyId) ' )
- PyMakeFuse_2.append( ' aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ' )
- PyMakeFuse_2.append( ' return shape ' )
- MakeFuse_2 = aNewDataFlow_1_4_1_1_1_1.INode( 'MakeFuse_2' , PyMakeFuse_2 )
- MakeFuse_2.SetName( 'MakeFuse_2' )
- MakeFuse_2.SetAuthor( '' )
- MakeFuse_2.SetComment( 'Compute Node' )
- MakeFuse_2.Coords( 1049 , 295 )
- IMakeFuse_2shape1 = MakeFuse_2.InPort( 'shape1' , 'objref' )
- IMakeFuse_2shape2 = MakeFuse_2.InPort( 'shape2' , 'objref' )
- IMakeFuse_2Gate = MakeFuse_2.GetInPort( 'Gate' )
- OMakeFuse_2shape = MakeFuse_2.OutPort( 'shape' , 'objref' )
- OMakeFuse_2Gate = MakeFuse_2.GetOutPort( 'Gate' )
-
- PyMakeTranslation_1 = []
- PyMakeTranslation_1.append( 'def MakeTranslation_1(shape1,x1,y1,z1): ' )
- PyMakeTranslation_1.append( ' shape = MakeTranslation(shape1,x1,y1,z1) ' )
- PyMakeTranslation_1.append( ' return shape' )
- MakeTranslation_1 = aNewDataFlow_1_4_1_1_1_1.INode( 'MakeTranslation_1' , PyMakeTranslation_1 )
- MakeTranslation_1.SetName( 'MakeTranslation_1' )
- MakeTranslation_1.SetAuthor( '' )
- MakeTranslation_1.SetComment( 'Compute Node' )
- MakeTranslation_1.Coords( 621 , 12 )
- IMakeTranslation_1shape1 = MakeTranslation_1.InPort( 'shape1' , 'objref' )
- IMakeTranslation_1x1 = MakeTranslation_1.InPort( 'x1' , 'double' )
- IMakeTranslation_1y1 = MakeTranslation_1.InPort( 'y1' , 'double' )
- IMakeTranslation_1z1 = MakeTranslation_1.InPort( 'z1' , 'double' )
- IMakeTranslation_1Gate = MakeTranslation_1.GetInPort( 'Gate' )
- OMakeTranslation_1shape = MakeTranslation_1.OutPort( 'shape' , 'objref' )
- OMakeTranslation_1Gate = MakeTranslation_1.GetOutPort( 'Gate' )
-
- # Creation of Macro Nodes
- aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1 = DefaNewDataFlow_1_5_1_1_3_3_1_1_1_3_1()
- Macro_aNewDataFlow_1_5_1_1 = aNewDataFlow_1_4_1_1_1_1.GraphMNode( aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1 )
- Macro_aNewDataFlow_1_5_1_1.SetCoupled( 'aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1' )
- Macro_aNewDataFlow_1_5_1_1.SetName( 'Macro_aNewDataFlow_1_5_1_1' )
- Macro_aNewDataFlow_1_5_1_1.SetAuthor( '' )
- Macro_aNewDataFlow_1_5_1_1.SetComment( 'Macro Node' )
- Macro_aNewDataFlow_1_5_1_1.Coords( 391 , 121 )
- IMacro_aNewDataFlow_1_5_1_1sum__a = Macro_aNewDataFlow_1_5_1_1.GetInPort( 'sum__a' )
- IMacro_aNewDataFlow_1_5_1_1sum__b = Macro_aNewDataFlow_1_5_1_1.GetInPort( 'sum__b' )
- IMacro_aNewDataFlow_1_5_1_1Gate = Macro_aNewDataFlow_1_5_1_1.GetInPort( 'Gate' )
- OMacro_aNewDataFlow_1_5_1_1Mult__b = Macro_aNewDataFlow_1_5_1_1.GetOutPort( 'Mult__b' )
- OMacro_aNewDataFlow_1_5_1_1Gate = Macro_aNewDataFlow_1_5_1_1.GetOutPort( 'Gate' )
-
- # Creation of Links
- LgagGateMakeBox1Gate = aNewDataFlow_1_4_1_1_1_1.Link( OgagGate , IMakeBox1Gate )
-
- LgagGateMakeSphere_1Gate = aNewDataFlow_1_4_1_1_1_1.Link( OgagGate , IMakeSphere_1Gate )
- LgagGateMakeSphere_1Gate.AddCoord( 1 , 175 , 470 )
- LgagGateMakeSphere_1Gate.AddCoord( 2 , 175 , 198 )
-
- LMakeBox1shapeMakeCopy_1shape1 = aNewDataFlow_1_4_1_1_1_1.Link( OMakeBox1shape , IMakeCopy_1shape1 )
-
- LMakeBox1shapeMakeCopy_2shape1 = aNewDataFlow_1_4_1_1_1_1.Link( OMakeBox1shape , IMakeCopy_2shape1 )
- LMakeBox1shapeMakeCopy_2shape1.AddCoord( 1 , 373 , 211 )
-
- LMakeCopy_1shapeMakeTranslation_1shape1 = aNewDataFlow_1_4_1_1_1_1.Link( OMakeCopy_1shape , IMakeTranslation_1shape1 )
-
- LMakeCopy_2shapeMakeFuse_1shape2 = aNewDataFlow_1_4_1_1_1_1.Link( OMakeCopy_2shape , IMakeFuse_1shape2 )
- LMakeCopy_2shapeMakeFuse_1shape2.AddCoord( 1 , 674 , 207 )
-
- LMakeSphere_1shapeMakeFuse_2shape2 = aNewDataFlow_1_4_1_1_1_1.Link( OMakeSphere_1shape , IMakeFuse_2shape2 )
-
- LMakeFuse_1shapeMakeFuse_2shape1 = aNewDataFlow_1_4_1_1_1_1.Link( OMakeFuse_1shape , IMakeFuse_2shape1 )
- LMakeFuse_1shapeMakeFuse_2shape1.AddCoord( 1 , 1017 , 366 )
- LMakeFuse_1shapeMakeFuse_2shape1.AddCoord( 2 , 1017 , 187 )
-
- LMacro_aNewDataFlow_1_5_1_1Mult__bMakeTranslation_1y1 = aNewDataFlow_1_4_1_1_1_1.Link( OMacro_aNewDataFlow_1_5_1_1Mult__b , IMakeTranslation_1y1 )
-
- LMakeTranslation_1shapeMakeFuse_1shape1 = aNewDataFlow_1_4_1_1_1_1.Link( OMakeTranslation_1shape , IMakeFuse_1shape1 )
-
- # Input datas
- IMakeBox1x1.Input( 0 )
- IMakeBox1y1.Input( 0 )
- IMakeBox1z1.Input( 0 )
- IMakeBox1x2.Input( 50 )
- IMakeBox1y2.Input( 50 )
- IMakeBox1z2.Input( 50 )
- IMakeSphere_1x1.Input( 0 )
- IMakeSphere_1y1.Input( 0 )
- IMakeSphere_1z1.Input( 0 )
- IMakeSphere_1radius.Input( 12 )
- IMacro_aNewDataFlow_1_5_1_1sum__a.Input( 1 )
- IMacro_aNewDataFlow_1_5_1_1sum__b.Input( 2 )
- IMakeTranslation_1x1.Input( 25 )
- IMakeTranslation_1z1.Input( 25 )
-
- # Output Ports of the graph
- #OMakeFuse_2shape = MakeFuse_2.GetOutPort( 'shape' )
- return aNewDataFlow_1_4_1_1_1_1
-
-# Graph creation of aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1
-def DefaNewDataFlow_1_5_1_1_3_3_1_1_1_3_1() :
- aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1 = Graph( 'aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1' )
- aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.SetCoupled( 'Macro_aNewDataFlow_1_5_1_1' )
- aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.SetName( 'aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1' )
- aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.SetAuthor( '' )
- aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.SetComment( '' )
- aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- Pysum = []
- Pysum.append( 'def sum(a, b): ' )
- Pysum.append( ' return a+b ' )
- sum = aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.INode( 'sum' , Pysum )
- sum.SetName( 'sum' )
- sum.SetAuthor( '' )
- sum.SetComment( 'Compute Node' )
- sum.Coords( 52 , 80 )
- Isuma = sum.InPort( 'a' , 'double' )
- Isumb = sum.InPort( 'b' , 'double' )
- IsumGate = sum.GetInPort( 'Gate' )
- Osums = sum.OutPort( 's' , 'double' )
- OsumGate = sum.GetOutPort( 'Gate' )
-
- PyMult = []
- PyMult.append( 'def Mult(a): ' )
- PyMult.append( ' b = a*3 ' )
- PyMult.append( ' return b ' )
- Mult = aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.INode( 'Mult' , PyMult )
- Mult.SetName( 'Mult' )
- Mult.SetAuthor( '' )
- Mult.SetComment( 'Compute Node' )
- Mult.Coords( 298 , 72 )
- IMulta = Mult.InPort( 'a' , 'double' )
- IMultGate = Mult.GetInPort( 'Gate' )
- OMultb = Mult.OutPort( 'b' , 'double' )
- OMultGate = Mult.GetOutPort( 'Gate' )
-
- # Creation of Links
- LsumsMulta = aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1.Link( Osums , IMulta )
-
- # Input Ports of the graph
- #Isuma = sum.GetInPort( 'a' )
- #Isumb = sum.GetInPort( 'b' )
-
- # Output Ports of the graph
- #OMultb = Mult.GetOutPort( 'b' )
- return aNewDataFlow_1_5_1_1_3_3_1_1_1_3_1
-
-
-aNewDataFlow_1_4_1_1_1_1 = DefaNewDataFlow_1_4_1_1_1_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph GraphEssai
-#
-from SuperV import *
-# Graph creation
-NewGraphEssai = Graph( 'NewGraphEssai' )
-NewGraphEssai.SetName( 'NewGraphEssai' )
-NewGraphEssai.SetAuthor( '' )
-NewGraphEssai.SetComment( '' )
-NewGraphEssai.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-Sub = NewGraphEssai.FNode( 'SubComponent' , 'SubComponent' , 'Sub' )
-Sub.SetName( 'Sub' )
-Sub.SetAuthor( '' )
-Sub.SetContainer( 'SubDivServer' )
-Sub.SetComment( 'Sub from SubComponent' )
-Sub.Coords( 413 , 74 )
-
-Mul = NewGraphEssai.FNode( 'MulComponent' , 'MulComponent' , 'Mul' )
-Mul.SetName( 'Mul' )
-Mul.SetAuthor( '' )
-Mul.SetContainer( 'MulServer' )
-Mul.SetComment( 'Mul from MulComponent' )
-Mul.Coords( 617 , 268 )
-
-Div = NewGraphEssai.FNode( 'DivComponent' , 'DivComponent' , 'Div' )
-Div.SetName( 'Div' )
-Div.SetAuthor( '' )
-Div.SetContainer( 'SubDivServer' )
-Div.SetComment( 'Div from DivComponent' )
-Div.Coords( 823 , 74 )
-
-Addition = NewGraphEssai.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
-Addition.SetName( 'Addition' )
-Addition.SetAuthor( '' )
-Addition.SetContainer( 'localhost/AddServer' )
-Addition.SetComment( 'Addition from AddComponent' )
-Addition.Coords( 11 , 268 )
-
-# Creation of Computing Nodes
-Add_ServiceinParameter = []
-Add_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'Adder' , 'Adder' ) )
-Add_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'x' ) )
-Add_ServiceinParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'y' ) )
-Add_ServiceoutParameter = []
-Add_ServiceoutParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'FuncValue' ) )
-Add_ServiceoutParameter.append( SALOME_ModuleCatalog.ServicesParameter( 'double' , 'z' ) )
-Add_Service = SALOME_ModuleCatalog.Service( 'Add' , Add_ServiceinParameter , Add_ServiceoutParameter , 0 )
-Add = NewGraphEssai.CNode( Add_Service )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetComment( 'Compute Node' )
-Add.Coords( 215 , 268 )
-
-# Creation of Links
-Subz = Sub.Port( 'z' )
-Divx = NewGraphEssai.Link( Subz , Div.Port( 'x' ) )
-
-Mulx = NewGraphEssai.Link( Subz , Mul.Port( 'x' ) )
-Mulx.AddCoord( 1 , 595 , 348 )
-Mulx.AddCoord( 2 , 595 , 154 )
-
-Mulz = Mul.Port( 'z' )
-Divy = NewGraphEssai.Link( Mulz , Div.Port( 'y' ) )
-Divy.AddCoord( 1 , 805 , 183 )
-Divy.AddCoord( 2 , 806 , 348 )
-
-AdditionAdder = Addition.Port( 'Adder' )
-AddAdder = NewGraphEssai.Link( AdditionAdder , Add.Port( 'Adder' ) )
-
-AddFuncValue = Add.Port( 'FuncValue' )
-Suby = NewGraphEssai.Link( AddFuncValue , Sub.Port( 'y' ) )
-Suby.AddCoord( 1 , 395 , 183 )
-Suby.AddCoord( 2 , 395 , 349 )
-
-Addz = Add.Port( 'z' )
-Muly = NewGraphEssai.Link( Addz , Mul.Port( 'y' ) )
-
-# Creation of Input datas
-Subx = Sub.Input( 'x' , 4.5)
-Addx = Add.Input( 'x' , 1.5)
-Addy = Add.Input( 'y' , 3)
-
-# Creation of Output variables
-Divz = Div.Port( 'z' )
-
-NewGraphEssai.Run()
-
-NewGraphEssai.DoneW()
-
-NewGraphEssai.State()
-
-NewGraphEssai.PrintPorts()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow_1
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow_1
-def DefaNewDataFlow_1() :
- aNewDataFlow_1 = Graph( 'aNewDataFlow_1' )
- aNewDataFlow_1.SetName( 'aNewDataFlow_1' )
- aNewDataFlow_1.SetAuthor( '' )
- aNewDataFlow_1.SetComment( '' )
- aNewDataFlow_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- SetStudyID = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'SetStudyID' )
- SetStudyID.SetName( 'SetStudyID' )
- SetStudyID.SetAuthor( '' )
- SetStudyID.SetContainer( 'localhost/FactoryServer' )
- SetStudyID.SetComment( 'SetStudyID from GEOM_Superv' )
- SetStudyID.Coords( 9 , 118 )
- ISetStudyIDtheStudyID = SetStudyID.GetInPort( 'theStudyID' )
- ISetStudyIDGate = SetStudyID.GetInPort( 'Gate' )
- OSetStudyIDGate = SetStudyID.GetOutPort( 'Gate' )
-
- MakeSphere = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeSphere' )
- MakeSphere.SetName( 'MakeSphere' )
- MakeSphere.SetAuthor( '' )
- MakeSphere.SetContainer( 'localhost/FactoryServer' )
- MakeSphere.SetComment( 'MakeSphere from GEOM_Superv' )
- MakeSphere.Coords( 202 , 58 )
- IMakeSpheretheX = MakeSphere.GetInPort( 'theX' )
- IMakeSpheretheY = MakeSphere.GetInPort( 'theY' )
- IMakeSpheretheZ = MakeSphere.GetInPort( 'theZ' )
- IMakeSpheretheRadius = MakeSphere.GetInPort( 'theRadius' )
- IMakeSphereGate = MakeSphere.GetInPort( 'Gate' )
- OMakeSpherereturn = MakeSphere.GetOutPort( 'return' )
- OMakeSphereGate = MakeSphere.GetOutPort( 'Gate' )
-
- MakeCopy = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
- MakeCopy.SetName( 'MakeCopy' )
- MakeCopy.SetAuthor( '' )
- MakeCopy.SetContainer( 'localhost/FactoryServer' )
- MakeCopy.SetComment( 'MakeCopy from GEOM_Superv' )
- MakeCopy.Coords( 425 , 11 )
- IMakeCopytheOriginal = MakeCopy.GetInPort( 'theOriginal' )
- IMakeCopyGate = MakeCopy.GetInPort( 'Gate' )
- OMakeCopyreturn = MakeCopy.GetOutPort( 'return' )
- OMakeCopyGate = MakeCopy.GetOutPort( 'Gate' )
-
- TranslateDXDYDZ = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetName( 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetAuthor( '' )
- TranslateDXDYDZ.SetContainer( 'localhost/FactoryServer' )
- TranslateDXDYDZ.SetComment( 'TranslateDXDYDZ from GEOM_Superv' )
- TranslateDXDYDZ.Coords( 428 , 197 )
- ITranslateDXDYDZtheObject = TranslateDXDYDZ.GetInPort( 'theObject' )
- ITranslateDXDYDZtheDX = TranslateDXDYDZ.GetInPort( 'theDX' )
- ITranslateDXDYDZtheDY = TranslateDXDYDZ.GetInPort( 'theDY' )
- ITranslateDXDYDZtheDZ = TranslateDXDYDZ.GetInPort( 'theDZ' )
- ITranslateDXDYDZGate = TranslateDXDYDZ.GetInPort( 'Gate' )
- OTranslateDXDYDZreturn = TranslateDXDYDZ.GetOutPort( 'return' )
- OTranslateDXDYDZGate = TranslateDXDYDZ.GetOutPort( 'Gate' )
-
- MakeFuse = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeFuse' )
- MakeFuse.SetName( 'MakeFuse' )
- MakeFuse.SetAuthor( '' )
- MakeFuse.SetContainer( 'localhost/FactoryServer' )
- MakeFuse.SetComment( 'MakeFuse from GEOM_Superv' )
- MakeFuse.Coords( 651 , 103 )
- IMakeFusetheShape1 = MakeFuse.GetInPort( 'theShape1' )
- IMakeFusetheShape2 = MakeFuse.GetInPort( 'theShape2' )
- IMakeFuseGate = MakeFuse.GetInPort( 'Gate' )
- OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
- OMakeFuseGate = MakeFuse.GetOutPort( 'Gate' )
-
- # Creation of Links
- LSetStudyIDGateMakeSphereGate = aNewDataFlow_1.Link( OSetStudyIDGate , IMakeSphereGate )
-
- LMakeSpherereturnMakeCopytheOriginal = aNewDataFlow_1.Link( OMakeSpherereturn , IMakeCopytheOriginal )
-
- LMakeSpherereturnTranslateDXDYDZtheObject = aNewDataFlow_1.Link( OMakeSpherereturn , ITranslateDXDYDZtheObject )
-
- LMakeCopyreturnMakeFusetheShape1 = aNewDataFlow_1.Link( OMakeCopyreturn , IMakeFusetheShape1 )
-
- LTranslateDXDYDZreturnMakeFusetheShape2 = aNewDataFlow_1.Link( OTranslateDXDYDZreturn , IMakeFusetheShape2 )
-
- # Input datas
- ISetStudyIDtheStudyID.Input( 1 )
- IMakeSpheretheX.Input( 0 )
- IMakeSpheretheY.Input( 0 )
- IMakeSpheretheZ.Input( 0 )
- IMakeSpheretheRadius.Input( 50 )
- ITranslateDXDYDZtheDX.Input( 80 )
- ITranslateDXDYDZtheDY.Input( 0 )
- ITranslateDXDYDZtheDZ.Input( 0 )
-
- # Output Ports of the graph
- #OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
- return aNewDataFlow_1
-
-
-aNewDataFlow_1 = DefaNewDataFlow_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow_1
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow_1
-def DefaNewDataFlow_1() :
- aNewDataFlow_1 = Graph( 'aNewDataFlow_1' )
- aNewDataFlow_1.SetName( 'aNewDataFlow_1' )
- aNewDataFlow_1.SetAuthor( '' )
- aNewDataFlow_1.SetComment( '' )
- aNewDataFlow_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- SetStudyID = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'SetStudyID' )
- SetStudyID.SetName( 'SetStudyID' )
- SetStudyID.SetAuthor( '' )
- SetStudyID.SetContainer( 'localhost/FactoryServer' )
- SetStudyID.SetComment( 'SetStudyID from GEOM_Superv' )
- SetStudyID.Coords( 9 , 118 )
- ISetStudyIDtheStudyID = SetStudyID.GetInPort( 'theStudyID' )
- ISetStudyIDGate = SetStudyID.GetInPort( 'Gate' )
- OSetStudyIDGate = SetStudyID.GetOutPort( 'Gate' )
-
- MakeSphere = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeSphere' )
- MakeSphere.SetName( 'MakeSphere' )
- MakeSphere.SetAuthor( '' )
- MakeSphere.SetContainer( 'localhost/FactoryServer' )
- MakeSphere.SetComment( 'MakeSphere from GEOM_Superv' )
- MakeSphere.Coords( 202 , 58 )
- IMakeSpheretheX = MakeSphere.GetInPort( 'theX' )
- IMakeSpheretheY = MakeSphere.GetInPort( 'theY' )
- IMakeSpheretheZ = MakeSphere.GetInPort( 'theZ' )
- IMakeSpheretheRadius = MakeSphere.GetInPort( 'theRadius' )
- IMakeSphereGate = MakeSphere.GetInPort( 'Gate' )
- OMakeSpherereturn = MakeSphere.GetOutPort( 'return' )
- OMakeSphereGate = MakeSphere.GetOutPort( 'Gate' )
-
- MakeCopy = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeCopy' )
- MakeCopy.SetName( 'MakeCopy' )
- MakeCopy.SetAuthor( '' )
- MakeCopy.SetContainer( 'localhost/FactoryServer' )
- MakeCopy.SetComment( 'MakeCopy from GEOM_Superv' )
- MakeCopy.Coords( 425 , 11 )
- IMakeCopytheOriginal = MakeCopy.GetInPort( 'theOriginal' )
- IMakeCopyGate = MakeCopy.GetInPort( 'Gate' )
- OMakeCopyreturn = MakeCopy.GetOutPort( 'return' )
- OMakeCopyGate = MakeCopy.GetOutPort( 'Gate' )
-
- TranslateDXDYDZ = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetName( 'TranslateDXDYDZ' )
- TranslateDXDYDZ.SetAuthor( '' )
- TranslateDXDYDZ.SetContainer( 'localhost/FactoryServer' )
- TranslateDXDYDZ.SetComment( 'TranslateDXDYDZ from GEOM_Superv' )
- TranslateDXDYDZ.Coords( 428 , 197 )
- ITranslateDXDYDZtheObject = TranslateDXDYDZ.GetInPort( 'theObject' )
- ITranslateDXDYDZtheDX = TranslateDXDYDZ.GetInPort( 'theDX' )
- ITranslateDXDYDZtheDY = TranslateDXDYDZ.GetInPort( 'theDY' )
- ITranslateDXDYDZtheDZ = TranslateDXDYDZ.GetInPort( 'theDZ' )
- ITranslateDXDYDZGate = TranslateDXDYDZ.GetInPort( 'Gate' )
- OTranslateDXDYDZreturn = TranslateDXDYDZ.GetOutPort( 'return' )
- OTranslateDXDYDZGate = TranslateDXDYDZ.GetOutPort( 'Gate' )
-
- MakeFuse = aNewDataFlow_1.FNode( 'GEOM_Superv' , 'GEOM_Superv' , 'MakeFuse' )
- MakeFuse.SetName( 'MakeFuse' )
- MakeFuse.SetAuthor( '' )
- MakeFuse.SetContainer( 'localhost/FactoryServer' )
- MakeFuse.SetComment( 'MakeFuse from GEOM_Superv' )
- MakeFuse.Coords( 651 , 103 )
- IMakeFusetheShape1 = MakeFuse.GetInPort( 'theShape1' )
- IMakeFusetheShape2 = MakeFuse.GetInPort( 'theShape2' )
- IMakeFuseGate = MakeFuse.GetInPort( 'Gate' )
- OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
- OMakeFuseGate = MakeFuse.GetOutPort( 'Gate' )
-
- # Creation of Links
- LSetStudyIDGateMakeSphereGate = aNewDataFlow_1.Link( OSetStudyIDGate , IMakeSphereGate )
-
- LMakeSpherereturnMakeCopytheOriginal = aNewDataFlow_1.Link( OMakeSpherereturn , IMakeCopytheOriginal )
-
- LMakeSpherereturnTranslateDXDYDZtheObject = aNewDataFlow_1.Link( OMakeSpherereturn , ITranslateDXDYDZtheObject )
-
- LMakeSphereGateMakeCopyGate = aNewDataFlow_1.Link( OMakeSphereGate , IMakeCopyGate )
-
- LMakeCopyreturnMakeFusetheShape1 = aNewDataFlow_1.Link( OMakeCopyreturn , IMakeFusetheShape1 )
-
- LMakeCopyGateTranslateDXDYDZGate = aNewDataFlow_1.Link( OMakeCopyGate , ITranslateDXDYDZGate )
- LMakeCopyGateTranslateDXDYDZGate.AddCoord( 1 , 390 , 352 )
- LMakeCopyGateTranslateDXDYDZGate.AddCoord( 2 , 618 , 107 )
-
- LTranslateDXDYDZreturnMakeFusetheShape2 = aNewDataFlow_1.Link( OTranslateDXDYDZreturn , IMakeFusetheShape2 )
-
- LTranslateDXDYDZGateMakeFuseGate = aNewDataFlow_1.Link( OTranslateDXDYDZGate , IMakeFuseGate )
-
- # Input datas
- ISetStudyIDtheStudyID.Input( 1 )
- IMakeSpheretheX.Input( 0 )
- IMakeSpheretheY.Input( 0 )
- IMakeSpheretheZ.Input( 0 )
- IMakeSpheretheRadius.Input( 50 )
- ITranslateDXDYDZtheDX.Input( 80 )
- ITranslateDXDYDZtheDY.Input( 0 )
- ITranslateDXDYDZtheDZ.Input( 0 )
-
- # Output Ports of the graph
- #OMakeFusereturn = MakeFuse.GetOutPort( 'return' )
- return aNewDataFlow_1
-
-
-aNewDataFlow_1 = DefaNewDataFlow_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow_1_4_2_1
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow_1_4_2_1
-def DefaNewDataFlow_1_4_2_1() :
- aNewDataFlow_1_4_2_1 = Graph( 'aNewDataFlow_1_4_2_1' )
- aNewDataFlow_1_4_2_1.SetName( 'aNewDataFlow_1_4_2_1' )
- aNewDataFlow_1_4_2_1.SetAuthor( '' )
- aNewDataFlow_1_4_2_1.SetComment( '' )
- aNewDataFlow_1_4_2_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- Pygag = []
- Pygag.append( 'from batchmode_geompy import * ' )
- Pygag.append( 'def gag(): ' )
- Pygag.append( ' # This is a gag ' )
- Pygag.append( ' return 1 ' )
- gag = aNewDataFlow_1_4_2_1.INode( 'gag' , Pygag )
- gag.SetName( 'gag' )
- gag.SetAuthor( '' )
- gag.SetComment( 'Compute Node' )
- gag.Coords( 0 , 123 )
- IgagGate = gag.GetInPort( 'Gate' )
- OgagGate = gag.GetOutPort( 'Gate' )
-
- PyMakeCopy_1 = []
- PyMakeCopy_1.append( 'def MakeCopy_1(shape1): ' )
- PyMakeCopy_1.append( ' shape=MakeCopy(shape1) ' )
- PyMakeCopy_1.append( ' return shape ' )
- MakeCopy_1 = aNewDataFlow_1_4_2_1.INode( 'MakeCopy_1' , PyMakeCopy_1 )
- MakeCopy_1.SetName( 'MakeCopy_1' )
- MakeCopy_1.SetAuthor( '' )
- MakeCopy_1.SetComment( 'Compute Node' )
- MakeCopy_1.Coords( 385 , 3 )
- IMakeCopy_1shape1 = MakeCopy_1.InPort( 'shape1' , 'objref' )
- IMakeCopy_1Gate = MakeCopy_1.GetInPort( 'Gate' )
- OMakeCopy_1shape = MakeCopy_1.OutPort( 'shape' , 'objref' )
- OMakeCopy_1Gate = MakeCopy_1.GetOutPort( 'Gate' )
-
- PyMakeSphere_1 = []
- PyMakeSphere_1.append( 'def MakeSphere_1(x1,y1,z1,radius): ' )
- PyMakeSphere_1.append( ' apoint=MakeVertex(x1,y1,z1) ' )
- PyMakeSphere_1.append( ' shape=MakeSpherePntR(apoint,radius) ' )
- PyMakeSphere_1.append( ' return shape ' )
- MakeSphere_1 = aNewDataFlow_1_4_2_1.INode( 'MakeSphere_1' , PyMakeSphere_1 )
- MakeSphere_1.SetName( 'MakeSphere_1' )
- MakeSphere_1.SetAuthor( '' )
- MakeSphere_1.SetComment( 'Compute Node' )
- MakeSphere_1.Coords( 193 , 67 )
- IMakeSphere_1x1 = MakeSphere_1.InPort( 'x1' , 'double' )
- IMakeSphere_1y1 = MakeSphere_1.InPort( 'y1' , 'double' )
- IMakeSphere_1z1 = MakeSphere_1.InPort( 'z1' , 'double' )
- IMakeSphere_1radius = MakeSphere_1.InPort( 'radius' , 'double' )
- IMakeSphere_1Gate = MakeSphere_1.GetInPort( 'Gate' )
- OMakeSphere_1shape = MakeSphere_1.OutPort( 'shape' , 'objref' )
- OMakeSphere_1Gate = MakeSphere_1.GetOutPort( 'Gate' )
-
- PyMakeTranslation_1 = []
- PyMakeTranslation_1.append( 'def MakeTranslation_1(shape1,x1,y1,z1): ' )
- PyMakeTranslation_1.append( ' shape = MakeTranslation(shape1,x1,y1,z1) ' )
- PyMakeTranslation_1.append( ' return shape ' )
- MakeTranslation_1 = aNewDataFlow_1_4_2_1.INode( 'MakeTranslation_1' , PyMakeTranslation_1 )
- MakeTranslation_1.SetName( 'MakeTranslation_1' )
- MakeTranslation_1.SetAuthor( '' )
- MakeTranslation_1.SetComment( 'Compute Node' )
- MakeTranslation_1.Coords( 388 , 146 )
- IMakeTranslation_1shape1 = MakeTranslation_1.InPort( 'shape1' , 'objref' )
- IMakeTranslation_1x1 = MakeTranslation_1.InPort( 'x1' , 'double' )
- IMakeTranslation_1y1 = MakeTranslation_1.InPort( 'y1' , 'double' )
- IMakeTranslation_1z1 = MakeTranslation_1.InPort( 'z1' , 'double' )
- IMakeTranslation_1Gate = MakeTranslation_1.GetInPort( 'Gate' )
- OMakeTranslation_1shape = MakeTranslation_1.OutPort( 'shape' , 'objref' )
- OMakeTranslation_1Gate = MakeTranslation_1.GetOutPort( 'Gate' )
-
- PyMakeFuse_1 = []
- PyMakeFuse_1.append( 'def MakeFuse_1(shape1,shape2): ' )
- PyMakeFuse_1.append( ' # fuse operation 3 ' )
- PyMakeFuse_1.append( ' shape = MakeBoolean(shape1,shape2,3) ' )
- PyMakeFuse_1.append( ' from SALOME_NamingServicePy import SALOME_NamingServicePy_i ' )
- PyMakeFuse_1.append( ' myNamingService = SALOME_NamingServicePy_i(orb) ' )
- PyMakeFuse_1.append( ' aSession = myNamingService.Resolve('/Kernel/Session') ' )
- PyMakeFuse_1.append( ' aStudyId = aSession.GetActiveStudyId() ' )
- PyMakeFuse_1.append( ' myStudyManager = myNamingService.Resolve('/myStudyManager') ' )
- PyMakeFuse_1.append( ' aStudy = myStudyManager.GetStudyByID(aStudyId) ' )
- PyMakeFuse_1.append( ' aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ' )
- PyMakeFuse_1.append( ' return shape ' )
- MakeFuse_1 = aNewDataFlow_1_4_2_1.INode( 'MakeFuse_1' , PyMakeFuse_1 )
- MakeFuse_1.SetName( 'MakeFuse_1' )
- MakeFuse_1.SetAuthor( '' )
- MakeFuse_1.SetComment( 'Compute Node' )
- MakeFuse_1.Coords( 618 , 64 )
- IMakeFuse_1shape1 = MakeFuse_1.InPort( 'shape1' , 'objref' )
- IMakeFuse_1shape2 = MakeFuse_1.InPort( 'shape2' , 'objref' )
- IMakeFuse_1Gate = MakeFuse_1.GetInPort( 'Gate' )
- OMakeFuse_1shape = MakeFuse_1.OutPort( 'shape' , 'objref' )
- OMakeFuse_1Gate = MakeFuse_1.GetOutPort( 'Gate' )
-
- # Creation of Links
- LgagGateMakeSphere_1Gate = aNewDataFlow_1_4_2_1.Link( OgagGate , IMakeSphere_1Gate )
-
- LMakeCopy_1shapeMakeFuse_1shape1 = aNewDataFlow_1_4_2_1.Link( OMakeCopy_1shape , IMakeFuse_1shape1 )
-
- LMakeCopy_1GateMakeTranslation_1Gate = aNewDataFlow_1_4_2_1.Link( OMakeCopy_1Gate , IMakeTranslation_1Gate )
- LMakeCopy_1GateMakeTranslation_1Gate.AddCoord( 1 , 363 , 301 )
- LMakeCopy_1GateMakeTranslation_1Gate.AddCoord( 2 , 568 , 98 )
-
- LMakeSphere_1shapeMakeCopy_1shape1 = aNewDataFlow_1_4_2_1.Link( OMakeSphere_1shape , IMakeCopy_1shape1 )
-
- LMakeSphere_1shapeMakeTranslation_1shape1 = aNewDataFlow_1_4_2_1.Link( OMakeSphere_1shape , IMakeTranslation_1shape1 )
-
- LMakeSphere_1GateMakeCopy_1Gate = aNewDataFlow_1_4_2_1.Link( OMakeSphere_1Gate , IMakeCopy_1Gate )
-
- LMakeTranslation_1shapeMakeFuse_1shape2 = aNewDataFlow_1_4_2_1.Link( OMakeTranslation_1shape , IMakeFuse_1shape2 )
-
- LMakeTranslation_1GateMakeFuse_1Gate = aNewDataFlow_1_4_2_1.Link( OMakeTranslation_1Gate , IMakeFuse_1Gate )
-
- # Input datas
- IMakeSphere_1x1.Input( 0 )
- IMakeSphere_1y1.Input( 0 )
- IMakeSphere_1z1.Input( 0 )
- IMakeSphere_1radius.Input( 50 )
- IMakeTranslation_1x1.Input( 80 )
- IMakeTranslation_1y1.Input( 0 )
- IMakeTranslation_1z1.Input( 0 )
-
- # Output Ports of the graph
- #OMakeFuse_1shape = MakeFuse_1.GetOutPort( 'shape' )
- return aNewDataFlow_1_4_2_1
-
-
-aNewDataFlow_1_4_2_1 = DefaNewDataFlow_1_4_2_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow_1_4_2_1
-#
-from SuperV import *
-
-# Graph creation of aNewDataFlow_1_4_2_1
-def DefaNewDataFlow_1_4_2_1() :
- aNewDataFlow_1_4_2_1 = Graph( 'aNewDataFlow_1_4_2_1' )
- aNewDataFlow_1_4_2_1.SetName( 'aNewDataFlow_1_4_2_1' )
- aNewDataFlow_1_4_2_1.SetAuthor( '' )
- aNewDataFlow_1_4_2_1.SetComment( '' )
- aNewDataFlow_1_4_2_1.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- Pygag = []
- Pygag.append( 'from batchmode_geompy import * ' )
- Pygag.append( 'def gag(): ' )
- Pygag.append( ' # This is a gag ' )
- Pygag.append( ' return 1 ' )
- gag = aNewDataFlow_1_4_2_1.INode( 'gag' , Pygag )
- gag.SetName( 'gag' )
- gag.SetAuthor( '' )
- gag.SetComment( 'Compute Node' )
- gag.Coords( 0 , 123 )
- IgagGate = gag.GetInPort( 'Gate' )
- OgagGate = gag.GetOutPort( 'Gate' )
-
- PyMakeCopy_1 = []
- PyMakeCopy_1.append( 'def MakeCopy_1(shape1): ' )
- PyMakeCopy_1.append( ' shape=MakeCopy(shape1) ' )
- PyMakeCopy_1.append( ' return shape ' )
- MakeCopy_1 = aNewDataFlow_1_4_2_1.INode( 'MakeCopy_1' , PyMakeCopy_1 )
- MakeCopy_1.SetName( 'MakeCopy_1' )
- MakeCopy_1.SetAuthor( '' )
- MakeCopy_1.SetComment( 'Compute Node' )
- MakeCopy_1.Coords( 385 , 3 )
- IMakeCopy_1shape1 = MakeCopy_1.InPort( 'shape1' , 'objref' )
- IMakeCopy_1Gate = MakeCopy_1.GetInPort( 'Gate' )
- OMakeCopy_1shape = MakeCopy_1.OutPort( 'shape' , 'objref' )
- OMakeCopy_1Gate = MakeCopy_1.GetOutPort( 'Gate' )
-
- PyMakeSphere_1 = []
- PyMakeSphere_1.append( 'def MakeSphere_1(x1,y1,z1,radius): ' )
- PyMakeSphere_1.append( ' apoint=MakeVertex(x1,y1,z1) ' )
- PyMakeSphere_1.append( ' shape=MakeSpherePntR(apoint,radius) ' )
- PyMakeSphere_1.append( ' return shape ' )
- MakeSphere_1 = aNewDataFlow_1_4_2_1.INode( 'MakeSphere_1' , PyMakeSphere_1 )
- MakeSphere_1.SetName( 'MakeSphere_1' )
- MakeSphere_1.SetAuthor( '' )
- MakeSphere_1.SetComment( 'Compute Node' )
- MakeSphere_1.Coords( 193 , 67 )
- IMakeSphere_1x1 = MakeSphere_1.InPort( 'x1' , 'double' )
- IMakeSphere_1y1 = MakeSphere_1.InPort( 'y1' , 'double' )
- IMakeSphere_1z1 = MakeSphere_1.InPort( 'z1' , 'double' )
- IMakeSphere_1radius = MakeSphere_1.InPort( 'radius' , 'double' )
- IMakeSphere_1Gate = MakeSphere_1.GetInPort( 'Gate' )
- OMakeSphere_1shape = MakeSphere_1.OutPort( 'shape' , 'objref' )
- OMakeSphere_1Gate = MakeSphere_1.GetOutPort( 'Gate' )
-
- PyMakeTranslation_1 = []
- PyMakeTranslation_1.append( 'def MakeTranslation_1(shape1,x1,y1,z1): ' )
- PyMakeTranslation_1.append( ' shape = MakeTranslation(shape1,x1,y1,z1) ' )
- PyMakeTranslation_1.append( ' return shape ' )
- MakeTranslation_1 = aNewDataFlow_1_4_2_1.INode( 'MakeTranslation_1' , PyMakeTranslation_1 )
- MakeTranslation_1.SetName( 'MakeTranslation_1' )
- MakeTranslation_1.SetAuthor( '' )
- MakeTranslation_1.SetComment( 'Compute Node' )
- MakeTranslation_1.Coords( 388 , 146 )
- IMakeTranslation_1shape1 = MakeTranslation_1.InPort( 'shape1' , 'objref' )
- IMakeTranslation_1x1 = MakeTranslation_1.InPort( 'x1' , 'double' )
- IMakeTranslation_1y1 = MakeTranslation_1.InPort( 'y1' , 'double' )
- IMakeTranslation_1z1 = MakeTranslation_1.InPort( 'z1' , 'double' )
- IMakeTranslation_1Gate = MakeTranslation_1.GetInPort( 'Gate' )
- OMakeTranslation_1shape = MakeTranslation_1.OutPort( 'shape' , 'objref' )
- OMakeTranslation_1Gate = MakeTranslation_1.GetOutPort( 'Gate' )
-
- PyMakeFuse_1 = []
- PyMakeFuse_1.append( 'def MakeFuse_1(shape1,shape2): ' )
- PyMakeFuse_1.append( ' # fuse operation 3 ' )
- PyMakeFuse_1.append( ' shape = MakeBoolean(shape1,shape2,3) ' )
- PyMakeFuse_1.append( ' from SALOME_NamingServicePy import SALOME_NamingServicePy_i ' )
- PyMakeFuse_1.append( ' myNamingService = SALOME_NamingServicePy_i(orb) ' )
- PyMakeFuse_1.append( ' aSession = myNamingService.Resolve('/Kernel/Session') ' )
- PyMakeFuse_1.append( ' aStudyId = aSession.GetActiveStudyId() ' )
- PyMakeFuse_1.append( ' myStudyManager = myNamingService.Resolve('/myStudyManager') ' )
- PyMakeFuse_1.append( ' aStudy = myStudyManager.GetStudyByID(aStudyId) ' )
- PyMakeFuse_1.append( ' aSObject = geom.AddInStudy(aStudy, shape, "shape", None) ' )
- PyMakeFuse_1.append( ' return shape ' )
- MakeFuse_1 = aNewDataFlow_1_4_2_1.INode( 'MakeFuse_1' , PyMakeFuse_1 )
- MakeFuse_1.SetName( 'MakeFuse_1' )
- MakeFuse_1.SetAuthor( '' )
- MakeFuse_1.SetComment( 'Compute Node' )
- MakeFuse_1.Coords( 618 , 64 )
- IMakeFuse_1shape1 = MakeFuse_1.InPort( 'shape1' , 'objref' )
- IMakeFuse_1shape2 = MakeFuse_1.InPort( 'shape2' , 'objref' )
- IMakeFuse_1Gate = MakeFuse_1.GetInPort( 'Gate' )
- OMakeFuse_1shape = MakeFuse_1.OutPort( 'shape' , 'objref' )
- OMakeFuse_1Gate = MakeFuse_1.GetOutPort( 'Gate' )
-
- # Creation of Links
- LgagGateMakeSphere_1Gate = aNewDataFlow_1_4_2_1.Link( OgagGate , IMakeSphere_1Gate )
-
- LMakeCopy_1shapeMakeFuse_1shape1 = aNewDataFlow_1_4_2_1.Link( OMakeCopy_1shape , IMakeFuse_1shape1 )
-
- LMakeSphere_1shapeMakeCopy_1shape1 = aNewDataFlow_1_4_2_1.Link( OMakeSphere_1shape , IMakeCopy_1shape1 )
-
- LMakeSphere_1shapeMakeTranslation_1shape1 = aNewDataFlow_1_4_2_1.Link( OMakeSphere_1shape , IMakeTranslation_1shape1 )
-
- LMakeTranslation_1shapeMakeFuse_1shape2 = aNewDataFlow_1_4_2_1.Link( OMakeTranslation_1shape , IMakeFuse_1shape2 )
-
- # Input datas
- IMakeSphere_1x1.Input( 0 )
- IMakeSphere_1y1.Input( 0 )
- IMakeSphere_1z1.Input( 0 )
- IMakeSphere_1radius.Input( 50 )
- IMakeTranslation_1x1.Input( 80 )
- IMakeTranslation_1y1.Input( 0 )
- IMakeTranslation_1z1.Input( 0 )
-
- # Output Ports of the graph
- #OMakeFuse_1shape = MakeFuse_1.GetOutPort( 'shape' )
- return aNewDataFlow_1_4_2_1
-
-
-aNewDataFlow_1_4_2_1 = DefaNewDataFlow_1_4_2_1()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-from LifeCycleCORBA import *
-orb = CORBA.ORB_init([''], CORBA.ORB_ID)
-lcc = LifeCycleCORBA(orb)
-import SIGNALSComponent_idl
-SIGNALSComponent = lcc.FindOrLoadComponent('FactoryServer','SIGNALSComponent')
-SIGNALSComponent.SIGSEGVfunc()
-SIGNALSComponent.ping()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-import salome
-orb = salome.CORBA.ORB_init([''], salome.CORBA.ORB_ID)
-lcc = salome.LifeCycleCORBA(orb)
-import SIGNALSComponent_idl
-SIGNALSComponent = lcc.FindOrLoadComponent('FactoryServer','SIGNALSComponent')
-SIGNALSComponent.SIGSEGVfunc()
-SIGNALSComponent.ping()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-import libSIGNALSComponent_Swig
-s = libSIGNALSComponent_Swig.SIGNALSComponentEngine()
-s.SIGSEGVfunc()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph SyrStruct
-#
-from SuperV import *
-
-# 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()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph TestSupervMedfieldLoopFori
-#
-from SuperV import *
-
-# Graph creation of TestSupervMedfieldLoopFori
-def DefTestSupervMedfieldLoopFori() :
- TestSupervMedfieldLoopFori = Graph( 'TestSupervMedfieldLoopFori' )
- TestSupervMedfieldLoopFori.SetName( 'TestSupervMedfieldLoopFori' )
- TestSupervMedfieldLoopFori.SetAuthor( '' )
- TestSupervMedfieldLoopFori.SetComment( '' )
- TestSupervMedfieldLoopFori.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Mul = TestSupervMedfieldLoopFori.FNode( 'Calculator' , 'Calculator' , 'Mul' )
- Mul.SetName( 'Mul' )
- Mul.SetAuthor( 'LD' )
- Mul.SetContainer( 'localhost/FactoryServer' )
- Mul.SetComment( 'Multiply a field by a constant' )
- Mul.Coords( 429 , 46 )
- IMulfield1 = Mul.GetInPort( 'field1' )
- IMulx1 = Mul.GetInPort( 'x1' )
- IMulGate = Mul.GetInPort( 'Gate' )
- OMulreturn = Mul.GetOutPort( 'return' )
- OMulGate = Mul.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- PyInitDisplay = []
- PyInitDisplay.append( 'from VISU import * ' )
- PyInitDisplay.append( 'import SALOMEDS ' )
- PyInitDisplay.append( 'from LifeCycleCORBA import * ' )
- PyInitDisplay.append( 'from SALOME_NamingServicePy import * ' )
- PyInitDisplay.append( 'def InitDisplay(): ' )
- PyInitDisplay.append( ' # initialize the ORB ' )
- PyInitDisplay.append( ' orb = CORBA.ORB_init([], CORBA.ORB_ID) ' )
- PyInitDisplay.append( ' # create an LifeCycleCORBA instance ' )
- PyInitDisplay.append( ' lcc = LifeCycleCORBA(orb) ' )
- PyInitDisplay.append( ' # ----------------------------------------- ' )
- PyInitDisplay.append( ' # Visualization parameters ' )
- PyInitDisplay.append( ' #create a naming service instance ' )
- PyInitDisplay.append( ' naming_service = SALOME_NamingServicePy_i(orb) ' )
- PyInitDisplay.append( ' # get Study Manager reference ' )
- PyInitDisplay.append( ' obj = naming_service.Resolve("myStudyManager") ' )
- PyInitDisplay.append( ' myStudyManager = obj._narrow(SALOMEDS.StudyManager) ' )
- PyInitDisplay.append( ' myStudy = myStudyManager.GetStudyByID(1) ' )
- PyInitDisplay.append( ' aVisu = lcc.FindOrLoadComponent("FactoryServer", "VISU") ' )
- PyInitDisplay.append( ' print "InitDisplay --> aVisu = ",aVisu ' )
- PyInitDisplay.append( ' aVisu.SetCurrentStudy(myStudy); ' )
- PyInitDisplay.append( ' aViewManager = aVisu.GetViewManager() ' )
- PyInitDisplay.append( ' print "InitDisplay --> aViewManager = ",aViewManager ' )
- PyInitDisplay.append( ' aView = aViewManager.Create3DView() ' )
- PyInitDisplay.append( ' print "InitDisplay --> aView = ",aView ' )
- PyInitDisplay.append( ' return aVisu,aView ' )
- InitDisplay = TestSupervMedfieldLoopFori.INode( 'InitDisplay' , PyInitDisplay )
- InitDisplay.SetName( 'InitDisplay' )
- InitDisplay.SetAuthor( '' )
- InitDisplay.SetComment( 'Compute Node' )
- InitDisplay.Coords( 1 , 105 )
- IInitDisplayGate = InitDisplay.GetInPort( 'Gate' )
- OInitDisplayaVisu = InitDisplay.OutPort( 'aVisu' , 'objref' )
- OInitDisplayaView = InitDisplay.OutPort( 'aView' , 'objref' )
- OInitDisplayGate = InitDisplay.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'def Init(index,min,max,medfield,x1,aVisu,aView): ' )
- PyInit.append( ' if max >= min : ' )
- PyInit.append( ' index = min ' )
- PyInit.append( ' else : ' )
- PyInit.append( ' index = max ' )
- PyInit.append( ' print "Init --> index = ",index ' )
- PyInit.append( ' print " min = ",min ' )
- PyInit.append( ' print " max = ",max ' )
- PyInit.append( ' print " medfield = ",medfield ' )
- PyInit.append( ' return index,min,max,medfield,x1,aVisu,aView ' )
- PyMoreInit = []
- PyMoreInit.append( 'def More(index,min,max,medfield,x1,aVisu,aView): ' )
- PyMoreInit.append( ' if max >= index : ' )
- PyMoreInit.append( ' DoLoop = 1 ' )
- PyMoreInit.append( ' else : ' )
- PyMoreInit.append( ' DoLoop = 0 ' )
- PyMoreInit.append( ' print "More --> DoLoop = ",DoLoop ' )
- PyMoreInit.append( ' print " index = ",index ' )
- PyMoreInit.append( ' print " min = ",min ' )
- PyMoreInit.append( ' print " max = ",max ' )
- PyMoreInit.append( ' print " medfield = ",medfield ' )
- PyMoreInit.append( ' return DoLoop,index,min,max,medfield,x1,aVisu,aView ' )
- PyNextInit = []
- PyNextInit.append( 'def Next(index,min,max,medfield,x1,aVisu,aView): ' )
- PyNextInit.append( ' index = index + 1 ' )
- PyNextInit.append( ' print "Next --> index = ",index ' )
- PyNextInit.append( ' print " min = ",min ' )
- PyNextInit.append( ' print " max = ",max ' )
- PyNextInit.append( ' print " medfield = ",medfield ' )
- PyNextInit.append( ' return index,min,max,medfield,x1,aVisu,aView ' )
- Init,EndInit = TestSupervMedfieldLoopFori.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( 'LD' )
- EndInit.SetComment( 'no comment' )
- EndInit.Coords( 631 , 5 )
- PyEndInit = []
- EndInit.SetPyFunction( '' , PyEndInit )
- IInitDoLoop = Init.GetInPort( 'DoLoop' )
- IInitindex = Init.InPort( 'index' , 'long' )
- IInitmin = Init.InPort( 'min' , 'long' )
- IInitmax = Init.InPort( 'max' , 'long' )
- IInitmedfield = Init.InPort( 'medfield' , 'objref' )
- IInitx1 = Init.InPort( 'x1' , 'double' )
- IInitaVisu = Init.InPort( 'aVisu' , 'objref' )
- IInitaView = Init.InPort( 'aView' , 'objref' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitindex = Init.GetOutPort( 'index' )
- OInitmin = Init.GetOutPort( 'min' )
- OInitmax = Init.GetOutPort( 'max' )
- OInitmedfield = Init.GetOutPort( 'medfield' )
- OInitx1 = Init.GetOutPort( 'x1' )
- OInitaVisu = Init.GetOutPort( 'aVisu' )
- OInitaView = Init.GetOutPort( 'aView' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitindex = EndInit.GetInPort( 'index' )
- IEndInitmin = EndInit.GetInPort( 'min' )
- IEndInitmax = EndInit.GetInPort( 'max' )
- IEndInitmedfield = EndInit.GetInPort( 'medfield' )
- IEndInitx1 = EndInit.GetInPort( 'x1' )
- IEndInitaVisu = EndInit.GetInPort( 'aVisu' )
- IEndInitaView = EndInit.GetInPort( 'aView' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitindex = EndInit.GetOutPort( 'index' )
- OEndInitmin = EndInit.GetOutPort( 'min' )
- OEndInitmax = EndInit.GetOutPort( 'max' )
- OEndInitmedfield = EndInit.GetOutPort( 'medfield' )
- OEndInitx1 = EndInit.GetOutPort( 'x1' )
- OEndInitaVisu = EndInit.GetOutPort( 'aVisu' )
- OEndInitaView = EndInit.GetOutPort( 'aView' )
- OEndInitGate = EndInit.GetOutPort( 'Gate' )
- Init.SetName( 'Init' )
- Init.SetAuthor( 'LD' )
- Init.SetComment( 'no comment' )
- Init.Coords( 216 , 5 )
-
- # Creation of Links
- LInitDisplayaVisuInitaVisu = TestSupervMedfieldLoopFori.Link( OInitDisplayaVisu , IInitaVisu )
-
- LInitDisplayaViewInitaView = TestSupervMedfieldLoopFori.Link( OInitDisplayaView , IInitaView )
-
- LInitindexEndInitindex = TestSupervMedfieldLoopFori.Link( OInitindex , IEndInitindex )
-
- LInitminEndInitmin = TestSupervMedfieldLoopFori.Link( OInitmin , IEndInitmin )
-
- LInitmaxEndInitmax = TestSupervMedfieldLoopFori.Link( OInitmax , IEndInitmax )
-
- LInitmedfieldMulfield1 = TestSupervMedfieldLoopFori.Link( OInitmedfield , IMulfield1 )
-
- LInitx1EndInitx1 = TestSupervMedfieldLoopFori.Link( OInitx1 , IEndInitx1 )
-
- LInitx1Mulx1 = TestSupervMedfieldLoopFori.Link( OInitx1 , IMulx1 )
-
- LInitaVisuEndInitaVisu = TestSupervMedfieldLoopFori.Link( OInitaVisu , IEndInitaVisu )
-
- LInitaViewEndInitaView = TestSupervMedfieldLoopFori.Link( OInitaView , IEndInitaView )
-
- LMulreturnEndInitmedfield = TestSupervMedfieldLoopFori.Link( OMulreturn , IEndInitmedfield )
-
- # Input datas
- IInitindex.Input( 0 )
- IInitmin.Input( 0 )
- IInitmax.Input( 55 )
- IInitmedfield.Input( 'IOR:010000001f00000049444c3a53414c4f4d455f4d45442f4649454c44444f55424c453a312e300000010000000000000026000000010100000a0000003132372e302e302e3100ead00e000000fe1948673f000058e60000000021' )
- IInitx1.Input( 2 )
-
- # Output Ports of the graph
- #OEndInitindex = EndInit.GetOutPort( 'index' )
- #OEndInitmin = EndInit.GetOutPort( 'min' )
- #OEndInitmax = EndInit.GetOutPort( 'max' )
- #OEndInitmedfield = EndInit.GetOutPort( 'medfield' )
- #OEndInitx1 = EndInit.GetOutPort( 'x1' )
- #OEndInitaVisu = EndInit.GetOutPort( 'aVisu' )
- #OEndInitaView = EndInit.GetOutPort( 'aView' )
- return TestSupervMedfieldLoopFori
-
-
-TestSupervMedfieldLoopFori = DefTestSupervMedfieldLoopFori()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph TestSupervMedfieldLoopForiVisu
-#
-from SuperV import *
-
-# Graph creation of TestSupervMedfieldLoopForiVisu
-def DefTestSupervMedfieldLoopForiVisu() :
- TestSupervMedfieldLoopForiVisu = Graph( 'TestSupervMedfieldLoopForiVisu' )
- TestSupervMedfieldLoopForiVisu.SetName( 'TestSupervMedfieldLoopForiVisu' )
- TestSupervMedfieldLoopForiVisu.SetAuthor( '' )
- TestSupervMedfieldLoopForiVisu.SetComment( '' )
- TestSupervMedfieldLoopForiVisu.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- Mul = TestSupervMedfieldLoopForiVisu.FNode( 'Calculator' , 'Calculator' , 'Mul' )
- Mul.SetName( 'Mul' )
- Mul.SetAuthor( 'LD' )
- Mul.SetContainer( 'localhost/FactoryServer' )
- Mul.SetComment( 'Multiply a field by a constant' )
- Mul.Coords( 387 , 104 )
- IMulfield1 = Mul.GetInPort( 'field1' )
- IMulx1 = Mul.GetInPort( 'x1' )
- IMulGate = Mul.GetInPort( 'Gate' )
- OMulreturn = Mul.GetOutPort( 'return' )
- OMulGate = Mul.GetOutPort( 'Gate' )
-
- # Creation of InLine Nodes
- PyInitDisplay = []
- PyInitDisplay.append( 'from LifeCycleCORBA import * ' )
- PyInitDisplay.append( 'from VISU import * ' )
- PyInitDisplay.append( 'def InitDisplay(): ' )
- PyInitDisplay.append( ' # initialize the ORB ' )
- PyInitDisplay.append( ' orb = CORBA.ORB_init([], CORBA.ORB_ID) ' )
- PyInitDisplay.append( ' # create an LifeCycleCORBA instance ' )
- PyInitDisplay.append( ' lcc = LifeCycleCORBA(orb) ' )
- PyInitDisplay.append( ' # ----------------------------------------- ' )
- PyInitDisplay.append( ' # loading visu component ' )
- PyInitDisplay.append( ' aVisu = lcc.FindOrLoadComponent("FactoryServer","VISU") ' )
- PyInitDisplay.append( ' print "InitDisplay --> aVisu = ",aVisu ' )
- PyInitDisplay.append( ' aViewManager = aVisu.GetViewManager() ' )
- PyInitDisplay.append( ' print "InitDisplay --> aViewManager = ",aViewManager ' )
- PyInitDisplay.append( ' # aView = aViewManager.GetCurrentView() ' )
- PyInitDisplay.append( ' aView = aViewManager.Create3DView() ' )
- PyInitDisplay.append( ' print "InitDisplay --> aView = ",aView ' )
- PyInitDisplay.append( ' return aVisu,aView ' )
- InitDisplay = TestSupervMedfieldLoopForiVisu.INode( 'InitDisplay' , PyInitDisplay )
- InitDisplay.SetName( 'InitDisplay' )
- InitDisplay.SetAuthor( '' )
- InitDisplay.SetComment( 'Compute Node' )
- InitDisplay.Coords( 0 , 163 )
- IInitDisplayGate = InitDisplay.GetInPort( 'Gate' )
- OInitDisplayaVisu = InitDisplay.OutPort( 'aVisu' , 'objref' )
- OInitDisplayaView = InitDisplay.OutPort( 'aView' , 'objref' )
- OInitDisplayGate = InitDisplay.GetOutPort( 'Gate' )
-
- PyDisplayMed = []
- PyDisplayMed.append( 'import os ' )
- PyDisplayMed.append( 'import SALOME_MED ' )
- PyDisplayMed.append( 'from VISU import * ' )
- PyDisplayMed.append( 'from LifeCycleCORBA import * ' )
- PyDisplayMed.append( 'def DisplayMed(medfield,index,aVisu,aView): ' )
- PyDisplayMed.append( ' # initialize the ORB ' )
- PyDisplayMed.append( ' orb = CORBA.ORB_init([''], CORBA.ORB_ID) ' )
- PyDisplayMed.append( ' # create an LifeCycleCORBA instance ' )
- PyDisplayMed.append( ' lcc = LifeCycleCORBA(orb) ' )
- PyDisplayMed.append( ' print " " ' )
- PyDisplayMed.append( ' print "***************************************************************" ' )
- PyDisplayMed.append( ' calc = lcc.FindOrLoadComponent("FactoryServer", "Calculator") ' )
- PyDisplayMed.append( ' print "-----> calc = ",calc ' )
- PyDisplayMed.append( ' medfilename = "/tmp/LoopGraphFile" + str(index) + ".med" ' )
- PyDisplayMed.append( ' print "-----> Writing Med field in temporary file : ",medfilename ' )
- PyDisplayMed.append( ' calc.writeMEDfile(medfield,medfilename) ' )
- PyDisplayMed.append( ' print "-----> calc = ",calc ' )
- PyDisplayMed.append( ' print "***************************************************************" ' )
- PyDisplayMed.append( ' myResult1 = aVisu.ImportFile(medfilename) ' )
- PyDisplayMed.append( ' print "-----> myResult1 = ",myResult1 ' )
- PyDisplayMed.append( ' field_name = medfield.getName() ' )
- PyDisplayMed.append( ' print "-----> field_name = ",field_name ' )
- PyDisplayMed.append( ' mesh_name = medfield.getSupport().getMesh().getName() ' )
- PyDisplayMed.append( ' print "-----> mesh_name = ",mesh_name ' )
- PyDisplayMed.append( ' aMesh1 = aVisu.MeshOnEntity(myResult1,mesh_name,CELL) ' )
- PyDisplayMed.append( ' print "-----> aMesh1 = ",aMesh1 ' )
- PyDisplayMed.append( ' aScalarMap1 = aVisu.ScalarMapOnField(myResult1,mesh_name,NODE,field_name,1) ' )
- PyDisplayMed.append( ' print "-----> aScalarMap1 = ",aScalarMap1 ' )
- PyDisplayMed.append( ' aView.DisplayOnly(aScalarMap1) ' )
- PyDisplayMed.append( ' aView.FitAll() ' )
- PyDisplayMed.append( ' command = "rm " + medfilename ' )
- PyDisplayMed.append( ' os.system(command) ' )
- PyDisplayMed.append( ' print "-----> Delete temporary Med file : ",medfilename ' )
- PyDisplayMed.append( ' print "***************************************************************" ' )
- PyDisplayMed.append( ' print " " ' )
- PyDisplayMed.append( ' return medfield ' )
- DisplayMed = TestSupervMedfieldLoopForiVisu.INode( 'DisplayMed' , PyDisplayMed )
- DisplayMed.SetName( 'DisplayMed' )
- DisplayMed.SetAuthor( '' )
- DisplayMed.SetComment( 'Compute Node' )
- DisplayMed.Coords( 594 , 105 )
- IDisplayMedINmedfield = DisplayMed.InPort( 'INmedfield' , 'objref' )
- IDisplayMedindex = DisplayMed.InPort( 'index' , 'long' )
- IDisplayMedaVisu = DisplayMed.InPort( 'aVisu' , 'objref' )
- IDisplayMedaView = DisplayMed.InPort( 'aView' , 'objref' )
- IDisplayMedGate = DisplayMed.GetInPort( 'Gate' )
- ODisplayMedOUTmedfield = DisplayMed.OutPort( 'OUTmedfield' , 'objref' )
- ODisplayMedGate = DisplayMed.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'def Init(index,min,max,medfield,x1,aVisu,aView): ' )
- PyInit.append( ' if max >= min : ' )
- PyInit.append( ' index = min ' )
- PyInit.append( ' else : ' )
- PyInit.append( ' index = max ' )
- PyInit.append( ' print "Init --> index = ",index ' )
- PyInit.append( ' print " min = ",min ' )
- PyInit.append( ' print " max = ",max ' )
- PyInit.append( ' print " medfield = ",medfield ' )
- PyInit.append( ' return index,min,max,medfield,x1,aVisu,aView ' )
- PyMoreInit = []
- PyMoreInit.append( 'def More(index,min,max,medfield,x1,aVisu,aView): ' )
- PyMoreInit.append( ' if max >= index : ' )
- PyMoreInit.append( ' DoLoop = 1 ' )
- PyMoreInit.append( ' else : ' )
- PyMoreInit.append( ' DoLoop = 0 ' )
- PyMoreInit.append( ' print "More --> DoLoop = ",DoLoop ' )
- PyMoreInit.append( ' print " index = ",index ' )
- PyMoreInit.append( ' print " min = ",min ' )
- PyMoreInit.append( ' print " max = ",max ' )
- PyMoreInit.append( ' print " medfield = ",medfield ' )
- PyMoreInit.append( ' return DoLoop,index,min,max,medfield,x1,aVisu,aView ' )
- PyNextInit = []
- PyNextInit.append( 'def Next(index,min,max,medfield,x1,aVisu,aView): ' )
- PyNextInit.append( ' index = index + 1 ' )
- PyNextInit.append( ' print "Next --> index = ",index ' )
- PyNextInit.append( ' print " min = ",min ' )
- PyNextInit.append( ' print " max = ",max ' )
- PyNextInit.append( ' print " medfield = ",medfield ' )
- PyNextInit.append( ' return index,min,max,medfield,x1,aVisu,aView ' )
- Init,EndInit = TestSupervMedfieldLoopForiVisu.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
- EndInit.SetName( 'EndInit' )
- EndInit.SetAuthor( 'LD' )
- EndInit.SetComment( 'no comment' )
- EndInit.Coords( 776 , 64 )
- PyEndInit = []
- EndInit.SetPyFunction( '' , PyEndInit )
- IInitDoLoop = Init.GetInPort( 'DoLoop' )
- IInitindex = Init.InPort( 'index' , 'long' )
- IInitmin = Init.InPort( 'min' , 'long' )
- IInitmax = Init.InPort( 'max' , 'long' )
- IInitmedfield = Init.InPort( 'medfield' , 'objref' )
- IInitx1 = Init.InPort( 'x1' , 'double' )
- IInitaVisu = Init.InPort( 'aVisu' , 'objref' )
- IInitaView = Init.InPort( 'aView' , 'objref' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitindex = Init.GetOutPort( 'index' )
- OInitmin = Init.GetOutPort( 'min' )
- OInitmax = Init.GetOutPort( 'max' )
- OInitmedfield = Init.GetOutPort( 'medfield' )
- OInitx1 = Init.GetOutPort( 'x1' )
- OInitaVisu = Init.GetOutPort( 'aVisu' )
- OInitaView = Init.GetOutPort( 'aView' )
- IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
- IEndInitindex = EndInit.GetInPort( 'index' )
- IEndInitmin = EndInit.GetInPort( 'min' )
- IEndInitmax = EndInit.GetInPort( 'max' )
- IEndInitmedfield = EndInit.GetInPort( 'medfield' )
- IEndInitx1 = EndInit.GetInPort( 'x1' )
- IEndInitaVisu = EndInit.GetInPort( 'aVisu' )
- IEndInitaView = EndInit.GetInPort( 'aView' )
- IEndInitGate = EndInit.GetInPort( 'Gate' )
- OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
- OEndInitindex = EndInit.GetOutPort( 'index' )
- OEndInitmin = EndInit.GetOutPort( 'min' )
- OEndInitmax = EndInit.GetOutPort( 'max' )
- OEndInitmedfield = EndInit.GetOutPort( 'medfield' )
- OEndInitx1 = EndInit.GetOutPort( 'x1' )
- OEndInitaVisu = EndInit.GetOutPort( 'aVisu' )
- OEndInitaView = EndInit.GetOutPort( 'aView' )
- OEndInitGate = EndInit.GetOutPort( 'Gate' )
- Init.SetName( 'Init' )
- Init.SetAuthor( 'LD' )
- Init.SetComment( 'no comment' )
- Init.Coords( 205 , 63 )
-
- # Creation of Links
- LInitDisplayaVisuInitaVisu = TestSupervMedfieldLoopForiVisu.Link( OInitDisplayaVisu , IInitaVisu )
-
- LInitDisplayaViewInitaView = TestSupervMedfieldLoopForiVisu.Link( OInitDisplayaView , IInitaView )
-
- LInitindexEndInitindex = TestSupervMedfieldLoopForiVisu.Link( OInitindex , IEndInitindex )
-
- LInitindexDisplayMedindex = TestSupervMedfieldLoopForiVisu.Link( OInitindex , IDisplayMedindex )
- LInitindexDisplayMedindex.AddCoord( 1 , 566 , 215 )
- LInitindexDisplayMedindex.AddCoord( 2 , 566 , 96 )
-
- LInitminEndInitmin = TestSupervMedfieldLoopForiVisu.Link( OInitmin , IEndInitmin )
-
- LInitmaxEndInitmax = TestSupervMedfieldLoopForiVisu.Link( OInitmax , IEndInitmax )
-
- LInitmedfieldMulfield1 = TestSupervMedfieldLoopForiVisu.Link( OInitmedfield , IMulfield1 )
-
- LInitx1EndInitx1 = TestSupervMedfieldLoopForiVisu.Link( OInitx1 , IEndInitx1 )
-
- LInitx1Mulx1 = TestSupervMedfieldLoopForiVisu.Link( OInitx1 , IMulx1 )
-
- LInitaVisuEndInitaVisu = TestSupervMedfieldLoopForiVisu.Link( OInitaVisu , IEndInitaVisu )
-
- LInitaVisuDisplayMedaVisu = TestSupervMedfieldLoopForiVisu.Link( OInitaVisu , IDisplayMedaVisu )
- LInitaVisuDisplayMedaVisu.AddCoord( 1 , 570 , 242 )
- LInitaVisuDisplayMedaVisu.AddCoord( 2 , 569 , 263 )
- LInitaVisuDisplayMedaVisu.AddCoord( 3 , 377 , 264 )
- LInitaVisuDisplayMedaVisu.AddCoord( 4 , 376 , 242 )
-
- LInitaViewEndInitaView = TestSupervMedfieldLoopForiVisu.Link( OInitaView , IEndInitaView )
-
- LInitaViewDisplayMedaView = TestSupervMedfieldLoopForiVisu.Link( OInitaView , IDisplayMedaView )
-
- LMulreturnDisplayMedINmedfield = TestSupervMedfieldLoopForiVisu.Link( OMulreturn , IDisplayMedINmedfield )
-
- LDisplayMedOUTmedfieldEndInitmedfield = TestSupervMedfieldLoopForiVisu.Link( ODisplayMedOUTmedfield , IEndInitmedfield )
-
- # Input datas
- IInitindex.Input( 0 )
- IInitmin.Input( 0 )
- IInitmax.Input( 4 )
- IInitx1.Input( 2 )
-
- # Input Ports of the graph
- #IInitmedfield = Init.GetInPort( 'medfield' )
-
- # Output Ports of the graph
- #OEndInitindex = EndInit.GetOutPort( 'index' )
- #OEndInitmin = EndInit.GetOutPort( 'min' )
- #OEndInitmax = EndInit.GetOutPort( 'max' )
- #OEndInitmedfield = EndInit.GetOutPort( 'medfield' )
- #OEndInitx1 = EndInit.GetOutPort( 'x1' )
- #OEndInitaVisu = EndInit.GetOutPort( 'aVisu' )
- #OEndInitaView = EndInit.GetOutPort( 'aView' )
- return TestSupervMedfieldLoopForiVisu
-
-
-TestSupervMedfieldLoopForiVisu = DefTestSupervMedfieldLoopForiVisu()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-#%dataflow_calculator_example.py%
-#==============================================================================
-# File : dataflow_calculator_example.py
-# Created : 30 sept 2002
-# Author : Laurent DADA
-# Project : SALOME
-#==============================================================================
-#==============================================================================
-# Example of dataflow with CalculatorComponent services (Add, Mult and Const)
-# and MED data (mesh and field).
-#==============================================================================
-#==============================================================================
-#
-import batchmode_salome
-import SALOME_MED
-from batchmode_SuperV import *
-#==============================================================================
-datadir = os.getenv("DATA_DIR")
-if len(datadir) != 0:
- datadir=datadir+ "/MedFiles/"
-input_file = datadir+'pointe.med'
-print 'dataflow_calculator_example.py',input_file
-str= os.getenv("HOME")
-if str == None:
- str = "/tmp"
-output_file = str + 'test_dataflow_calculator.med'
-
-export_xmlfile = str + "/my_dataflow_calculator_example.xml"
-
-#==============================================================================
-# Load mesh and field in MED component, register into current study and get
-# a field under the following name : fieldnodedouble
-#==============================================================================
-from batchmode_MED import *
-
-#==============================================================================
-# Define a function for printing on Salome TUI the" until_index" first values
-# for each component of a field (MED data)
-#==============================================================================
-
-def PrintField(aField,until_index):
- # check parameter
- if aField is None:
- print "PrintField() : aField is None "
- return
- name = aField.getName()
- desc = aField.getDescription()
- nb_comp = aField.getNumberOfComponents()
- values = aField.getValue(SALOME_MED.MED_FULL_INTERLACE)
- support = aField.getSupport()
- if (support.isOnAllElements()):
- nb_node = support.getMesh().getNumberOfElements(support.getEntity(),SALOME_MED.MED_ALL_ELEMENTS)
- else:
- nb_node = support.getNumberOfElements(SALOME_MED.MED_ALL_ELEMENTS);
-
- if until_index > nb_node:
- max_index = nb_node
- else:
- max_index = until_index
- time = aField.getTime()
- iter = aField.getIterationNumber()
- print "------------------------------------------------"
- print "Field %s"%(name)
- print " Description : %s"%(desc)
- print " Number of components : %d"%(nb_comp)
- print " Number of nodes : %d"%(nb_node)
- print " Iteration number : %d"%(iter)
- print " Time : %f"%(time)
- icomp = 0
- while icomp < nb_comp :
- icomp = icomp + 1
- namec = aField.getComponentName(icomp)
- unit = aField.getComponentUnit(icomp)
- print " Component : %s"%(namec)
- print " Unit : %s"%(type)
- print " first %d values :"%(until_index)
- index = 0
- while index < max_index :
- index = index + 1
- print " component %d index %d :%f"%(icomp,index,values[(index-1)+(icomp-1)*nb_comp])
- print "------------------------------------------------"
-
-#----------------------------------------------------------------------
-
-med_comp.readStructFileWithFieldType(input_file, studyCurrent)
-
-med_obj = getMedObjectFromStudy()
-
-nbMeshes = med_obj.getNumberOfMeshes()
-
-nbFields = med_obj.getNumberOfFields()
-
-print ""
-print "The med file ",input_file," has ",nbMeshes," Meshe(s) and ",nbFields," Field(s)"
-print ""
-
-mesh = getMeshObjectFromStudy(1)
-
-name = mesh.getName()
-
-nbNodes = mesh.getNumberOfNodes()
-
-spaceDim = mesh.getSpaceDimension()
-
-print "The mesh from the Study is ",name,".It is a ",spaceDim,"-D mesh and it has ",nbNodes,"Nodes"
-print ""
-
-fieldcelldouble = getFieldIntObjectFromStudy(1,1)
-if (fieldcelldouble == None):
- fieldcelldouble = getFieldDoubleObjectFromStudy(1,1)
- print "The following field is a float (double) one"
-else:
- print "The following field is an integer one"
-
-AnalyzeField(fieldcelldouble)
-
-fieldnodedouble = getFieldIntObjectFromStudy(2,1)
-if (fieldnodedouble == None):
- fieldnodedouble = getFieldDoubleObjectFromStudy(2,1)
- print "The following field is a float (double) one"
-else:
- print "The following field is an integer one"
-
-AnalyzeField(fieldnodedouble)
-#----------------------------------------------------------------------
-
-#==============================================================================
-# Building the Dataflow
-#==============================================================================
-
-myGraph = Graph("CalculatorDataflow")
-
-# nodes and links
-# -------------------
-
-scal_field_const = myGraph.Node("Calculator","Calculator","Constant")
-scal_field_mult = myGraph.Node("Calculator","Calculator","Mul")
-scal_field_add = myGraph.Node("Calculator","Calculator","Add")
-
-write_initial = myGraph.Node("Calculator","Calculator","writeMEDfile")
-write_result = myGraph.Node("Calculator","Calculator","writeMEDfile")
-
-link1 = myGraph.Link( scal_field_const.Port("return") , scal_field_add.Port("field1") )
-link2 = myGraph.Link( scal_field_mult.Port("return") , scal_field_add.Port("field2") )
-link3 = myGraph.Link( scal_field_add.Port("return") , write_result.Port("field1") )
-
-
-# machines ressources
-# -------------------
-
-#myGraph.SetContainer('FactoryServer')
-scal_field_const.SetContainer('FactoryServer')
-scal_field_mult.SetContainer('FactoryServer')
-scal_field_add.SetContainer('FactoryServer')
-write_initial.SetContainer('FactoryServer')
-write_result.SetContainer('FactoryServer')
-
-# validation and exporting (xml format)
-# ---------------------------------
-print myGraph.Export(export_xmlfile)
-
-print myGraph.IsValid()
-
-#==============================================================================
-# Dataflow Input
-#==============================================================================
-
-# Ports Input
-# ----------------------------
-
-scal_const_in2 = scal_field_const.Input( "x1", 10. )
-scal_mult_in2 = scal_field_mult.Input( "x1", -1. )
-result_write = write_result.Input( "filename", output_file)
-initial_write_in2 = write_initial.Input( "filename", output_file)
-
-# exporting with constant inputs (xml format)
-# -------------------------------------------
-
-print myGraph.Export(export_xmlfile)
-
-# Other ports Input
-# ----------------------------
-
-print "Print fieldnodedouble"
-PrintField(fieldnodedouble,20)
-
-scal_const_in1 = scal_field_const.Input( "field1", fieldnodedouble )
-scal_mult_in1 = scal_field_mult.Input( "field1", fieldnodedouble )
-initial_write_in1 = write_initial.Input( "field1", fieldnodedouble)
-
-print myGraph.IsExecutable()
-
-#==============================================================================
-# Running the Dataflow (asynchronous)
-#==============================================================================
-
-print myGraph.Run()
-
-print myGraph.DoneW()
-
-new_field = scal_field_add.Port("return").ToAny().value()
-print "Print new_field"
-PrintField(new_field,20)
-
-
-
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-# File : myFactorialPy.py
-# Module : SuperVisionTest
-#
-from SuperV import *
-
-myPy = Graph('myPy')
-
-eval = myPy.Node('FactorialComponent','FactorialComponent','eval')
-eval.SetContainer('FactoryServerPy')
-
-myPy.IsValid()
-
-myPy.PrintPorts()
-
-myPy.Run( 3 )
-
-myPy.DoneW()
-
-print myPy.State()
-
-myPy.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-# File : newsupervisionexample.py
-# Module : SuperVisionTest
-#
-from SuperV import *
-# Graph creation
-newsupervisionexample = Graph( 'newsupervisionexample' )
-newsupervisionexample.SetName( 'newsupervisionexample' )
-newsupervisionexample.SetAuthor( '' )
-newsupervisionexample.SetComment( '' )
-newsupervisionexample.Coords( 0 , 0 )
-
-# Creation of Computing Nodes
-Add = newsupervisionexample.Node( 'AddComponent' , 'AddComponent' , 'Add' )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetContainer( 'FactoryServer' )
-Add.SetComment( '' )
-Add.Coords( 15 , 241 )
-Sub = newsupervisionexample.Node( 'SubComponent' , 'SubComponent' , 'Sub' )
-Sub.SetName( 'Sub' )
-Sub.SetAuthor( '' )
-Sub.SetContainer( 'FactoryServer' )
-Sub.SetComment( '' )
-Sub.Coords( 227 , 99 )
-Mul = newsupervisionexample.Node( 'MulComponent' , 'MulComponent' , 'Mul' )
-Mul.SetName( 'Mul' )
-Mul.SetAuthor( '' )
-Mul.SetContainer( 'FactoryServer' )
-Mul.SetComment( '' )
-Mul.Coords( 443 , 278 )
-Div = newsupervisionexample.Node( 'DivComponent' , 'DivComponent' , 'Div' )
-Div.SetName( 'Div' )
-Div.SetAuthor( '' )
-Div.SetContainer( 'FactoryServer' )
-Div.SetComment( '' )
-Div.Coords( 634 , 97 )
-
-# Creation of intermediate Output variables and of Computing Links
-Addz = Add.Port( 'z' )
-Suby = newsupervisionexample.Link( Addz , Sub.Port( 'y' ) )
-Muly = newsupervisionexample.Link( Addz , Mul.Port( 'y' ) )
-Subz = Sub.Port( 'z' )
-Mulx = newsupervisionexample.Link( Subz , Mul.Port( 'x' ) )
-Divx = newsupervisionexample.Link( Subz , Div.Port( 'x' ) )
-Mulz = Mul.Port( 'z' )
-Divy = newsupervisionexample.Link( Mulz , Div.Port( 'y' ) )
-
-# Creation of Input datas
-Addx = Add.Input( 'x' , 3)
-Addy = Add.Input( 'y' , 4.5)
-Subx = Sub.Input( 'x' , 1.5)
-
-# Creation of Output variables
-AddFuncValue = Add.Port( 'FuncValue' )
-Divz = Div.Port( 'z' )
-
-newsupervisionexample.Run()
-
-newsupervisionexample.DoneW()
-
-newsupervisionexample.State()
-
-newsupervisionexample.PrintPorts()
-
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph aNewDataFlow
-#
-from SuperV import *
-# Graph creation
-aNewDataFlow = Graph( 'aNewDataFlow' )
-aNewDataFlow.SetName( 'aNewDataFlow' )
-aNewDataFlow.SetAuthor( '' )
-aNewDataFlow.SetComment( '' )
-aNewDataFlow.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-# Creation of InLine Nodes
-PyFunc = []
-PyFunc.append( 'def Func( A ): ' )
-PyFunc.append( ' import batchmode_visu ' )
-PyFunc.append( ' batchmode_visu.myVisu.CreateTestView() ' )
-PyFunc.append( ' batchmode_visu.myVisu.ShowTestObject() ' )
-PyFunc.append( ' return A ' )
-Func = aNewDataFlow.INode( 'Func' , PyFunc )
-Func.SetName( 'Func' )
-Func.SetAuthor( '' )
-Func.SetComment( 'Compute Node' )
-Func.Coords( 375 , 162 )
-Func.InPort( 'A' , 'int' )
-Func.OutPort( 'B' , 'int' )
-
-# Creation of Loop Nodes
-PyInit = []
-PyInit.append( 'def Init( A ): ' )
-PyInit.append( ' return A ' )
-PyMoreInit = []
-PyMoreInit.append( 'def More( A ): ' )
-PyMoreInit.append( ' if A < 10: ' )
-PyMoreInit.append( ' return 1,A ' )
-PyMoreInit.append( ' return 0,A ' )
-PyNextInit = []
-PyNextInit.append( 'def Next( A ): ' )
-PyNextInit.append( ' return (A + 1) ' )
-Init,EndInit = aNewDataFlow.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
-EndInit.SetName( 'EndInit' )
-EndInit.SetAuthor( '' )
-EndInit.SetComment( '' )
-EndInit.Coords( 740 , 168 )
-PyEndInit = []
-EndInit.SetPyFunction( 'EndInit' , PyEndInit )
-Init.SetName( 'Init' )
-Init.SetAuthor( '' )
-Init.SetComment( '' )
-Init.Coords( 118 , 160 )
-Init.InPort( 'A' , 'int' )
-Init.OutPort( 'A' , 'int' )
-
-# Creation of Links
-InitA = Init.Port( 'A' )
-FuncA = aNewDataFlow.Link( InitA , Func.Port( 'A' ) )
-
-FuncB = Func.Port( 'B' )
-EndInitA = aNewDataFlow.Link( FuncB , EndInit.Port( 'A' ) )
-
-# Creation of Input datas
-InitA = Init.Input( 'A' , 0)
-
-# Creation of Output variables
-EndInitA = EndInit.Port( 'A' )
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph test_superv_basic_loop
-#
-from SuperV import *
-# Graph creation
-test_superv_basic_loop = Graph( 'test_superv_basic_loop' )
-test_superv_basic_loop.SetName( 'test_superv_basic_loop' )
-test_superv_basic_loop.SetAuthor( '' )
-test_superv_basic_loop.SetComment( '' )
-test_superv_basic_loop.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-# Creation of InLine Nodes
-PyAdd = []
-PyAdd.append( 'def Sum(sum,incr): ' )
-PyAdd.append( ' result = sum+incr ' )
-PyAdd.append( ' return result,incr ' )
-Add = test_superv_basic_loop.INode( 'Sum' , PyAdd )
-Add.InPort( 'sum' , 'long' )
-Add.InPort( 'incr' , 'long' )
-Add.OutPort( 'Sum' , 'long' )
-Add.OutPort( 'incr' , 'long' )
-Add.SetName( 'Add' )
-Add.SetAuthor( '' )
-Add.SetComment( 'Python function' )
-Add.Coords( 220 , 40 )
-
-# Creation of Loop Nodes
-Pyfori = []
-Pyfori.append( 'def Init(index,min,max,sum): ' )
-Pyfori.append( ' if max > min : ' )
-Pyfori.append( ' index = min ' )
-Pyfori.append( ' else : ' )
-Pyfori.append( ' index = max ' )
-Pyfori.append( ' #print index,min,max,sum ' )
-Pyfori.append( ' return index,min,max,sum ' )
-PyMorefori = []
-PyMorefori.append( 'def More(index,min,max,sum): ' )
-PyMorefori.append( ' OutLoop = 0 ' )
-PyMorefori.append( ' if max > index : ' )
-PyMorefori.append( ' OutLoop = 1 ' )
-PyMorefori.append( ' #print OutLoop,index,min,max,sum ' )
-PyMorefori.append( ' return OutLoop,index,min,max,sum ' )
-PyNextfori = []
-PyNextfori.append( 'def Next(index,min,max,sum): ' )
-PyNextfori.append( ' index = index + 1 ' )
-PyNextfori.append( ' #print index,min,max,sum ' )
-PyNextfori.append( ' return index,min,max,sum ' )
-fori,Endfori = test_superv_basic_loop.LNode( 'Init' , Pyfori , 'More' , PyMorefori , 'Next' , PyNextfori )
-Endfori.SetName( 'Endfori' )
-Endfori.SetAuthor( '' )
-Endfori.SetComment( '' )
-Endfori.Coords( 432 , 0 )
-fori.InPort( 'index' , 'long' )
-fori.InPort( 'min' , 'long' )
-fori.InPort( 'max' , 'long' )
-fori.InPort( 'sum' , 'long' )
-fori.OutPort( 'index' , 'long' )
-fori.OutPort( 'min' , 'long' )
-fori.OutPort( 'max' , 'long' )
-fori.OutPort( 'sum' , 'long' )
-fori.SetName( 'fori' )
-fori.SetAuthor( '' )
-fori.SetComment( '' )
-fori.Coords( 12 , 0 )
-
-# Creation of Links
-AddSum = Add.Port( 'Sum' )
-Endforisum = test_superv_basic_loop.Link( AddSum , Endfori.Port( 'sum' ) )
-
-foriindex = fori.Port( 'index' )
-Endforiindex = test_superv_basic_loop.Link( foriindex , Endfori.Port( 'index' ) )
-
-Addincr = test_superv_basic_loop.Link( foriindex , Add.Port( 'incr' ) )
-Addincr.AddCoord( 1 , 186 , 150 )
-Addincr.AddCoord( 2 , 187 , 34 )
-
-forimin = fori.Port( 'min' )
-Endforimin = test_superv_basic_loop.Link( forimin , Endfori.Port( 'min' ) )
-
-forimax = fori.Port( 'max' )
-Endforimax = test_superv_basic_loop.Link( forimax , Endfori.Port( 'max' ) )
-
-forisum = fori.Port( 'sum' )
-Addsum = test_superv_basic_loop.Link( forisum , Add.Port( 'sum' ) )
-
-# Creation of Input datas
-foriindex = fori.Input( 'index' , 0)
-forimin = fori.Input( 'min' , 0)
-forimax = fori.Input( 'max' , 1001)
-forisum = fori.Input( 'sum' , 0)
-
-# Creation of Output variables
-Addincr = Add.Port( 'incr' )
-Endforiindex = Endfori.Port( 'index' )
-Endforimin = Endfori.Port( 'min' )
-Endforimax = Endfori.Port( 'max' )
-Endforisum = Endfori.Port( 'sum' )
-
-test_superv_basic_loop.Run()
-test_superv_basic_loop.DoneW()
-test_superv_basic_loop.PrintPorts()
+++ /dev/null
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# Generated python file of Graph TestVisu20_multi
-#
-from SuperV import *
-
-# Graph creation of TestVisu20_multi
-def DefTestVisu20_multi() :
- TestVisu20_multi = Graph( 'TestVisu20_multi' )
- TestVisu20_multi.SetName( 'TestVisu20_multi' )
- TestVisu20_multi.SetAuthor( '' )
- TestVisu20_multi.SetComment( '' )
- TestVisu20_multi.Coords( 0 , 0 )
-
- # Creation of Factory Nodes
-
- # Creation of InLine Nodes
- PyInitDisplay = []
- PyInitDisplay.append( 'import os ' )
- PyInitDisplay.append( 'import time ' )
- PyInitDisplay.append( 'from LifeCycleCORBA import * ' )
- PyInitDisplay.append( 'from SALOME_NamingServicePy import * ' )
- PyInitDisplay.append( 'import SALOMEDS ' )
- PyInitDisplay.append( 'from VISU import * ' )
- PyInitDisplay.append( 'def InitDisplay(): ' )
- PyInitDisplay.append( ' # --- initialize the ORB ' )
- PyInitDisplay.append( ' orb = CORBA.ORB_init([], CORBA.ORB_ID) ' )
- PyInitDisplay.append( ' # --- create a LifeCycleCORBA instance ' )
- PyInitDisplay.append( ' lcc = LifeCycleCORBA(orb) ' )
- PyInitDisplay.append( ' # --- create a naming service instance ' )
- PyInitDisplay.append( ' naming_service = SALOME_NamingServicePy_i(orb) ' )
- PyInitDisplay.append( ' # --- get Study Manager reference ' )
- PyInitDisplay.append( ' obj = naming_service.Resolve('myStudyManager') ' )
- PyInitDisplay.append( ' StudyManager = obj._narrow(SALOMEDS.StudyManager) ' )
- PyInitDisplay.append( ' # --- load visu component ' )
- PyInitDisplay.append( ' aVisu = lcc.FindOrLoadComponent("FactoryServer","VISU") ' )
- PyInitDisplay.append( ' aStudy = StudyManager.GetStudyByID(1) ' )
- PyInitDisplay.append( ' aVisu.SetCurrentStudy(aStudy) ' )
- PyInitDisplay.append( ' print "InitDisplay --> aVisu ", aVisu ' )
- PyInitDisplay.append( ' time.sleep(2) ' )
- PyInitDisplay.append( ' #aViewManager=aVisu.GetViewManager() ' )
- PyInitDisplay.append( ' #print "InitDisplay --> aViewManager ", aViewManager ' )
- PyInitDisplay.append( ' #time.sleep(2) ' )
- PyInitDisplay.append( ' #aView=aViewManager.GetCurrentView() ' )
- PyInitDisplay.append( ' #aView=aViewManager.Create3DView() ' )
- PyInitDisplay.append( ' #print "InitDisplay --> aView ", aView ' )
- PyInitDisplay.append( ' #time.sleep(2) ' )
- PyInitDisplay.append( ' medFile = "TimeStamps.med" ' )
- PyInitDisplay.append( ' medFile = os.getenv('DATA_DIR') + '/MedFiles/' + medFile ' )
- PyInitDisplay.append( ' myResult = aVisu.ImportFile(medFile) ' )
- PyInitDisplay.append( ' print "InitDisplay --> myResult ", myResult ' )
- PyInitDisplay.append( ' return aVisu,myResult ' )
- PyInitDisplay.append( '' )
- InitDisplay = TestVisu20_multi.INode( 'InitDisplay' , PyInitDisplay )
- InitDisplay.SetName( 'InitDisplay' )
- InitDisplay.SetAuthor( '' )
- InitDisplay.SetComment( 'Compute Node' )
- InitDisplay.Coords( 13 , 173 )
- IInitDisplayGate = InitDisplay.GetInPort( 'Gate' )
- OInitDisplayaVisu = InitDisplay.OutPort( 'aVisu' , 'objref' )
- OInitDisplaymyResult = InitDisplay.OutPort( 'myResult' , 'objref' )
- OInitDisplayGate = InitDisplay.GetOutPort( 'Gate' )
-
- PyDisplayVitesse = []
- PyDisplayVitesse.append( 'import VISU ' )
- PyDisplayVitesse.append( 'import os ' )
- PyDisplayVitesse.append( 'import time ' )
- PyDisplayVitesse.append( 'def DisplayVitesse(index,aVisu,aView,aResult,x1): ' )
- PyDisplayVitesse.append( ' print "----- Display 1 index = ", index,aVisu,aView,aResult,x1 ' )
- PyDisplayVitesse.append( ' aMeshName ="dom" ' )
- PyDisplayVitesse.append( ' myFieldName = "vitesse" ' )
- PyDisplayVitesse.append( ' anEntity = VISU.NODE ' )
- PyDisplayVitesse.append( ' aMesh = aVisu.MeshOnEntity(aResult, aMeshName, anEntity) ' )
- PyDisplayVitesse.append( ' print "----- Display 2 ", aMesh ' )
- PyDisplayVitesse.append( ' aScalarMap=aVisu.ScalarMapOnField(aResult,aMeshName,anEntity,myFieldName,x1) ' )
- PyDisplayVitesse.append( ' print "----- Display 4" ' )
- PyDisplayVitesse.append( ' if aScalarMap is not None: ' )
- PyDisplayVitesse.append( ' aScalarMap.SetScaling(VISU.LINEAR) ' )
- PyDisplayVitesse.append( ' else: ' )
- PyDisplayVitesse.append( ' print "Null scalar map is created" ' )
- PyDisplayVitesse.append( ' print "----- Display 5" ' )
- PyDisplayVitesse.append( ' aView.DisplayOnly(aScalarMap) ' )
- PyDisplayVitesse.append( ' aView.FitAll() ' )
- PyDisplayVitesse.append( ' aView.Update() ' )
- PyDisplayVitesse.append( ' print "----- Display 6" ' )
- PyDisplayVitesse.append( ' theResult=aResult ' )
- PyDisplayVitesse.append( ' #time.sleep(2) ' )
- PyDisplayVitesse.append( ' return theResult ' )
- PyDisplayVitesse.append( '' )
- DisplayVitesse = TestVisu20_multi.INode( 'DisplayVitesse' , PyDisplayVitesse )
- DisplayVitesse.SetName( 'DisplayVitesse' )
- DisplayVitesse.SetAuthor( '' )
- DisplayVitesse.SetComment( 'Compute Node' )
- DisplayVitesse.Coords( 609 , 506 )
- IDisplayVitesseindex = DisplayVitesse.InPort( 'index' , 'string' )
- IDisplayVitesseaVisu = DisplayVitesse.InPort( 'aVisu' , 'objref' )
- IDisplayVitesseaView = DisplayVitesse.InPort( 'aView' , 'objref' )
- IDisplayVitesseaResult = DisplayVitesse.InPort( 'aResult' , 'objref' )
- IDisplayVitessex1 = DisplayVitesse.InPort( 'x1' , 'double' )
- IDisplayVitesseGate = DisplayVitesse.GetInPort( 'Gate' )
- ODisplayVitessetheResult = DisplayVitesse.OutPort( 'theResult' , 'objref' )
- ODisplayVitesseGate = DisplayVitesse.GetOutPort( 'Gate' )
-
- PyCreateView = []
- PyCreateView.append( 'def CreateView(aVisu,aResult) : ' )
- PyCreateView.append( ' vm=aVisu.GetViewManager() ' )
- PyCreateView.append( ' aView=vm.Create3DView() ' )
- PyCreateView.append( ' theVisu=aVisu ' )
- PyCreateView.append( ' theResult=aResult ' )
- PyCreateView.append( ' return aView,theVisu,theResult ' )
- CreateView = TestVisu20_multi.INode( 'CreateView' , PyCreateView )
- CreateView.SetName( 'CreateView' )
- CreateView.SetAuthor( '' )
- CreateView.SetComment( 'Compute Node' )
- CreateView.Coords( 221 , 563 )
- ICreateViewaVisu = CreateView.InPort( 'aVisu' , 'objref' )
- ICreateViewaResult = CreateView.InPort( 'aResult' , 'objref' )
- ICreateViewGate = CreateView.GetInPort( 'Gate' )
- OCreateViewaView = CreateView.OutPort( 'aView' , 'objref' )
- OCreateViewtheVisu = CreateView.OutPort( 'theVisu' , 'objref' )
- OCreateViewtheResult = CreateView.OutPort( 'theResult' , 'objref' )
- OCreateViewGate = CreateView.GetOutPort( 'Gate' )
-
- # Creation of Loop Nodes
- PyInit = []
- PyInit.append( 'def Init(index,min,max,aVisu,aView,myResult,x1): ' )
- PyInit.append( ' if max >= min : ' )
- PyInit.append( ' index = min ' )
- PyInit.append( ' else : ' )
- PyInit.append( ' index = max ' )
- PyInit.append( ' print "---- Init ",index,min,max,aVisu,aView,myResult,x1 ' )
- PyInit.append( ' return index,min,max,aVisu,aView,myResult,x1 ' )
- PyMoreInit = []
- PyMoreInit.append( 'def More(index,min,max,aVisu,aView,myResult,x1): ' )
- PyMoreInit.append( ' if max >= index : ' )
- PyMoreInit.append( ' DoLoop = 1 ' )
- PyMoreInit.append( ' else : ' )
- PyMoreInit.append( ' DoLoop = 0 ' )
- PyMoreInit.append( ' print "---- More",index,min,max,aVisu,aView,myResult,x1 ' )
- PyMoreInit.append( ' return DoLoop,index,min,max,aVisu,aView,myResult,x1 ' )
- PyNextInit = []
- PyNextInit.append( 'def Next(index,min,max,aVisu,aView,myResult,x1): ' )
- PyNextInit.append( ' index = index + 1 ' )
- PyNextInit.append( ' x1=x1+1.0 ' )
- PyNextInit.append( ' print "---- Next",index,min,max,aVisu,aView,myResult,x1 ' )
- PyNextInit.append( ' return index,min,max,aVisu,aView,myResult,x1 ' )
- Init,EndOfInit = TestVisu20_multi.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
- EndOfInit.SetName( 'EndOfInit' )
- EndOfInit.SetAuthor( '' )
- EndOfInit.SetComment( 'Compute Node' )
- EndOfInit.Coords( 797 , 507 )
- PyEndOfInit = []
- EndOfInit.SetPyFunction( '' , PyEndOfInit )
- IInitDoLoop = Init.GetInPort( 'DoLoop' )
- IInitindex = Init.InPort( 'index' , 'long' )
- IInitmin = Init.InPort( 'min' , 'long' )
- IInitmax = Init.InPort( 'max' , 'long' )
- IInitaVisu = Init.InPort( 'aVisu' , 'objref' )
- IInitaView = Init.InPort( 'aView' , 'objref' )
- IInitaResult = Init.InPort( 'aResult' , 'objref' )
- IInitx1 = Init.InPort( 'x1' , 'double' )
- IInitGate = Init.GetInPort( 'Gate' )
- OInitDoLoop = Init.GetOutPort( 'DoLoop' )
- OInitindex = Init.GetOutPort( 'index' )
- OInitmin = Init.GetOutPort( 'min' )
- OInitmax = Init.GetOutPort( 'max' )
- OInitaVisu = Init.GetOutPort( 'aVisu' )
- OInitaView = Init.GetOutPort( 'aView' )
- OInitaResult = Init.GetOutPort( 'aResult' )
- OInitx1 = Init.GetOutPort( 'x1' )
- IEndOfInitDoLoop = EndOfInit.GetInPort( 'DoLoop' )
- IEndOfInitindex = EndOfInit.GetInPort( 'index' )
- IEndOfInitmin = EndOfInit.GetInPort( 'min' )
- IEndOfInitmax = EndOfInit.GetInPort( 'max' )
- IEndOfInitaVisu = EndOfInit.GetInPort( 'aVisu' )
- IEndOfInitaView = EndOfInit.GetInPort( 'aView' )
- IEndOfInitaResult = EndOfInit.GetInPort( 'aResult' )
- IEndOfInitx1 = EndOfInit.GetInPort( 'x1' )
- IEndOfInitGate = EndOfInit.GetInPort( 'Gate' )
- OEndOfInitDoLoop = EndOfInit.GetOutPort( 'DoLoop' )
- OEndOfInitindex = EndOfInit.GetOutPort( 'index' )
- OEndOfInitmin = EndOfInit.GetOutPort( 'min' )
- OEndOfInitmax = EndOfInit.GetOutPort( 'max' )
- OEndOfInitaVisu = EndOfInit.GetOutPort( 'aVisu' )
- OEndOfInitaView = EndOfInit.GetOutPort( 'aView' )
- OEndOfInitaResult = EndOfInit.GetOutPort( 'aResult' )
- OEndOfInitx1 = EndOfInit.GetOutPort( 'x1' )
- OEndOfInitGate = EndOfInit.GetOutPort( 'Gate' )
- Init.SetName( 'Init' )
- Init.SetAuthor( '' )
- Init.SetComment( 'Compute Node' )
- Init.Coords( 428 , 493 )
-
- PyLoopOnViews = []
- PyLoopOnViews.append( 'def InitViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' )
- PyLoopOnViews.append( ' ViewCount=MinCount ' )
- PyLoopOnViews.append( ' return aVisu,aResult,ViewCount,MinCount,MaxCount ' )
- PyMoreLoopOnViews = []
- PyMoreLoopOnViews.append( 'def MoreViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' )
- PyMoreLoopOnViews.append( ' if ViewCount < MaxCount: ' )
- PyMoreLoopOnViews.append( ' return 1,aVisu,aResult,ViewCount,MinCount,MaxCount ' )
- PyMoreLoopOnViews.append( ' return 0,aVisu,aResult,ViewCount,MinCount,MaxCount ' )
- PyNextLoopOnViews = []
- PyNextLoopOnViews.append( 'def NextViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' )
- PyNextLoopOnViews.append( ' ViewCount = ViewCount + 1 ' )
- PyNextLoopOnViews.append( ' return aVisu,aResult,ViewCount,MinCount,MaxCount ' )
- LoopOnViews,EndOfLoopOnViews = TestVisu20_multi.LNode( 'InitViews' , PyLoopOnViews , 'MoreViews' , PyMoreLoopOnViews , 'NextViews' , PyNextLoopOnViews )
- EndOfLoopOnViews.SetName( 'EndOfLoopOnViews' )
- EndOfLoopOnViews.SetAuthor( '' )
- EndOfLoopOnViews.SetComment( 'Compute Node' )
- EndOfLoopOnViews.Coords( 773 , 224 )
- PyEndOfLoopOnViews = []
- EndOfLoopOnViews.SetPyFunction( 'EndLoop' , PyEndOfLoopOnViews )
- ILoopOnViewsDoLoop = LoopOnViews.GetInPort( 'DoLoop' )
- ILoopOnViewsaVisu = LoopOnViews.InPort( 'aVisu' , 'objref' )
- ILoopOnViewsaResult = LoopOnViews.InPort( 'aResult' , 'objref' )
- ILoopOnViewsViewCount = LoopOnViews.InPort( 'ViewCount' , 'int' )
- ILoopOnViewsMinCount = LoopOnViews.InPort( 'MinCount' , 'int' )
- ILoopOnViewsMaxCount = LoopOnViews.InPort( 'MaxCount' , 'int' )
- ILoopOnViewsGate = LoopOnViews.GetInPort( 'Gate' )
- OLoopOnViewsDoLoop = LoopOnViews.GetOutPort( 'DoLoop' )
- OLoopOnViewsaVisu = LoopOnViews.GetOutPort( 'aVisu' )
- OLoopOnViewsaResult = LoopOnViews.GetOutPort( 'aResult' )
- OLoopOnViewsViewCount = LoopOnViews.GetOutPort( 'ViewCount' )
- OLoopOnViewsMinCount = LoopOnViews.GetOutPort( 'MinCount' )
- OLoopOnViewsMaxCount = LoopOnViews.GetOutPort( 'MaxCount' )
- IEndOfLoopOnViewsDoLoop = EndOfLoopOnViews.GetInPort( 'DoLoop' )
- IEndOfLoopOnViewsaVisu = EndOfLoopOnViews.GetInPort( 'aVisu' )
- IEndOfLoopOnViewsaResult = EndOfLoopOnViews.GetInPort( 'aResult' )
- IEndOfLoopOnViewsViewCount = EndOfLoopOnViews.GetInPort( 'ViewCount' )
- IEndOfLoopOnViewsMinCount = EndOfLoopOnViews.GetInPort( 'MinCount' )
- IEndOfLoopOnViewsMaxCount = EndOfLoopOnViews.GetInPort( 'MaxCount' )
- IEndOfLoopOnViewsGate = EndOfLoopOnViews.GetInPort( 'Gate' )
- OEndOfLoopOnViewsDoLoop = EndOfLoopOnViews.GetOutPort( 'DoLoop' )
- OEndOfLoopOnViewsaVisu = EndOfLoopOnViews.GetOutPort( 'aVisu' )
- OEndOfLoopOnViewsaResult = EndOfLoopOnViews.GetOutPort( 'aResult' )
- OEndOfLoopOnViewsViewCount = EndOfLoopOnViews.GetOutPort( 'ViewCount' )
- OEndOfLoopOnViewsMinCount = EndOfLoopOnViews.GetOutPort( 'MinCount' )
- OEndOfLoopOnViewsMaxCount = EndOfLoopOnViews.GetOutPort( 'MaxCount' )
- OEndOfLoopOnViewsGate = EndOfLoopOnViews.GetOutPort( 'Gate' )
- LoopOnViews.SetName( 'LoopOnViews' )
- LoopOnViews.SetAuthor( '' )
- LoopOnViews.SetComment( 'Compute Node' )
- LoopOnViews.Coords( 219 , 218 )
-
- # Creation of Links
- LInitDisplayaVisuLoopOnViewsaVisu = TestVisu20_multi.Link( OInitDisplayaVisu , ILoopOnViewsaVisu )
-
- LInitDisplaymyResultLoopOnViewsaResult = TestVisu20_multi.Link( OInitDisplaymyResult , ILoopOnViewsaResult )
-
- LInitindexEndOfInitindex = TestVisu20_multi.Link( OInitindex , IEndOfInitindex )
-
- LInitindexDisplayVitesseindex = TestVisu20_multi.Link( OInitindex , IDisplayVitesseindex )
- LInitindexDisplayVitesseindex.AddCoord( 1 , 590 , 587 )
- LInitindexDisplayVitesseindex.AddCoord( 2 , 591 , 527 )
-
- LInitminEndOfInitmin = TestVisu20_multi.Link( OInitmin , IEndOfInitmin )
-
- LInitmaxEndOfInitmax = TestVisu20_multi.Link( OInitmax , IEndOfInitmax )
-
- LInitaVisuEndOfInitaVisu = TestVisu20_multi.Link( OInitaVisu , IEndOfInitaVisu )
-
- LInitaVisuDisplayVitesseaVisu = TestVisu20_multi.Link( OInitaVisu , IDisplayVitesseaVisu )
-
- LInitaViewEndOfInitaView = TestVisu20_multi.Link( OInitaView , IEndOfInitaView )
-
- LInitaViewDisplayVitesseaView = TestVisu20_multi.Link( OInitaView , IDisplayVitesseaView )
-
- LInitaResultDisplayVitesseaResult = TestVisu20_multi.Link( OInitaResult , IDisplayVitesseaResult )
-
- LInitx1EndOfInitx1 = TestVisu20_multi.Link( OInitx1 , IEndOfInitx1 )
-
- LInitx1DisplayVitessex1 = TestVisu20_multi.Link( OInitx1 , IDisplayVitessex1 )
-
- LEndOfInitaResultEndOfLoopOnViewsaResult = TestVisu20_multi.Link( OEndOfInitaResult , IEndOfLoopOnViewsaResult )
- LEndOfInitaResultEndOfLoopOnViewsaResult.AddCoord( 1 , 762 , 288 )
- LEndOfInitaResultEndOfLoopOnViewsaResult.AddCoord( 2 , 763 , 424 )
- LEndOfInitaResultEndOfLoopOnViewsaResult.AddCoord( 3 , 972 , 425 )
- LEndOfInitaResultEndOfLoopOnViewsaResult.AddCoord( 4 , 971 , 687 )
-
- LDisplayVitessetheResultEndOfInitaResult = TestVisu20_multi.Link( ODisplayVitessetheResult , IEndOfInitaResult )
- LDisplayVitessetheResultEndOfInitaResult.AddCoord( 1 , 787 , 687 )
- LDisplayVitessetheResultEndOfInitaResult.AddCoord( 2 , 786 , 585 )
-
- LLoopOnViewsaVisuEndOfLoopOnViewsaVisu = TestVisu20_multi.Link( OLoopOnViewsaVisu , IEndOfLoopOnViewsaVisu )
-
- LLoopOnViewsaVisuCreateViewaVisu = TestVisu20_multi.Link( OLoopOnViewsaVisu , ICreateViewaVisu )
- LLoopOnViewsaVisuCreateViewaVisu.AddCoord( 1 , 186 , 643 )
- LLoopOnViewsaVisuCreateViewaVisu.AddCoord( 2 , 186 , 442 )
- LLoopOnViewsaVisuCreateViewaVisu.AddCoord( 3 , 400 , 441 )
- LLoopOnViewsaVisuCreateViewaVisu.AddCoord( 4 , 401 , 251 )
-
- LLoopOnViewsaResultCreateViewaResult = TestVisu20_multi.Link( OLoopOnViewsaResult , ICreateViewaResult )
- LLoopOnViewsaResultCreateViewaResult.AddCoord( 1 , 169 , 671 )
- LLoopOnViewsaResultCreateViewaResult.AddCoord( 2 , 170 , 412 )
- LLoopOnViewsaResultCreateViewaResult.AddCoord( 3 , 386 , 413 )
- LLoopOnViewsaResultCreateViewaResult.AddCoord( 4 , 387 , 280 )
-
- LLoopOnViewsViewCountEndOfLoopOnViewsViewCount = TestVisu20_multi.Link( OLoopOnViewsViewCount , IEndOfLoopOnViewsViewCount )
-
- LLoopOnViewsMinCountEndOfLoopOnViewsMinCount = TestVisu20_multi.Link( OLoopOnViewsMinCount , IEndOfLoopOnViewsMinCount )
-
- LLoopOnViewsMaxCountEndOfLoopOnViewsMaxCount = TestVisu20_multi.Link( OLoopOnViewsMaxCount , IEndOfLoopOnViewsMaxCount )
-
- LCreateViewaViewInitaView = TestVisu20_multi.Link( OCreateViewaView , IInitaView )
-
- LCreateViewtheVisuInitaVisu = TestVisu20_multi.Link( OCreateViewtheVisu , IInitaVisu )
-
- LCreateViewtheResultInitaResult = TestVisu20_multi.Link( OCreateViewtheResult , IInitaResult )
-
- # Input datas
- IInitindex.Input( 1 )
- IInitmin.Input( 1 )
- IInitmax.Input( 10 )
- IInitx1.Input( 1 )
- ILoopOnViewsViewCount.Input( 0 )
- ILoopOnViewsMinCount.Input( 0 )
- ILoopOnViewsMaxCount.Input( 10 )
-
- # Output Ports of the graph
- #OEndOfInitindex = EndOfInit.GetOutPort( 'index' )
- #OEndOfInitmin = EndOfInit.GetOutPort( 'min' )
- #OEndOfInitmax = EndOfInit.GetOutPort( 'max' )
- #OEndOfInitaVisu = EndOfInit.GetOutPort( 'aVisu' )
- #OEndOfInitaView = EndOfInit.GetOutPort( 'aView' )
- #OEndOfInitx1 = EndOfInit.GetOutPort( 'x1' )
- #OEndOfLoopOnViewsaVisu = EndOfLoopOnViews.GetOutPort( 'aVisu' )
- #OEndOfLoopOnViewsaResult = EndOfLoopOnViews.GetOutPort( 'aResult' )
- #OEndOfLoopOnViewsViewCount = EndOfLoopOnViews.GetOutPort( 'ViewCount' )
- #OEndOfLoopOnViewsMinCount = EndOfLoopOnViews.GetOutPort( 'MinCount' )
- #OEndOfLoopOnViewsMaxCount = EndOfLoopOnViews.GetOutPort( 'MaxCount' )
- return TestVisu20_multi
-
-
-TestVisu20_multi = DefTestVisu20_multi()