igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iGraph] How to get a edge selector to select edges between any two ver


From: ketan bhardwaj
Subject: [iGraph] How to get a edge selector to select edges between any two vertices of a graph ?
Date: Fri, 12 Jun 2009 14:27:34 +0530

Hello all,
 
i am a newbee ... but the question is clear in the subject itself !
The function igraph_es_fromto() has not been implemented as per the document.
 
As far as i can think, it should be done in this way :
 
if (to == from)
break;
 
edge_selector_temp1 = all edges going out from "from"
edge_selector_temp2 = all edges coming into the "to"
 
      for each edge in edge_selector_temp1 get destination vertex "from_temp" 
                     get all vertices coming in to the "to" ... to_temp
     if(to_temp == from temp)
          add edge in to the returning edge selection
    else
  continue
                  
Please provide your feed back !
Thanks in advance.
 
regards
Ketan Bhardwaj

--
To get a comprehensive view of my work Please visit http://ketanbj.googlepages.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]