Skip to content
Merged
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
6 changes: 4 additions & 2 deletions docs/source/hands-on/clustering.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,10 @@ class KMeansPPClustering(Clustering):
```yaml
SampleSearch:
PathPlanning: adf_core_python.implement.module.algorithm.a_star_path_planning.AStarPathPlanning
Clustering: src.test-agent.module.algorithm.k_means_pp_clustering.KMeansPPClustering
Clustering: src.<your_team_name>.module.algorithm.k_means_pp_clustering.KMeansPPClustering

SampleHumanDetector:
Clustering: src.test-agent.module.algorithm.k_means_pp_clustering.KMeansPPClustering
Clustering: src.<your_team_name>.module.algorithm.k_means_pp_clustering.KMeansPPClustering
```

シミュレーションサーバーを起動して、エージェントを起動してください。エージェントが起動すると、標準出力にクラスタリング結果が表示されます。
3 changes: 0 additions & 3 deletions docs/source/hands-on/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
まず、サーチモジュールを記述するためのファイルを作成します。

```bash
mkdir -p src/<your_team_name>/module/search
touch src/<your_team_name>/module/complex/k_means_pp_search.py
```

Expand All @@ -29,14 +28,12 @@ from rcrs_core.entities.entity import Entity
from rcrs_core.entities.refuge import Refuge
from rcrs_core.worldmodel.entityID import EntityID

from adf_core_python.core.agent.communication.message_manager import MessageManager
from adf_core_python.core.agent.develop.develop_data import DevelopData
from adf_core_python.core.agent.info.agent_info import AgentInfo
from adf_core_python.core.agent.info.scenario_info import ScenarioInfo
from adf_core_python.core.agent.info.world_info import WorldInfo
from adf_core_python.core.agent.module.module_manager import ModuleManager
from adf_core_python.core.component.module.algorithm.clustering import Clustering
from adf_core_python.core.component.module.algorithm.path_planning import PathPlanning
from adf_core_python.core.component.module.complex.search import Search
from adf_core_python.core.logger.logger import get_agent_logger

Expand Down