Commit 6c4352ff authored by Laurianne Charrier's avatar Laurianne Charrier Committed by Dorian Goepp

Add Amelie comments

parent a8bd23e0
......@@ -34,6 +34,24 @@ class RosMemoryRanked extends Component {
}
render () {
const config = this.props.node.getConfig()
if (config && 'displayMode' in config) {
if (config.displayMode === "readme") {
return (
<div>
<h1>Display the sequences of the interactions learnt by the agent</h1>
<p>
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.
</p>
</div>);
} else if (config.displayMode === "settings") {
return <div>
<p>config panel</p>
</div>;
}
}
return <MemoryRanked data={this.state.data} xLabel={this.state.xLabel} yLabel={this.state.yLabel} {...this.props}/>
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment