Changeset 3b02b04 for src/dgp/sgraph.cc
- Timestamp:
- 01/17/13 20:50:41 (12 years ago)
- Branches:
- master
- Children:
- d2f119e
- Parents:
- 555c7f8
- git-author:
- Tomasz Obrebski <to@…> (01/17/13 20:50:41)
- git-committer:
- Tomasz Obrebski <to@…> (01/17/13 20:50:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/dgp/sgraph.cc
ra15e59b r3b02b04 28 28 newnode.in_LH=true; 29 29 30 newnode.edge.push_back(lastnodeind()); 31 30 32 return lastnodeind(); 31 33 } … … 55 57 SNode &newnode=makenewnode(); 56 58 SNode &ancnode = nodes[ancind]; 57 58 59 59 60 60 newnode.prop=newprop; … … 178 178 179 179 buf+=sprint_node(buf,n,anc,HEADS|DEPS|SETS|CONSTRAINTS); 180 181 buf+=sprintf(buf,"/"); 182 for(vector<int>::iterator e = nodes[n].edge.begin(); e != nodes[n].edge.end(); e++ ) 183 buf += sprintf(buf,"%d ", *e); 184 180 185 buf+=sprintf(buf,"\n"); 181 186 return buf-buf0;
Note: See TracChangeset
for help on using the changeset viewer.