发明名称 |
GENERATING A PREDICTIVE DATA STRUCTURE |
摘要 |
A method, apparatus, and/or computer program product generates a predictive data structure for an application when operating offline in a network connected data processing system, the application comprising source code having an execution path. The method comprises: determining an exit point within the source code of the application; determining, from the exit point, an execution path comprising at least one conditional statement; identifying one or more branches of the at least one identified conditional statement and for each identified branch determining an expected response; for each determined expected response, generating a data structure from the response; continuing along the execution path of the source code from the exit point and replacing each request for a resource in the source code with a pointer to the generated data structure; and executing the source code with the pointer to the generated data structure from the determined exit point. |
申请公布号 |
US2017060549(A1) |
申请公布日期 |
2017.03.02 |
申请号 |
US201615352787 |
申请日期 |
2016.11.16 |
申请人 |
International Business Machines Corporation |
发明人 |
Fletcher Benjamin J. |
分类号 |
G06F9/45;G06F9/445;G06F9/44 |
主分类号 |
G06F9/45 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for generating a predictive data structure for an application when operating offline in a network connected data processing system, the application comprising source code having an execution path, the method comprising:
determining an exit point within the source code of the application; determining from the exit point, an execution path comprising at least one conditional statement; identifying one or more branches of the at least one identified conditional statement and for each identified branch determining an expected response; for each determined expected response, generating a data structure from the response; continuing along the execution path of the source code from the exit point and replacing each request for a resource in the source code with a pointer to the generated data structure; and executing the source code with the pointer to the generated data structure from the determined exit point. |
地址 |
Armonk NY US |