⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kbasic_tables.tgffopt

📁 TGFF省城程序
💻 TGFFOPT
字号:
#---------------------------------------------# General example#---------------------------------------------# This example demonstrates basic table generation.  Specifically, it# demonstrates how tables generated for tasks are different from tables# generated for arcs.# Basic definitionsperiod_mul 1task_degree 2 2tg_cnt 1task_cnt 20 1#---------------------------------------------# Set number of types for tasks and arcs#---------------------------------------------# Sets the number of task typestask_type_cnt 8# Sets the number of arc typestrans_type_cnt 4#---------------------------------------------# Define tables (NOTE: this table is for arcs)#---------------------------------------------# Number of tablestable_cnt 1# Label the tabletable_label COMMUN_QUANT# Set attributes specifically for the table (none in this case)table_attrib# Set attributes for each arc typetype_attrib quantity 10 6 1 1#--------------------------------------------# WRITE table to .tgff file#--------------------------------------------# Note a trans_write creates one type entry for each ARC typetrans_write#--------------------------------------------# WRITE graph to output files#--------------------------------------------tg_write     # .tgffeps_write    # .epsvcg_write    # .vcg#---------------------------------------------# Define tables (NOTE: this table is for tasks)#---------------------------------------------table_cnt 3table_label CORE# Set attributes specifically for the table (price and area)table_attrib price 100 30, \	area 0.25 0.1 1 0# Set attributes for each arc typetype_attrib cycles 1600 -1500 0.5 1#--------------------------------------------# WRITE table to .tgff file#--------------------------------------------# Note a pe_write creates one type entry for each TASK typepe_write#---------------------------------------------# Define additional tables#   NOTES: These tables are also for tasks#          You must WRITE the previous tables to the .tgff file before#              defining new tables or else the old definition will be ignored#---------------------------------------------table_cnt 3table_label ASIC# This allows you to continue naming tables sequentially even when# the table label and information changestable_offset ASIC 3table_attrib price 100 30, \	area 0.25 0.1 1 0# Note: a valid field has been added to this tabletype_attrib valid 0.75 0.35 1 1, \	cycles 1600 -1500 0.5 1pe_write

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -