# History **Repository Path**: sirius777/History ## Basic Information - **Project Name**: History - **Description**: HiStory: A GIS-Based Narrative Modelling Framework and System - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-06 - **Last Updated**: 2023-12-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # HiStory: A GIS-Based Narrative Modelling Framework and System ## Time Inference Algorithm ### Contents | No. | Item | Description | | :---: |:-------------------------------------------------------------|:-------------------------------------------------------------------------------| | 1 | [time_inference_algorithm.js](./time_inference_algorithm.js) | Implementiation of Time Inference Algorithm. | | 2 | [time_inference_algorithm.html](./time_inference_algorithm.html) | Visualization of the custom hierarchical event-action tree of narrative model. | | 3 | [scenetreedata.js](./scenetreedata.js) | Custom structured test data. | ### Before you start * Customize your hierarchical event-action tree narrative model in a structured JSON array format in [scenetreedata.js](./scenetreedata.js). For example, you can change the **delay** and the **duration** attribute of an **Atom Event** in its parent graph. * Open [time_inference_algorithm.html](./time_inference_algorithm.html) in a web browser, and press F12 to open the Developer Tools. * Press the **SourceData** button in the web page, then the custom JSON formatted test data will be outputted in the Developer Tools console. * Press the **Time Inference button**, test results from the executed time inference algorithm is displayed.