MCPcopy Create free account
hub / github.com/LARG/HFO / initImpl

Method initImpl

src/sample_trainer.cpp:69–102  ·  view source on GitHub ↗

-------------------------------------------------------------------*/ ! */

Source from the content-addressed store, hash-verified

67
68 */
69bool
70SampleTrainer::initImpl( CmdLineParser & cmd_parser )
71{
72 bool result = TrainerAgent::initImpl( cmd_parser );
73
74#if 0
75 ParamMap my_params;
76
77 std::string formation_conf;
78 my_map.add()
79 ( &conf_path, "fconf" )
80 ;
81
82 cmd_parser.parse( my_params );
83#endif
84
85 if ( cmd_parser.failed() )
86 {
87 std::cerr << "coach: ***WARNING*** detected unsupported options: ";
88 cmd_parser.print( std::cerr );
89 std::cerr << std::endl;
90 }
91
92 if ( ! result )
93 {
94 return false;
95 }
96
97 //////////////////////////////////////////////////////////////////
98 // Add your code here.
99 //////////////////////////////////////////////////////////////////
100
101 return true;
102}
103
104/*-------------------------------------------------------------------*/
105/*!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected