Changeset 3b02b04 for src/dgp/sgraph.cc


Ignore:
Timestamp:
01/17/13 20:50:41 (12 years ago)
Author:
Tomasz Obrebski <to@…>
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)
Message:

prawie ca�kiem nowe dgc, du�e zmiany w dgp, pomniejsze poprawki

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/dgp/sgraph.cc

    ra15e59b r3b02b04  
    2828  newnode.in_LH=true; 
    2929 
     30  newnode.edge.push_back(lastnodeind()); 
     31 
    3032  return lastnodeind(); 
    3133} 
     
    5557  SNode &newnode=makenewnode(); 
    5658  SNode &ancnode = nodes[ancind]; 
    57  
    58  
    5959 
    6060  newnode.prop=newprop; 
     
    178178 
    179179  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 
    180185  buf+=sprintf(buf,"\n"); 
    181186  return buf-buf0; 
Note: See TracChangeset for help on using the changeset viewer.