Hello,
After i learned network using SMILE or GeNIe, How i can extract all the edges between all the network's nodes ?
At another words how i store which node connected to another from the Network (in some matrix/text for example)?
Thanks,
Boris
Extract the connections from Network
-
- Site Admin
- Posts: 1457
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Extract the connections from Network
From Smile.NET call Network.GetParents or Network.GetChildren for each node to obtain an array of node handles. GetParentIds and GetChildIds will give you the node identifiers. Use Network.GetAllNodes and Network.GetAllNodeIds to iterate over all nodes in the network.borisrabin wrote:After i learned network using SMILE or GeNIe, How i can extract all the edges between all the network's nodes ?
At another words how i store which node connected to another from the Network (in some matrix/text for example)?