-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
望加强图生成部分 #13
Labels
Comments
随机询问的话,自己randint基本就可以了吧 |
好的,但是如果题目例如说“询问的两个节点必须在同一个联通快内”好像比较麻烦。。。 |
好像不存在这个feature的样子 |
@fjzzq2002 |
用个并查集什么的,当剩余边数等于并查集数量的时候,只允许连接在两个不同并查集中的节点(否则重新rand),应该不是很难写吧QAQ |
还有DAG。。qwq好多算法都不能用啊 |
。。。 |
现在可以生成无权图了(其实就是原来要手写的输出函数现在内置了一个) |
emmm那很好啊
…Sent from my iPhone
On 17 Jan 2018, at 21:36, WAAutoMaton ***@***.***> wrote:
现在可以生成无权图了(其实就是原来要手写的输出函数现在内置了一个)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
我已经实现了 DAG,等有空我把测试写完之后我发一个 PR。 |
关于有向图的环,我可能还要再思考一下 |
Merged
铜球连通图。。一稀疏了就不联通了。。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以做无权图(虽然现在可以做但是必须手写函数)、DAG图吗?还有重边、自环的控制,望加强。如果还有基环图、仙人掌图,就更好了~
=D
另:有随机询问生成器吗。。。
The text was updated successfully, but these errors were encountered: