Description of the network object and attributes. This is a test to include the comments from the code.
nada
| Parameters: |
|
|---|---|
| Returns: | returns the object intialized. |
| Example : | (followed by a blank line) |
List of nodes. Each node is an object of node class. (list)
Total number of nodes in the network. (int)
List of clusters. Each cluster is an object of cluster class. (list)
Total number of clusters detected in the network
List of components. Each component is an object of cluster class. (list)
Total number of components in the network
Total number of links. Degree of the network. (int)
Maximum number of links of a node. Maximum degree of a node. (int)
Total number of links out of nodes if the network is directed. (int)
Total number of links in of nodes if the network is directed. (int)
Total weight of nodes if they are weighted. (int)
Dictionary of with labels and indexes of nodes. (dict[str]=int)
True if the links are directed. (bool)
True if it has the properties of a Conformational Space Network, or kinetic network.
Name of input file with the network. (str)
Name of input file with labels network. (str)
See also
blabla
Nodes are represented by objects with the common attributes of class node:
Label of node. (str)
Dictionary of links with index of the destination node as key, and weight of link as value. (dict[int]=float)
Degree or number of links of node. (int)
Degree or number of links out of this node. If the network is directed. (int)
Degree or number of links in this node. If the network is directed. (int)
Weight of node. If the network is weighted. (float)
Index of cluster to which the node belongs.
Index of component to which the node belongs.
List of coordinates of this node for a graphical representation. (list[float])
Color of node in a graphical representation. (str,int,float...)
Size of network in a graphical representation. (int, float)
Clusters are represented by objects with the common attributes of class cluster:
Number of nodes in the cluster. (int)
List of indexes of nodes which belong to the cluster. (list[int])
Total weight of cluster if the nodes are weighted. (int)
Label of the cluster. Label of the most weighted node in the cluster -if the network is weighted-. (str)
Dictionary of links with the index of the destination cluster as key, and its weight as value. (dict[int]=float)
Degree or number of links of the cluster. (int)
Degree or number of links out of the cluster if the network is directed. (int)
Degree or number of links in the cluster if the network is directed. (int)
Components are represented by objects with the common attributes of a cluster:
Number of nodes in the component. (int)
List of indexes of nodes which belong to the component. (list[int])
Total weight of component if the nodes are weighted. (int)
Label of the component. Label of the most weighted node in the component -if the network is weighted-. (str)