Changes between Version 19 and Version 20 of NetworkDynamicConverterFunctions


Ignore:
Timestamp:
11/12/12 17:38:15 (7 years ago)
Author:
lxwang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NetworkDynamicConverterFunctions

    v19 v20  
    109109   
    110110   
    111   Determine vertex data schema. 
     111  Determine '''vertex data schema'''. 
     112 
    112113  If toggles 
    113     activate all vertices present in base net, assuming onset time of -Inf   
    114     loop through toggles, activating and deactivating vertices at appropriate times. vertices where last toggle is to active given Inf as terminus.  
     114    * activate all vertices present in base net, assuming onset time of -Inf   
     115    * loop through toggles, activating and deactivating vertices at appropriate times. vertices where last toggle is to active given Inf as terminus.  
    115116 
    116117  If changes  
    117     activate all vertices present in base net, assuming onset time of -Inf   
    118     can convert directly to activation, deactivation lists and apply to vertices in a single pass. vertices where last change is to active given Inf as terminus 
     118    * activate all vertices present in base net, assuming onset time of -Inf. 
     119    * can convert directly to activation, deactivation lists and apply to vertices in a single pass. vertices where last change is to active given Inf as terminus 
    119120 
    120121  If spells   
    121     apply activation spells to vertices 
    122    
    123   Determine edge data schema. 
     122    * apply activation spells to vertices 
     123   
     124  Determine '''edge data schema'''. 
    124125 
    125126  If base.net exists, determine if the set of vertex.ids present in the edges data is consistent with it and take action appropriate to construct.mode    
    126127 
    127128  If toggles   
    128     Add all edges present in base.net  
    129     Set initial edge state according to base net, assuming -Inf as onset.  
    130     Add all additional edges implied by toggles   
    131     loop through toggles, activating and deactivating edges at appropriate times. All edges where last state is active given Inf as terminus. (Look at pavel's code to see how he did it.)  
     129    * Add all edges present in base.net  
     130    * Set initial edge state according to base net, assuming -Inf as onset.  
     131    * Add all additional edges implied by toggles   
     132    * loop through toggles, activating and deactivating edges at appropriate times. All edges where last state is active given Inf as terminus. (Look at pavel's code to see how he did it.)  
    132133 
    133134  If changes   
    134     Add all edges present in base.net   
    135     Set initial edge state according to base net, assuming -Inf as onset.   
    136     Add all additional edges implied by toggles   
    137     loop through changes, activating and deactivating edges at appropriate times. All edges where last state is active given Inf as terminus  
     135    * Add all edges present in base.net   
     136    * Set initial edge state according to base net, assuming -Inf as onset.   
     137    * Add all additional edges implied by toggles   
     138    * loop through changes, activating and deactivating edges at appropriate times. All edges where last state is active given Inf as terminus  
    138139 
    139140  If spells