Public Member Functions | Protected Attributes | List of all members
PathEngine::Optimizer Class Referenceabstract

経路最適化アルゴリズム実装用の抽象クラス More...

#include <Optimizer.h>

Inheritance diagram for PathEngine::Optimizer:
Inheritance graph
[legend]

Public Member Functions

virtual std::vector< Configurationoptimize (const std::vector< Configuration > &path)=0
 経路を最適化する More...
 
 Optimizer (PathPlanner *planner)
 コンストラクタ More...
 
virtual ~Optimizer ()
 デストラクタ More...
 

Protected Attributes

PathPlannerplanner_
 

Detailed Description

経路最適化アルゴリズム実装用の抽象クラス

新たなアルゴリズムを実装する場合はこのクラスを継承し、optimize()を実装する。

Definition at line 17 of file Optimizer.h.

Constructor & Destructor Documentation

PathEngine::Optimizer::Optimizer ( PathPlanner planner)
inline

コンストラクタ

Parameters
plannerPathPlannerへのポインタ

Definition at line 23 of file Optimizer.h.

virtual PathEngine::Optimizer::~Optimizer ( )
inlinevirtual

デストラクタ

Definition at line 28 of file Optimizer.h.

Member Function Documentation

virtual std::vector<Configuration> PathEngine::Optimizer::optimize ( const std::vector< Configuration > &  path)
pure virtual

経路を最適化する

Parameters
path元の経路
Returns
最適化された経路。

Implemented in PathEngine::RandomShortcutOptimizer, and PathEngine::ShortcutOptimizer.

Member Data Documentation

PathPlanner* PathEngine::Optimizer::planner_
protected

Definition at line 37 of file Optimizer.h.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:45