In file roadmapConstruction.C:

int makeLinkBetweenNodes

( int numNodes, const int n1,
  const int n2, Protein** allNodes,
  ccInfoType* ccInfo)

connects 2 nodes (if they are not already connected), and updates the tree structure arising from the merge.

Documentation

connects 2 nodes (if they are not already connected), and updates the tree structure arising from the merge.

returns the change in the number of trees available in the heap. For example, if two nodes which are part of two existing trees are connected, their respective trees will be merged and thus the number of trees will be diminished by 1, thus the return value is -1.

Alphabetic index



This page was generated with the help of DOC++.