数论complete josuke graph

Invariant and Equivariant Graph Networks

Maron H., Ben-Hamu H., Shamir N. and Lipman Y. Invariant and equivariant graph networks. ICLR, 2019. 概 有些时候, 我们希望网络具有: 不变性 (Invariant): $$ f(PX) = f(X ......
Equivariant Invariant Networks Graph and

图(Graph)与图论

听到图这个字,很多人会联想到图片、折线图、设计图等传统的图,今天要聊的图(Graph)是一种基本研究对象,用于表示实体与实体之间的关系。 先说结论: 图论:是组合数学分支,是主要研究图的学问,起源于柯尼斯堡七桥问题。 图(数学):是用于表示物体与物体之间存在某种关系的结构。数学抽象后的“物体”称作节 ......
Graph

题解:【CF235D】Graph Game

题目链接 根据期望的线性性,一次操作使得接下来要递归处理 $|G|$ 个点,将这些贡献分摊到 $|G|$ 个点上,这样我们接下来只需要计算概率。 首先考虑如果是树怎么做。操作等价于随机一个排列,顺次删掉排列中的点,并求出删掉当前点之前其所处的连通块的大小。记当前 $x$ 为点分治中心,点对 $(x, ......
题解 Graph 235D Game 235

Graph Travarsal All In One

Graph traversal All In One 图遍历 js / ts demos --> (🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章! refs ©xgqfrms 20 ......
Travarsal Graph All One In

Layer-Dependent Importance Sampling for Training Deep and Large Graph Convolutional Networks

Zou D., Hu Z., Wang Y., Jiang S., Sun Y. and Gu Q. Layer-dependent importance sampling for training deep and large graph convolutional networks. NIPS, ......

Codeforces Round 550 (Div. 3) F. Graph Without Long Directed Paths(dfs/染色)

https://codeforces.com/contest/1144/problem/F 题目大意: 给定n个点,m条边; 每一条边都连接了两个点。 现在需要我们染色,要求是做到所有有向图不包含长度为2或者更长的路径。 input 6 5 1 5 2 1 1 4 3 1 6 1 output YE ......
Codeforces Directed Without Round Graph

Heterogeneous Graph Attention Network

Wang X., Ji H., Shi C., Wang B., Cui P., Yu P. and Ye Y. Heterogeneous graph attention network. WWW, 2019. 概 Attention + 异构图. 符号说明 $\mathcal{G} = (\ma ......
Heterogeneous Attention Network Graph

Heterogeneous Deep Graph Infomax

Ren Y., Liu B., Huang C., Dai P., Bo L. and Zhang J. Heterogeneous deep graph infomax. arXiv preprint arXiv:1911.08538, 2019. 概 本文介绍了异构图的一种无监督学习方法. 这里 ......
Heterogeneous Infomax Graph Deep

OI 数论中的上界估计与时间复杂度证明

预备 0.1 渐进符号 其实不少高等数学 / 数学分析教材在讲解无穷小的比较时已经相当严谨地介绍过大 O、小 O 记号,然而各种历史习惯记法的符号滥用(abuse of notation)[1] 直到现在都让笔者头疼. These notations seem to be innocent, but ......
数论 上界 复杂度 时间 OI

洛谷P1249最大乘积,数论找规律

最大乘积 题目描述 一个正整数一般可以分为几个互不相同的自然数的和,如 $3=1+2$,$4=1+3$,$5=1+4=2+3$,$6=1+5=2+4$。 现在你的任务是将指定的正整数 $n$ 分解成若干个互不相同的自然数的和,且使这些自然数的乘积最大。 输入格式 只一个正整数 $n$,($3 \le ......
数论 乘积 规律 P1249 1249

sagemath初等数论

SageMath是一个覆盖许多数学功能的应用软件,包括代数、组合数学、图论、计算数学、数论、微积分和统计。 安装sagemath(ubuntu) sudo apt install sagemath 在命令行输入sage启动sagemath 输入tutorial或manual()打开离线文档 素数测试 ......
数论 sagemath

AtCoder Regular Contest 105 E Keep Graph Disconnected

洛谷传送门 AtCoder 传送门 显然终止态是只剩两个连通块,一个包含 $1$ 另一个包含 $n$,并且两个连通块内的边数均为 $\frac{sz(sz-1)}{2}$。 如果只在连通块内连边,那么能连的边的总数是 $\frac{n(n-1)}{2} - \sum\limits_{i=1}^{cn ......
Disconnected AtCoder Regular Contest Graph

Multi-View Attribute Graph Convolution Networks for Clustering

论文阅读04-Multi-View Attribute Graph Convolution Networks for Clustering:MAGCN 论文信息 论文地址:Multi-View Attribute Graph Convolution Networks for Clustering | ......

Deep graph clustering with enhanced feature representations for community detection

论文阅读03-EFR-DGC:Enhanced Feature Representations for Deep Graph Clustering 论文信息 论文地址:Deep graph clustering with enhanced feature representations for co ......

Attributed Graph Clustering |A Deep Attentional Embedding Approach

论文阅读01-Attributed Graph Clustering: A Deep Attentional Embedding Approach 1. 创新点idea Two-step的图嵌入方法不是目标导向的,聚类效果不好,提出一种基于目标导向的属性图聚类框架。 所谓目标导向,就是说特征提取和聚 ......

FastGCN Fast Learning with Graph Convolutional Networks via Importance Sampling

Chen J., Ma T. and Xiao C. FastGCN: fast learning with graph convolutional networks via importance sampling. ICLR, 2018. 概 一般的 GCN 每层通常需要经过所有的结点的 prop ......

Deeper Insights into Graph Convolutional Networks for Semi-Supervised Learning

Li Q., Han Z. and Wu X. Deeper insights into graph convolutional networks for semi-supervised learning. AAAI, 2018. 概 本文分析了 GCN 的实际上就是一种 Smoothing, 但是 ......

从零开始的数论

同余 定义不多说了,$a\equiv b\pmod m$。 性质 若 $a\equiv b,c\equiv d$,则: $a+c\equiv b+d$ $a-c\equiv b-d$ $a\cdot c\equiv b\cdot d$ 常用的等价形式为,取模运算关于加法和乘法可以拆分运算。 线性同余 ......
数论

Stochastic Training of Graph Convolutional Networks with Variance Reduction

Chen J., Zhu J. and Song L. Stochastic training of graph convolutional networks with variance reduction. ICML, 2018. 概 我们都知道, GCN 虽然形式简单, 但是对于结点个数非常多的 ......

Shortest Cycle in a Graph

Shortest Cycle in a Graph There is a bi-directional graph with n vertices, where each vertex is labeled from 0 to n - 1. The edges in the graph are re ......
Shortest Cycle Graph in

【Azure Developer】使用 Microsoft Graph API 获取 AAD User 操作示例

问题描述 查看官方文档“ Get a user ” , 产生了一个操作示例的想法,在中国区Azure环境中,演示如何获取AAD User信息。 问题解答 使用Microsoft Graph API,演示如何获取AAD User信息,因参考文档是针对Global Azure,所以文档种的URL为: / ......
示例 Developer Microsoft Azure Graph

Graphs with Python: Overview and Best Libraries

Graphs with Python: Overview and Best Libraries Graph analysis, interactive visualizations, and graph machine learning A graph is a relatively old mat ......
Libraries Overview Graphs Python Best

数论中的基本定义与符号

参考:https://www.cnblogs.com/alex-wei/p/Number_Theory.html ......
数论 符号

数论基础

高精度 高精度加法 vector<int> add(vector<int> &a, vector<int> &b) { vector<int> c; int t = 0; // 代表进位 for (int i = 0; i < a.size() || i < b.size(); ++i) { if ......
数论 基础

Codeforces Round 677 (Div. 3) E. Two Round Dances(数论)

https://codeforces.com/contest/1433/problem/E 题目大意: n个人(n是偶数)跳了两轮舞,每轮舞正好有n/2个人。你的任务是找出n个人跳两轮舞的方法,如果每轮舞正好由n/2个人组成。每个人都应该属于这两种圆舞中的一种。 人相同位置不同也算是同一种方案。 i ......
数论 Round Codeforces Dances 677

数论

@(数论板块笔记上blog) 1.exgcd 函数代码: long long exgcd(long long a,long long b,long long&x,long long &y){ if(b==0){ x=1,y=0; return a; } long long d=exgcd(b,a%b ......
数论

C# System.lnvalidOperationException:"A second operation started on this context before a previousoperation completed. This is usually caused by different threads using the same instance...

项目中使用了依赖注入,这个错误在我项目中的原因:在async修饰的异步方法中,调用执行数据库操作的方法时,没有使用await关键字调用,因为没有等待该调用,所以在调用完成之前将继续执行该方法。因此,已处理了注入的依赖项。 ......

D A Wide, Wide Graph

#include<iostream> #include<algorithm> #include<string.h> using namespace std; typedef long long ll; const int N=1e5+10; int n; int h[N],e[N*2],ne[N*2 ......
Wide Graph

数论第二章——同余式

剩余类与完全剩余系 剩余类 定义: $C_r$:形如$qm+r$的所有整数组成的集合 $C_0,C_1,...,C_(m-1)$:模数$m$的剩余类 完全剩余系 定义: 1.从剩余类的每类中各取一个数,组成的$m$个数称为模数$m$的一组完全剩余系。 证明……是一组完全剩余系/通过完全剩余系:两两对 ......
同余式 数论 第二章

Graph Neural Networks for Link Prediction with Subgraph Sketching

Chamberlain B. P., Shirobokov S., Rossi E., Frasca F., Markovich T., Hammerla N., Bronstein M. M. Hansmire M. Graph neural networks for link predictio ......