Gulwani Sumit,Singh Rishabh,Rouhana Dany,Zorn Benjamin G.,Zhong Weide
申请号:
US201213487266
公开号:
US9552335(B2)
申请日:
2012.06.04
申请国别(地区):
美国
年份:
2017
代理人:
Wight Steve`Swain Sandy`Minhas Micky
摘要:
A program creation system is described which generates sets of subprograms for respective input-output examples. The program creation system then groups the sets into partitions by performing an intersection operation. According to one aspect, the program creation system generates subprograms so as to exclude tokens that are not represented by the input strings of the input-output examples. According to another aspect, the program creation system first generates the subprograms without attempting to generate loop-type expressions. If this operation produces unsatisfactory results, the program creation system repeats its processing, this time including loop-type expressions. According to another aspect, the program creation system performs the grouping operation using an expedited graph-intersection operation. According to another aspect, the program creation system ranks programs (which are created based on the results of the grouping operation) based on the presence of preferred features found in the program