Skip to content

Conversation

@marscheng1
Copy link

封装数据生成的分组。将多组数据,多测试点,类似 m n 此类变量的生成封装起来,此时用户仅需输入 subtask 组数、数据组数、单个测试点内数据数、变量间关系、变量极值等参数便可自动生成足够强的元数据,然后用户便只需要使用其他方法生成数据中的数列、图、树等结构。这在面对数据量要求较多时十分有用。

@Mr-Python-in-China Mr-Python-in-China linked an issue Sep 29, 2024 that may be closed by this pull request
@Mr-Python-in-China
Copy link
Collaborator

Mr-Python-in-China commented Sep 29, 2024

总感觉现在参数的格式有点怪,换个方向排列会不会好一点?

Data( "test", [ [ 4, ['n','m','k'], [("MIN", 1), ("MAX", 100), ("MMIN", 0), ("MMAX", 1000)], [["MIN", "=", "k", "=", "n", "MAX"], ["MMIN", "=", "m", "=", "MMAX"]] ], [ 16, ['n','m','k'], [("MIN", 100), ("MAX", 1000), ("MMIN", 1000), ("MMAX", 1000000)], [["MIN", "=", "k", "=", "n", "MAX"], ["MMIN", "=", "m", "=", "MMAX"]] ], ] )
@Mr-Python-in-China Mr-Python-in-China force-pushed the master branch 4 times, most recently from d4744b3 to 2727298 Compare October 4, 2024 05:42
@Mr-Python-in-China Mr-Python-in-China force-pushed the master branch 3 times, most recently from 2f520f5 to 7056a5a Compare June 30, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants