作者ric2k1 (Ric)
看板EE_DSnP
标题Re: [问题] 有点好奇
时间Mon May 25 15:35:26 2009
※ 引述《BBCallR (小白)》之铭言:
: 为什麽要特地分pilist跟polist?
通常 poList 可以让你从它开始 recursively 做 DFS traversal.
而 piList is necessary for simulation functions (or something like that).
: 那这样所有的gate是不是都要有个list?(e.g. andlist)
: 还是其他的gate都放在一个totallist里?
This depends on your application. You can also choose NOT to store the
totalList ==> every time you need to go through all the gates, just call
the DFS traversal.
It's rare to store each type of gates in an individual list because we
rarely need to go through the gates of the same types. Anyway, if you think
it is needed, please go ahead.
: 要是都叫一个list出来存那data member不是多爆吗?
Yes, so maybe just have the piList, poList, and totalList...
: 请教授解惑
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.21.241