ganalysis.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:android_malware_detection 作者: congyuandong 项目源码 文件源码
def number_of_nodes(self):
        """Return the number of nodes in the graph.

        Returns
        -------
        nnodes : int
            The number of nodes in the graph.

        See Also
        --------
        order, __len__  which are identical

        Examples
        --------
        >>> G = nx.Graph()   # or DiGraph, MultiGraph, MultiDiGraph, etc
        >>> G.add_path([0,1,2])
        >>> len(G)
        3
        """
        return len(self.node)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号