When cost or constraint element of JSON doc is read, one of these guys gets constructed to hold the parameters. More...
#include <problem_description.hpp>
Public Types | |
typedef TermInfoPtr(* | MakerFunc )(void) |
Registers a user-defined TermInfo so you can use your own cost see function RegisterMakers.cpp. | |
Public Member Functions | |
virtual void | fromJson (const Json::Value &v)=0 |
virtual void | hatch (TrajOptProb &prob)=0 |
Static Public Member Functions | |
static TermInfoPtr | fromName (const string &type) |
static void | RegisterMaker (const std::string &type, MakerFunc) |
Public Attributes | |
string | name |
TermType | term_type |
When cost or constraint element of JSON doc is read, one of these guys gets constructed to hold the parameters.
Then it later gets converted to a Cost object by the hatch method