zoukankan      html  css  js  c++  java
  • Operators 操作

    该模块完成一些有关图取交集取并集等操作的功能
     
    Unary operations on graphs 一元操作
    complement(G[, name]) Return the graph complement of G. 返回图G的补集
    reverse(G[, copy]) Return the reverse directed graph of G. 反转有向图G
     
    Operations on graphs including union, intersection, difference. 并集、交集、差集
    compose(G, H[, name]) Return a new graph of G composed with H. 返回由H组成的图G
    union(G, H[, rename, name]) Return the union of graphs G and H. 返回图G和H的并集
    disjoint_union(G, H) Return the disjoint union of graphs G and H. 返回图G和H不相交的并集
    intersection(G, H) Return a new graph that contains only the edges that exist in both G and H. 返回图G和H的交集
    difference(G, H) Return a new graph that contains the edges that exist in G but not in H. 返回在G不在H中的边
    symmetric_difference(G, H) Return new graph with edges that exist in either G or H but not both. 返回不同时在G、H中边构成的网络
     
    Operations on many graphs. 多图操作
    compose_all(graphs[, name]) Return the composition of all graphs. 返回所有图的合成
    union_all(graphs[, rename, name]) Return the union of all graphs. 返回所有图的并集
    disjoint_union_all(graphs) Return the disjoint union of all graphs. 返回所有图不相交的并集
    intersection_all(graphs) Return a new graph that contains only the edges that exist in all graphs. 返回所有图的交集
     
    Graph products. 图生成
    cartesian_product(G, H) Return the Cartesian product of G and H. 返回图G和H的笛卡尔集 
    lexicographic_product(G, H) Return the lexicographic product of G and H. 返回图G和H的字典集
    strong_product(G, H) Return the strong product of G and H.
    tensor_product(G, H) Return the tensor product of G and H. 返回图G和H的张量集
    power(G, k) Returns the specified power of a graph. 返回图G的k次幂 
  • 相关阅读:
    mysql命令集锦
    linux 删除文件名带括号的文件
    linux下的cron定时任务
    struts2文件下载的实现
    贴一贴自己写的文件监控代码python
    Service Unavailable on IIS6 Win2003 x64
    'style.cssText' is null or not an object
    "the current fsmo could not be contacted" when change rid role
    远程激活程序
    新浪图片病毒
  • 原文地址:https://www.cnblogs.com/sxbjdl/p/5328075.html
Copyright © 2011-2022 走看看