Skip to content

Commit

Permalink
Update Tutorial on Using DESPOT with cpp model.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cindycia authored Mar 26, 2018
1 parent ed4611c commit 6123467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/cpp_model_doc/Tutorial on Using DESPOT with cpp model.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ Once a lower bound is added and the package is recompiled, the user can choose t
```
We refer to [/doc/Usage.txt](../Usage.txt) file for the usage of command line options.

## 2.4. Using a C++ Model
### 2.4. Using a C++ Model

Now we have coded a C++ model for the RockSample problem (the `SimpleRockSample` class). To let DESPOT access the c++ model, the user only need to implement the `InitializeModel` function in the `Planner` class ([despot/plannerbase.h](../../include/despot/plannerbase.h)):
```c++
Expand All @@ -568,7 +568,7 @@ In `InitializeModel`, one should create an instance of the C++ model and return

We will see later in Section 4 a concrete example of the `Planner` class.

## 2.5. Other Examples
### 2.5. Other Examples

See [examples/cpp_models](../../examples/cpp_models) for more model examples. We implemented the cpp models for Tiger [3], Rock Sample [2], Pocman [4], Tag [5], and many other tasks. It is highly recommended to check these examples to gain a better understanding on the possible implementations of specific model components.

Expand Down

0 comments on commit 6123467

Please sign in to comment.