枚举算法是我们在日常中使用到的最多的一个算法,它的核心思想就是:枚举所有的可能。 枚举法的本质就是从所有候选答案中去搜索正确的解,使用该算法需要满足两个条件:(1)可预先确定候选答案的数量;(2)候选答案的范围在求解之前必须有一个确定的集合。
在理论方面,提出了一个上下文无关语言句子枚举算法。
In theory, an algorithm of enumerating sentences of CFG is presented.
算例证明该算法的求解质量好于目前该领域常用的隐枚举算法。
An illustration of the method showed that the solution quality by the HGA is better than that by Implicit Enumeration most in use.
算例证明,该算法的求解质量优于目前该领域常用的隐枚举算法。
An illustration of the method shows that the solution quality by the HGA is better than that by Implicit Enumeration most in use.
应用推荐