From 528d7be197603635932d9816b09d89a21d910650 Mon Sep 17 00:00:00 2001 From: Laurianne Charrier <laurianne.charrier@hoomano.com> Date: Mon, 8 Apr 2019 16:00:29 +0200 Subject: [PATCH] Add Amelie comments --- src/InteractionTrace/InteractionTrace.js | 10 +++++----- src/MemoryRanked/RosMemoryRanked.js | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/InteractionTrace/InteractionTrace.js b/src/InteractionTrace/InteractionTrace.js index 65b3eb2..8c63019 100644 --- a/src/InteractionTrace/InteractionTrace.js +++ b/src/InteractionTrace/InteractionTrace.js @@ -296,10 +296,10 @@ class InteractionTrace extends Component { if (config && 'displayMode' in config) { if (config.displayMode === "readme") { return <div> - <h1>Understand what is happening inside the head of the agent</h1> - <h2>The <b>mood</b> represent the effect of the <b>valence</b> on the mood of the agent.<br></br> - Boredom<br></br> - Observe the evolution of the <b>actions</b> of the agent and their <b>intended</b> and <b>enacted</b> (actually obtained) <b>valences</b> </h2> + <h1>Trace of the reasoning process performed by the agent</h1> + <h2>The <b>mood</b> represents the effect of the <b>valence</b> on the mood of the agent.<br></br> + <b>Boredom</b><br></br> + Observe the evolution of the <b>interactions</b> performed by the agent. <b>Intended</b> interactions are the interactions the agent plans to perform whereas <b>enacted</b> interactions are the interactions actually performed in the physical world of the agent. An interaction is composed of an <b>action</b> and a <b>valence</b>, the valence being dependent of the response from the environment.</h2> </div>; } else if (config.displayMode === "settings") { return <div> @@ -316,7 +316,7 @@ class InteractionTrace extends Component { {/* Plot the valence of the intended and enacted interactions */} <MakeSVGComponents declarations={visualisations} xLayout={this.xLayout} yLayout={this.yLayout}/> - + {/* In debug mode, show bounding boxes */} {this.debugLines()} </svg>); diff --git a/src/MemoryRanked/RosMemoryRanked.js b/src/MemoryRanked/RosMemoryRanked.js index 70efa63..43bc9de 100644 --- a/src/MemoryRanked/RosMemoryRanked.js +++ b/src/MemoryRanked/RosMemoryRanked.js @@ -39,8 +39,8 @@ class RosMemoryRanked extends Component { if (config && 'displayMode' in config) { if (config.displayMode === "readme") { return <div> - <h1>Know what the agent is knowing</h1> - <h2>The agent knows the <b>valence</b> of the <b>actions</b> that it knows before exploring the world and then the <b>actions</b> that it makes, with their <b>occurency</b></h2> + <h1>Display the sequences of the interactions learnt by the agent</h1> + <h2>Each time the agent performs a <b>sequence of interactions</b> in the environment, it records the corresponding <b>valence</b> and stores it in the memory. Each record is called an <b>occurence</b> of the sequence.</h2> </div>; } else if (config.displayMode === "settings") { return <div> -- GitLab