7-algo_for_find_fiber.graphml
7-algo_for_find_fiber.graphml
—
Extensible Markup Language (XML),
19 ko (20383 bytes)
Contenu du fichier
<?xml version="1.0" encoding="UTF-8"?> <graphml xmlns="http://graphml.graphdrawing.org/xmlns/graphml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns/graphml http://www.yworks.com/xml/schema/graphml/1.0/ygraphml.xsd"> <key for="node" id="d0" yfiles.type="nodegraphics"/> <key attr.name="description" attr.type="string" for="node" id="d1"/> <key for="edge" id="d2" yfiles.type="edgegraphics"/> <key attr.name="description" attr.type="string" for="edge" id="d3"/> <key for="graphml" id="d4" yfiles.type="resources"/> <graph edgedefault="directed" id="G" parse.edges="12" parse.nodes="15" parse.order="free"> <node id="n0"> <data key="d0"> <y:ShapeNode> <y:Geometry height="40.0" width="300.0" x="530.0" y="220.0"/> <y:Fill color="#FFCC00" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="25.19921875" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="153.0" x="73.5" y="7.400390625">Start [mat] <bg></y:NodeLabel> <y:Shape type="roundrectangle"/> </y:ShapeNode> </data> <data key="d1"/> </node> <node id="n1"> <data key="d0"> <y:ShapeNode> <y:Geometry height="40.0" width="1200.0" x="280.0" y="20.0"/> <y:Fill color="#FFFF99" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="25" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="33.443359375" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="275.0" x="462.5" y="3.2783203125">7 - Algo for Find Fiber</y:NodeLabel> <y:Shape type="rectangle"/> </y:ShapeNode> </data> <data key="d1"/> </node> <node id="n2"> <data key="d0"> <y:UMLNoteNode> <y:Geometry height="50.0" width="248.0" x="296.0" y="75.0"/> <y:Fill color="#99CC00" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="25.19921875" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="227.0" x="10.5" y="12.400390625">Works on a square Matrix</y:NodeLabel> </y:UMLNoteNode> </data> <data key="d1"/> </node> <node id="n3"> <data key="d0"> <y:ShapeNode> <y:Geometry height="40.0" width="300.0" x="530.0" y="1120.0"/> <y:Fill color="#FFCC00" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="25.19921875" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="43.0" x="128.5" y="7.400390625">Stop</y:NodeLabel> <y:Shape type="roundrectangle"/> </y:ShapeNode> </data> <data key="d1"/> </node> <node id="n4"> <data key="d0"> <y:ShapeNode> <y:Geometry height="80.0" width="300.0" x="530.0" y="780.0"/> <y:Fill color="#FFCC00" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="67.59765625" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="185.0" x="57.5" y="6.201171875">Build Working Matrix [wm1](i,j) = i [wm2](i,j) = j</y:NodeLabel> <y:Shape type="roundrectangle"/> </y:ShapeNode> </data> <data key="d1"/> </node> <node id="n5"> <data key="d0"> <y:ShapeNode> <y:Geometry height="120.0" width="450.0" x="455.0" y="300.0"/> <y:Fill color="#FFCC00" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="109.99609375" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="426.0" x="12.0" y="5.001953125">minimum = min of [mat] set elimination value: elmin = 0 elmax = minvalue+(background-minvalue)*0.15</y:NodeLabel> <y:Shape type="roundrectangle"/> </y:ShapeNode> </data> <data key="d1"/> </node> <node id="n6"> <data key="d0"> <y:ShapeNode> <y:Geometry height="80.0" width="450.0" x="455.0" y="460.0"/> <y:Fill color="#FFCC00" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="67.59765625" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="385.0" x="32.5" y="6.201171875">Replace value under elmin and above elmax by elmax</y:NodeLabel> <y:Shape type="roundrectangle"/> </y:ShapeNode> </data> <data key="d1"/> </node> <node id="n7"> <data key="d0"> <y:ShapeNode> <y:Geometry height="60.0" width="300.0" x="530.0" y="570.0"/> <y:Fill color="#FFCC00" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="46.3984375" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="173.0" x="63.5" y="6.80078125">Inverse the matrix: [mat]=elmax-[mat]</y:NodeLabel> <y:Shape type="roundrectangle"/> </y:ShapeNode> </data> <data key="d1"/> </node> <node id="n8"> <data key="d0"> <y:ShapeNode> <y:Geometry height="90.0" width="260.0" x="550.0" y="675.0"/> <y:Fill color="#FFCC00" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="25.19921875" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="122.0" x="69.0" y="32.400390625">[mat] == null</y:NodeLabel> <y:Shape type="diamond"/> </y:ShapeNode> </data> <data key="d1"/> </node> <node id="n9"> <data key="d0"> <y:ShapeNode> <y:Geometry height="60.0" width="300.0" x="970.0" y="950.0"/> <y:Fill color="#FFCC00" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="46.3984375" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="124.0" x="88.0" y="6.80078125">xin=d.xrefcur yin=d.yrefcur</y:NodeLabel> <y:Shape type="roundrectangle"/> </y:ShapeNode> </data> <data key="d1"/> </node> <node id="n10"> <data key="d0"> <y:ShapeNode> <y:Geometry height="60.0" width="450.0" x="455.0" y="950.0"/> <y:Fill color="#FFCC00" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="46.3984375" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="392.0" x="29.0" y="6.80078125">xin=sum([nmat]*[wm1])/dividande+xstart-1 yin=sum([nmat]*[wm2])/dividande+ystart-1</y:NodeLabel> <y:Shape type="roundrectangle"/> </y:ShapeNode> </data> <data key="d1"/> </node> <node id="n11"> <data key="d0"> <y:ShapeNode> <y:Geometry height="40.0" width="300.0" x="530.0" y="880.0"/> <y:Fill color="#FFCC00" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="25.19921875" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="206.0" x="47.0" y="7.400390625">dividance = sum([mat])</y:NodeLabel> <y:Shape type="roundrectangle"/> </y:ShapeNode> </data> <data key="d1"/> </node> <node id="n12"> <data key="d0"> <y:ShapeNode> <y:Geometry height="40.0" width="300.0" x="530.0" y="1040.0"/> <y:Fill color="#FFCC00" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="25.19921875" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="94.0" x="103.0" y="7.400390625">qcflag = 1</y:NodeLabel> <y:Shape type="roundrectangle"/> </y:ShapeNode> </data> <data key="d1"/> </node> <node id="n13"> <data key="d0"> <y:ShapeNode> <y:Geometry height="40.0" width="300.0" x="970.0" y="1040.0"/> <y:Fill color="#FFCC00" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="25.19921875" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="94.0" x="103.0" y="7.400390625">qcflag = 0</y:NodeLabel> <y:Shape type="roundrectangle"/> </y:ShapeNode> </data> <data key="d1"/> </node> <node id="n14"> <data key="d0"> <y:UMLNoteNode> <y:Geometry height="35.0" width="260.0" x="430.0" y="142.5"/> <y:Fill color="#FF99CC" transparent="false"/> <y:BorderStyle color="#000000" type="line" width="1.0"/> <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="25.19921875" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="191.0" x="34.5" y="4.900390625">algo_for_findfiber.prc</y:NodeLabel> </y:UMLNoteNode> </data> <data key="d1"/> </node> <edge id="e0" source="n8" target="n9"> <data key="d2"> <y:PolyLineEdge> <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> <y:Point x="1120.0" y="720.0"/> </y:Path> <y:LineStyle color="#000000" type="line" width="1.0"/> <y:Arrows source="none" target="standard"/> <y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="4.0" modelName="six_pos" modelPosition="tail" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="4.0" x="157.55517578125" y="2.0"></y:EdgeLabel> <y:BendStyle smoothed="false"/> </y:PolyLineEdge> </data> <data key="d3"/> </edge> <edge id="e1" source="n0" target="n5"> <data key="d2"> <y:PolyLineEdge> <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> <y:LineStyle color="#000000" type="line" width="1.0"/> <y:Arrows source="none" target="standard"/> <y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="4.0" modelName="six_pos" modelPosition="tail" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="4.0" x="2.0" y="17.990234375"></y:EdgeLabel> <y:BendStyle smoothed="false"/> </y:PolyLineEdge> </data> <data key="d3"/> </edge> <edge id="e2" source="n5" target="n6"> <data key="d2"> <y:PolyLineEdge> <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> <y:LineStyle color="#000000" type="line" width="1.0"/> <y:Arrows source="none" target="standard"/> <y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="4.0" modelName="six_pos" modelPosition="tail" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="4.0" x="2.0" y="18.0146484375"></y:EdgeLabel> <y:BendStyle smoothed="false"/> </y:PolyLineEdge> </data> <data key="d3"/> </edge> <edge id="e3" source="n6" target="n7"> <data key="d2"> <y:PolyLineEdge> <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> <y:LineStyle color="#000000" type="line" width="1.0"/> <y:Arrows source="none" target="standard"/> <y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="4.0" modelName="six_pos" modelPosition="tail" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="4.0" x="2.0" y="13.009765625"></y:EdgeLabel> <y:BendStyle smoothed="false"/> </y:PolyLineEdge> </data> <data key="d3"/> </edge> <edge id="e4" source="n7" target="n8"> <data key="d2"> <y:PolyLineEdge> <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> <y:LineStyle color="#000000" type="line" width="1.0"/> <y:Arrows source="none" target="standard"/> <y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="4.0" modelName="six_pos" modelPosition="tail" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="4.0" x="2.0" y="20.529296875"></y:EdgeLabel> <y:BendStyle smoothed="false"/> </y:PolyLineEdge> </data> <data key="d3"/> </edge> <edge id="e5" source="n8" target="n4"> <data key="d2"> <y:PolyLineEdge> <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> <y:LineStyle color="#000000" type="line" width="1.0"/> <y:Arrows source="none" target="standard"/> <y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="4.0" modelName="six_pos" modelPosition="tail" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="4.0" x="2.0" y="5.529296875"></y:EdgeLabel> <y:BendStyle smoothed="false"/> </y:PolyLineEdge> </data> <data key="d3"/> </edge> <edge id="e6" source="n4" target="n11"> <data key="d2"> <y:PolyLineEdge> <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> <y:LineStyle color="#000000" type="line" width="1.0"/> <y:Arrows source="none" target="standard"/> <y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="4.0" modelName="six_pos" modelPosition="tail" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="4.0" x="2.0" y="8.0390625"></y:EdgeLabel> <y:BendStyle smoothed="false"/> </y:PolyLineEdge> </data> <data key="d3"/> </edge> <edge id="e7" source="n11" target="n10"> <data key="d2"> <y:PolyLineEdge> <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> <y:LineStyle color="#000000" type="line" width="1.0"/> <y:Arrows source="none" target="standard"/> <y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="4.0" modelName="six_pos" modelPosition="tail" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="4.0" x="2.0" y="13.0390625"></y:EdgeLabel> <y:BendStyle smoothed="false"/> </y:PolyLineEdge> </data> <data key="d3"/> </edge> <edge id="e8" source="n10" target="n12"> <data key="d2"> <y:PolyLineEdge> <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> <y:LineStyle color="#000000" type="line" width="1.0"/> <y:Arrows source="none" target="standard"/> <y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="4.0" modelName="six_pos" modelPosition="tail" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="4.0" x="2.0" y="13.0390625"></y:EdgeLabel> <y:BendStyle smoothed="false"/> </y:PolyLineEdge> </data> <data key="d3"/> </edge> <edge id="e9" source="n12" target="n3"> <data key="d2"> <y:PolyLineEdge> <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> <y:LineStyle color="#000000" type="line" width="1.0"/> <y:Arrows source="none" target="standard"/> <y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="4.0" modelName="six_pos" modelPosition="tail" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="4.0" x="2.0" y="18.0390625"></y:EdgeLabel> <y:BendStyle smoothed="false"/> </y:PolyLineEdge> </data> <data key="d3"/> </edge> <edge id="e10" source="n13" target="n3"> <data key="d2"> <y:PolyLineEdge> <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> <y:Point x="1120.0" y="1100.0"/> <y:Point x="680.0" y="1100.0"/> </y:Path> <y:LineStyle color="#000000" type="line" width="1.0"/> <y:Arrows source="none" target="standard"/> <y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="4.0" modelName="six_pos" modelPosition="tail" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="4.0" x="-222.0" y="22.0390625"></y:EdgeLabel> <y:BendStyle smoothed="false"/> </y:PolyLineEdge> </data> <data key="d3"/> </edge> <edge id="e11" source="n9" target="n13"> <data key="d2"> <y:PolyLineEdge> <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> <y:LineStyle color="#000000" type="line" width="1.0"/> <y:Arrows source="none" target="standard"/> <y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="4.0" modelName="six_pos" modelPosition="tail" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="4.0" x="2.0" y="13.0390625"></y:EdgeLabel> <y:BendStyle smoothed="false"/> </y:PolyLineEdge> </data> <data key="d3"/> </edge> </graph> <data key="d4"> <y:Resources/> </data> </graphml>