Changes between Version 32 and Version 33 of NetworkDynamicConverterFunctions


Ignore:
Timestamp:
01/14/13 21:47:35 (7 years ago)
Author:
lxwang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NetworkDynamicConverterFunctions

    v32 v33  
    190190==== Proposed vertex.pid behavior ==== 
    191191 
    192 How to handle alpha ids and convert them in a stable way to vertex.ids .  See pid spec: PersistentIdProposal 
     192  How to handle alpha ids and convert them in a stable way to vertex.ids .  See pid spec: PersistentIdProposal 
    193193 
    194194==== Proposed "expand" construction.mode ==== 
    195195 
    196 If vertex.ids appear in edge records which are outside the range implied by the known network size, add them to the network, including implied vertices.  i.e if network size if 5, and an id of 8 is found, add add vertices 6,7 and 8. Activate vertices whenever incident edges are active.  
     196  If vertex.ids appear in edge records which are outside the range implied by the known network size, add them to the network, including implied vertices.  i.e if network size if 5, and an id of 8 is found, add add vertices 6,7 and 8. Activate vertices whenever incident edges are active.  
    197197 
    198198== Exporting from nD == 
    199199  
    200 (maybe only keep an "as.data.frame" function aliased to most common use case? ).  All of these methods should handle censoring. Check the soon-to-be-added {{{net.obs.period}}} attribute #155 (if present) and set all onset.censored spells (-Inf) to value of start, and terminus-censored spells (Inf) to value of end. (discussion on #149) 
    201  
    202  
    203  get.vertex.activity(nD, v=1:network.size(x),as.spellList=FALSE):: currently this returns a list of spell matrices, one for each v specified.  Add argument to return same info as a single spell matrix [onset.terminus,vertex.id].  Sort order by onset,terminus,vertex.id? Include attributes? 
    204  
    205  get.edge.activity(networkDynamic,as.spellList=FALSE):: currently this returns a list of spell matrices.  Add "start" and "end" arguments for specifying censoring. Add argument to return same info as a single spell matrix [onset,terminus,tail,head,left.censored, right.censored, duration, edge.id]. Sort order by onset,terminus,tail,head,eid?.  
    206  
    207  get.slice.networks(networkDynamic, start=min(get.change.times(networkDynamic),end=max(get.change.times(networkDynamic),time.step=1,duration=1, rule="any"):: return a list with a series of networks produced by network.extract.  Allow specifying a series of onsets, termini  instead of / in addition to  start,step,duration,end ? 
    208  
    209 don't include export toggle methods unless we have a use case.  
     200 get.vertex.activity(nD, v=1:network.size(x),as.spellList=FALSE):: currently this returns a list of spell matrices, one for each v specified.  Add argument as.spellList to return same info as a single spell matrix [onset,terminus,vertex.id].  Sort order by onset,terminus,vertex.id. Should we include attributes? 
     201 
     202 get.edge.activity(networkDynamic,as.spellList=FALSE):: currently this returns a list of spell matrices.  Add "start" and "end" arguments for specifying censoring. Add argument to return same info as a single spell matrix [onset,terminus,tail,head,onset.censored, terminus.censored, duration, edge.id]. Sort order by onset,terminus,tail,head?.  
     203 
     204 as.data.frame() function aliased to return a list of edge spells in the form [onset,terminus,tail,head,onset.censored, terminus.censored, duration, edge.id] for the whole networkDynamic object.   
     205 
     206 All of these methods should handle censoring. Check the soon-to-be-added {{{net.obs.period}}} attribute #155 (if present) and set all onset.censored spells (-Inf) to value of start, and terminus-censored spells (Inf) to value of end. (discussion on #149) 
     207 
     208 
     209 TO DO, get.slice.networks(networkDynamic, start=min(get.change.times(networkDynamic),end=max(get.change.times(networkDynamic),time.step=1,duration=1, rule="any"):: return a list with a series of networks produced by network.extract.  Allow specifying a series of onsets, termini  instead of / in addition to  start,step,duration,end ? 
     210 
     211 don't include export toggle methods unless we have a use case.  
    210212 
    211213 
     
    253255=== toggles: start network + edge toggles === 
    254256{{{[ onset, terminus, tail, head, onset.censored, terminus.censored, duration, edge.id}}} 
    255 what about vertex dynamics? 
     257what about vertex dynamics?   DONE 
    256258 
    257259=== changes: edge toggles with times and direction === 
    258 likes toggles, but also includes a column indicating if edge was formed or dissolved. Activate = 1, deactivate = 0. 
     260likes toggles, but also includes a column indicating if edge was formed or dissolved. Activate = 1, deactivate = 0. DONE 
    259261 
    260262=== spell matrix: arrays of spells === 
    261 possibly two arrays, one for edges and one for vertices 
     263possibly two arrays, one for edges and one for vertices. DONE 
    262264 
    263265=== list of networks === 
    264 each network is one wave in discrete time 
     266each network is one panel in discrete time. DONE 
    265267possible subtypes, list of matrices, or sna style graph stack 
    266268