[Pipet Devel] Re: [Pipet Devel] Re: overflow<->loci translation and 3 basic gui objects

Jean-Marc Valin jean-marc.valin at hermes.usherb.ca
Tue Mar 28 00:29:32 EST 2000


> So, in Overflow, 'document' can be replaced with 'node', no?

No. You're confusing two things here: in C we's say "function call" vs "function
implementation". The <Node> tag refers to a function call (a node
instantiation), while the <Network> or <Document> can be viewed as a function
implementation (node definition) from other nodes. 


> 
> <?xml version="1.0"?>
> <Node>
>   <Network type="subnet" name="MAIN">
>     <Node name="node1" type="Constant" x="-294.000000" y="101.000000">
>       <Parameter name="VALUE" type="subnet_param" value="IN"/>
>     </Node>
>     <Node name="node5" type="MAIN_LOOP" x="-26.000000" y="108.000000">
>       <Parameter name="FRAME_SIZE" type="int" value="256"/>
>     </Node>
>     <Node name="node2" type="ExecStream" x="-165.000000" y="98.000000">
>       <Parameter name="COMMAND" type="string" value="cat"/>
>     </Node>
>     <Node name="node6" type="Constant" x="-162.000000" y="186.000000">
>       <Parameter name="VALUE" type="string" value="frames"/>
>     </Node>
>     <Node name="node8" type="OutputStream" x="43.000000" y="190.000000"/>
>     <Node name="node9" type="Save" x="243.000000" y="119.000000"/>
>     <Link from="node2" output="OUTPUT" to="node5" input="INPUT"/>
>     <Link from="node1" output="VALUE" to="node2" input="INPUT"/>
>     <Link from="node6" output="VALUE" to="node8" input="INPUT"/>
>     <Link from="node5" output="TRAIN_IN" to="node9" input="OBJECT"/>
>     <Link from="node8" output="OUTPUT" to="node9" input="STREAM"/>
>     <NetOutput name="OUTPUT" node="node9" terminal="OUTPUT"/>
>   </Network>
>   <Network type="iterator" name="MAIN_LOOP">
>     <Node name="node1" type="AudioStream" x="-526.000000" y="93.000000">
>       <Parameter name="LENGTH" type="subnet_param" value="FRAME_SIZE"/>
>       <Parameter name="ENCODING" type="string" value="LIN16"/>
>       <Parameter name="STREAM_TYPE" type="string" value="FILE"/>
>     </Node>
>     <Node name="node2" type="NotDone" x="-344.000000" y="45.000000"/>
>     <Node name="node10" type="FrameAccumulator" x="-336.000000"
> y="131.000000">
>       <Parameter name="LENGTH" type="int" value="256"/>
>       <Parameter name="CACHEALL" type="int" value="1"/>
>     </Node>
>     <Link from="node1" output="OUTPUT" to="node2" input="INPUT"/>
>     <Link from="node1" output="OUTPUT" to="node10" input="INPUT"/>
>     <NetInput name="INPUT" node="node1" terminal="INPUT"/>
>     <NetCondition name="CONDITION" node="node2" terminal="OUTPUT"/>
>     <NetOutput name="TRAIN_IN" node="node10" terminal="OUTPUT"/>
>   </Network>
>   <Parameter name="IN" type="string" value="/data/ntt/french/*/*"/>
> </Node>
> 
> Why not?
> 
> Jeff
> --
>                       +----------------------------------+
>                       |           J.W. Bizzaro           |
>                       |                                  |
>                       | http://bioinformatics.org/~jeff/ |
>                       |                                  |
>                       |        BIOINFORMATICS.ORG        |
>                       |           The Open Lab           |
>                       |                                  |
>                       |    http://bioinformatics.org/    |
>                       +----------------------------------+
> 
> _______________________________________________
> pipet-devel maillist  -  pipet-devel at bioinformatics.org
> http://bioinformatics.org/mailman/listinfo/pipet-devel

-- 
Jean-Marc Valin
Universite de Sherbrooke - Genie Electrique
valj01 at gel.usherb.ca




More information about the Pipet-Devel mailing list