摘要
结合一个实际的海关联网监管项目,实现了物料清单(BOM)到单损耗表的转换.转换过程采用深度优先算法,在遍历的基础上构造树状BOM结构,并最终按照转换规则生成单损耗表.算法使用面向对象技术,实现了数据的封装,该算法在实际项目中得到了验证.
The conversion between bill of material (BOM) and table for unit consumption is realized in a practical project of custom supervision network. The depth-first search (DFS) algorithm is adopted and the tree structure BOM is formed based on traversal. According to conversion rules, the table of unit consumption is generated. The data is encapsulated by using ob- ject-oriented techniques This algorithm is verified and applied in project.
出处
《河南师范大学学报(自然科学版)》
CAS
CSCD
北大核心
2011年第4期142-145,共4页
Journal of Henan Normal University(Natural Science Edition)
基金
河南省科技厅重点科技攻关项目(112102210342)