Skip to content

Graph.to_str() 的 shuffle 参数不适用于有根树 #101

@Nanarikom

Description

@Nanarikom

有根树使用 Graph.to_str() 时,如果使用 shuffle=True 参数,会导致根结点被 shuffle 到其它位置,这一操作对于有根树显然是没有任何意义的。为了避开 cyaron 的 shuffle 操作而手写 shuffle 的繁琐程度已经超过了直接用 Cpp 手搓数据。我建议参数应当允许仅 shuffle 点或仅 shuffle 边(或者支持不 shuffle 根节点的功能)。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions