File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -292,8 +292,10 @@ class KMeansPPClustering(Clustering):
292292``` yaml
293293SampleSearch :
294294 PathPlanning : adf_core_python.implement.module.algorithm.a_star_path_planning.AStarPathPlanning
295- Clustering : src.test-agent .module.algorithm.k_means_pp_clustering.KMeansPPClustering
295+ Clustering : src.<your_team_name> .module.algorithm.k_means_pp_clustering.KMeansPPClustering
296296
297297SampleHumanDetector :
298- Clustering : src.test-agent .module.algorithm.k_means_pp_clustering.KMeansPPClustering
298+ Clustering : src.<your_team_name> .module.algorithm.k_means_pp_clustering.KMeansPPClustering
299299` ` `
300+
301+ シミュレーションサーバーを起動して、エージェントを起動してください。エージェントが起動すると、標準出力にクラスタリング結果が表示されます。
Original file line number Diff line number Diff line change 1313まず、サーチモジュールを記述するためのファイルを作成します。
1414
1515``` bash
16- mkdir -p src/< your_team_name> /module/search
1716touch src/< your_team_name> /module/complex/k_means_pp_search.py
1817```
1918
@@ -29,14 +28,12 @@ from rcrs_core.entities.entity import Entity
2928from rcrs_core.entities.refuge import Refuge
3029from rcrs_core.worldmodel.entityID import EntityID
3130
32- from adf_core_python.core.agent.communication.message_manager import MessageManager
3331from adf_core_python.core.agent.develop.develop_data import DevelopData
3432from adf_core_python.core.agent.info.agent_info import AgentInfo
3533from adf_core_python.core.agent.info.scenario_info import ScenarioInfo
3634from adf_core_python.core.agent.info.world_info import WorldInfo
3735from adf_core_python.core.agent.module.module_manager import ModuleManager
3836from adf_core_python.core.component.module.algorithm.clustering import Clustering
39- from adf_core_python.core.component.module.algorithm.path_planning import PathPlanning
4037from adf_core_python.core.component.module.complex.search import Search
4138from adf_core_python.core.logger.logger import get_agent_logger
4239
You can’t perform that action at this time.
0 commit comments