Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/tasks/1_implement_behavior_component.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ tagline: "Task 1: Implement a Behavior Component"

Implement your first `checkInvocationCondition()` and `getCommand()` function, such that the ChaseGhost behavior component passes its unit tests.

<p align="center">
<img src="../assets/img/tutorial_scenario_ChaseGhost_cropped.png" width="300" />
</p>

## Context

Before we start building our arbitration graph, we want to take a closer look into behavior components.
Expand Down
7 changes: 7 additions & 0 deletions docs/tasks/2_extend_arbitration_graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ explicit PacmanAgent(const entt::Game& game)
rootArbitrator_->addOption(moveRandomlyBehavior_, PriorityArbitrator::Option::Flags::INTERRUPTABLE);
}
```

Your arbitration graph should now look like this:

<p align="center">
<img src="../assets/img/tutorial_arbitrator_ChaseGhost.png" width="500" />
</p>

</details>


Expand Down
2 changes: 2 additions & 0 deletions docs/tasks/3_nested_arbitrators.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ tagline: "Task 3: Nested arbitration graphs"

Integrate a long-term behavior and add another layer to the arbitration graph.

![](../assets/img/tutorial_arbitrator_EatDotsRandomly.png)

## Context

We have now implemented a behavior component and integrated it into the arbitration graph.
Expand Down
2 changes: 2 additions & 0 deletions docs/tasks/4_cost_arbitration.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ tagline: "Task 4: Arbitrate based on predicted utility"

Learn how the cost arbitrator can help you to arbitrate between behaviors based on their expected cost/utility.

![](../assets/img/tutorial_arbitrator_EatDotsByReward.png)

## Context

The `EatDot` arbitrator we added in the [previous task](3_nested_arbitrators.md) decides between the two dot eating strategies randomly.
Expand Down
2 changes: 2 additions & 0 deletions docs/tasks/5_verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ tagline: "Task 5: Better safe than sorry"

Execute only safe commands and add a fallback strategy.

![](../assets/img/tutorial_arbitrator_verification.png)

## Context

The arbitration graph is now complete and Pac-Man is eating dots like a pro.
Expand Down