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次幂 
  • 相关阅读:
    2008年10月小记(SQL删除重复记录,生成表结构,字符串特性,statistics io)
    mysql 中 @
    使用单个innodb表,实现锁,防止游戏被刷物品或者其它资源!
    PSL
    8年PHP,懂点内核, 能写PHP扩展,5年网站经历+3年webgame经历,找个兼职
    Php aes算法
    MySQL触发器自动更新memcache
    怎么配置MySQL服务器(Incorrect string value)
    使用 PHP 将 XML 转化为易读的数组!
    使用Valgrind 查找内存泄露
  • 原文地址:https://www.cnblogs.com/sxbjdl/p/5328075.html
Copyright © 2011-2022 走看看