📄 sp_simple.tgffopt
字号:
#---------------------------------------------# Another cool way to use series-parallel# TG generation to create arbitrary graphs#---------------------------------------------# Play with:#------------# task_cnt# start_node# series_global_xover ## To see how these three values can be used to obtain arbitrary graphs# feel free to change the corresponding values.#------------# Basic definitionsseed 1period_mul 1tg_cnt 1# Note, this only sets lower bound for number of taskstask_cnt 25 1#---------------------------------------------# New options#---------------------------------------------# Turn on series-parallel graph generation# (Graph is recursively generated as long as the lower bound on the # number of tasks isn't met)gen_series_parallel# Sets the average number of chains to 5 (+/- 0)series_wid 5 0# Sets the average chains length to 5 (+/- 0)series_len 5 0# This allows chains to not rejoin with probability 0series_must_rejoin 0series_subgraph_fork_out 0# Multiple start nodes (note this is equal to the total number)prob_multi_start_nodes 0start_node 1 0# All links between nodes are made with global linksseries_global_xover 0#-------------------------------------------------# Output commands#-------------------------------------------------tg_writeeps_writevcg_writetable_label COMMUNtable_cnt 3table_offset COMMUN 12table_attrib price 80 20type_attrib exec_time 50 20trans_write
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -