From 310c563487a50f9a81cc1ea638ed2f6e9addf79b Mon Sep 17 00:00:00 2001 From: Yangchen Liu <80299732+Tim-lalal@users.noreply.github.com> Date: Fri, 3 Nov 2023 15:20:48 +1100 Subject: [PATCH] Novelty Vizualization with Planimation plugin --- .../NoveltyVizPlugin.js | 904 ++++++++++++++++++ .../README.md | 29 + 2 files changed, 933 insertions(+) create mode 100644 editor.domains-NoveltyVizPlanimation/NoveltyVizPlugin.js create mode 100644 editor.domains-NoveltyVizPlanimation/README.md diff --git a/editor.domains-NoveltyVizPlanimation/NoveltyVizPlugin.js b/editor.domains-NoveltyVizPlanimation/NoveltyVizPlugin.js new file mode 100644 index 0000000..771b0e3 --- /dev/null +++ b/editor.domains-NoveltyVizPlanimation/NoveltyVizPlugin.js @@ -0,0 +1,904 @@ +// Tree Globals +var stateCounter, graph, treemap, svg, duration, treeData, treeHeight, goTree = true, heurMax = 0; +var root, d3, zoom, viewerWidth, viewerHeight; + +// novelty globals +var actions, fluents, heurdata; + +var UNFOLD_LIMIT = 15; +//Code review test +// novelty variables +var noveltyTable = [] +var FullyDefined = 0 +var listOfFacts = [] +var currStatusName = "" +var currMatchedDict = {} +// File choosing model +var HVIZ_PLANIMATION_MODEL = ` + +