Code metrics are a way to mathematically calculate the complexity of code.
代码度量是一种计算代码复杂度的数学方法。
Furthermore, geometrical uniformity of STC is utilized to reduce the complexity of code search greatly.
另外,证明了空时码的几何一致性并使用该特性大大地减少了空时码搜索的复杂度。
Code generation: Where some complexity of code is unavoidable it may be possible to use code generation techniques.
代码生成:在无法避免代码复杂性的地方,可以使用代码生成技术。
Therefore, for simple branching programs, the length of time, the complexity the code, is what we would call constant.
因此,对于简单的分支程序,运行的时间长度,算法的复杂度,也就是我们说的常数。
Again, I want you to start seeing how to map the characteristics of the code- the characteristics of the algorithm, let's not call it the code-- to the complexity.
是算法中的那些特性,我们还是别说代码了,转化为复杂度-,我一会儿还会再讲点儿这个的,但是我们再看一个例子。
Remember last time, I said that there's different kinds of complexity in our code, and I suggested for simple branching programs, the amount of time it takes to run that program is, in essence, bounded by the number of instructions, because you only execute each instruction at most once.
但是这里有个很重要的点,记得上节课,我提过在我们的代码中,有不同种类的复杂度,而且我还说了对于简单的分支程序,运行这种程序需要的总体时间,大体上,是和指令的数目相关的,因为每个指令只会被执行最多一次。
应用推荐