wip
This commit is contained in:
parent
354dcfd341
commit
c6d33555ec
5 changed files with 25 additions and 9 deletions
|
|
@ -12,6 +12,7 @@ pub fn demo_model<E: Environment>(agent: impl Agent<E>) {
|
|||
if let Some(action) = agent.react(&state) {
|
||||
let snapshot = env.step(action);
|
||||
state = *snapshot.state();
|
||||
// println!("{:?}", state);
|
||||
done = snapshot.done();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue